-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【3.5.0】cant get https://gitlab.cocos.net/publics/runtime-web-adapter #10997
Comments
@PPpro is it really fixed? this is from the "postinstall" and "build" npm runs. What do you suggest to do to fix this? |
This 2 PR doesn't fix the issue you mentioned, it fix the error like:
And sorry the issue you mentioned is not easy to solve at present :( This issue could be solved after engine modularization,which is a long term task |
All these log should be warning messages to generate cc.d.ts, I am not quite sure what issue you encounter when you are running the engine ? |
@PPpro Thanks for your swift responses! |
@PPpro Here is from the terminal |
@Ronsku Oh, sorry, we have not maintained the playground for a long time, the For now, if you want to run the custom engine, you can try on the docs Engine Customization Workflow |
@PPpro ahaa, I see. Thanks! |
Oh my god. I was trying to figure out how to run playground with no luck. Maybe we should warning devs somewhere before they came into this issue. |
Cocos Creator version
3.5.0
System information
mac and win11
Issue description
F:\work\cocos-engine>npm install
[00:38:41] Using gulpfile F:\work\cocos-engine\gulpfile.js
[00:38:41] Starting 'build-debug-infos'...
[00:38:41] Finished 'build-debug-infos' after 18 ms
[00:38:41] Using gulpfile F:\work\cocos-engine\gulpfile.js
[00:38:41] Starting 'build-declarations'...
Typescript version: 4.3.5
With index: true
With exports: false
With editor exports: true
Generating...
F:\work\cocos-engine\tsconfig.json (15,5): Option 'outFile' cannot be specified with option 'isolatedModules'.
Bundling...
Failed to resolve type import("cocos/core/gfx").Texture, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").Sampler, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").SamplerInfo, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").BlendFactor, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").BlendFactor, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").BlendFactor, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").BlendFactor, There is no symbol info.
Failed to resolve type import("cocos/core").Size, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").BlendFactor, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").BlendFactor, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").BlendFactor, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").BlendFactor, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").Attribute, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").Attribute, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").Attribute, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").Attribute, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").Attribute, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").Attribute, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").Attribute, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").InputAssembler, There is no symbol info.
Failed to resolve type import("cocos/core/math").Size, There is no symbol info.
Failed to resolve type import("cocos/core/gfx").DescriptorSetLayout, There is no symbol info.
Failed to resolve type import("cocos/core/renderer/scene").Camera, There is no symbol info.
Failed to resolve type import("cocos/core/renderer/scene").Camera, There is no symbol info.
Culling interface: 965.797ms
[00:39:02] Finished 'build-declarations' after 21 s
Checking ral file...
Cleaning old runtime adapter...
Remove ral directory: 'F:/work/cocos-engine/scripts/runtime-web-adapter'
Running command: 'git clone https://gitlab.cocos.net/publics/runtime-web-adapter' in 'F:/work/cocos-engine/scripts/runtime-web-adapter'
Cloning into 'runtime-web-adapter'...
fatal: unable to access 'https://gitlab.cocos.net/publics/runtime-web-adapter/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to gitlab.cocos.net:443
Running command: 'git checkout for-creator-3' in 'F:/work/cocos-engine/scripts/runtime-web-adapter'
Running command: 'git reset --hard 03196a40cf71174662ae36c25954ea3761320738' in 'F:/work/cocos-engine/scripts/runtime-web-adapter'
Running command: 'npm install' in 'F:/work/cocos-engine/scripts/runtime-web-adapter'
Running command: 'gulp' in 'F:/work/cocos-engine/scripts/runtime-web-adapter'
Copy files from 'F:/work/cocos-engine/scripts/runtime-web-adapter' to 'F:/work/cocos-engine/platforms/runtime'
Fetch ral failed Error: ENOENT: no such file or directory, copyfile 'F:/work/cocos-engine/scripts/runtime-web-adapter/dist/common/web-adapter.js' -> 'F:/work/cocos-engine/platforms/runtime/common/web-adapter.js'
at Object.copyFileSync (fs.js:1991:3)
at F:\work\cocos-engine\scripts\fetch-ral.js:90:12
at Array.forEach ()
at copyRal (F:\work\cocos-engine\scripts\fetch-ral.js:87:46)
at F:\work\cocos-engine\scripts\fetch-ral.js:153:9 {
errno: -4058,
syscall: 'copyfile',
code: 'ENOENT',
path: 'F:/work/cocos-engine/scripts/runtime-web-adapter/dist/common/web-adapter.js',
dest: 'F:/work/cocos-engine/platforms/runtime/common/web-adapter.js'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] fetch-ral:
node ./scripts/fetch-ral.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] fetch-ral script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ankye\scoop\persist\nodejs\cache_logs\2022-05-07T16_40_29_183Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall:
gulp build-debug-infos && gulp build-declarations && npm run fetch-ral && npm run install:typedoc-plugin
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ankye\scoop\persist\nodejs\cache_logs\2022-05-07T16_40_29_240Z-debug.log
Relevant error log output
No response
Steps to reproduce
get the code and then npm install
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: