Skip to content
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

client build finish, but in cocos editor ,have many Error, this package need install to these folder? #3

Open
gedageda opened this issue Jul 19, 2024 · 0 comments

Comments

@gedageda
Copy link

  1. The plug-in main process failed to load. Error: Cannot find module 'D:\2024\cocosdemo\flappy-bird\client\extensions\cocos-telegram-miniapps\dist\main.js'
    Require stack:
  • D:\cocosdown\Creator\3.8.3\resources\app.asar\node_modules@editor\package\dist\browser\package.ccc
  • D:\cocosdown\Creator\3.8.3\resources\app.asar\node_modules@editor\package\dist\browser\index.js
  • D:\cocosdown\Creator\3.8.3\resources\app.asar\node_modules@editor\package\index.js
  • D:\cocosdown\Creator\3.8.3\resources\app.asar\node_modules@editor\creator\dist\startup\protected\browser\index.ccc
  • D:\cocosdown\Creator\3.8.3\resources\app.asar\node_modules@editor\creator\dist\startup\protected\index.ccc
  • D:\cocosdown\Creator\3.8.3\resources\app.asar\node_modules@editor\creator\dist\startup\index.ccc
  • D:\cocosdown\Creator\3.8.3\resources\app.asar\node_modules@editor\creator\dist\init.ccc
  • D:\cocosdown\Creator\3.8.3\resources\app.asar\node_modules@editor\creator\index.js
  • D:\cocosdown\Creator\3.8.3\resources\app.asar\index.js

at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
at n._resolveFilename (electron/js2c/browser_init.js:257:921)
at Function.Module._resolveFilename (D:\cocosdown\Creator\3.8.3\resources\app.asar\node_modules@editor\creator\index.js:8:24)
at Function._resolveFilename (D:\cocosdown\Creator\3.8.3\resources\app.asar\node_modules\cc\preload.ts:109:46)
at Module._load (internal/modules/cjs/loader.js:732:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function._load (D:\cocosdown\Creator\3.8.3\resources\app.asar\node_modules\cc\preload.ts:127:35)
at Module.require (internal/modules/cjs/loader.js:959:19)
at o (D:\cocosdown\Creator\3.8.3\resources\app.asar\node_modules@editor\creator\dist\require.js:1:2742)
at Package._init (D:\cocosdown\Creator\3.8.3\resources\app.asar\node_modules@editor\package\dist\browser\package.ccc:1:2523)

2.[Scene] Error: Error: 以 file:///D:/2024/cocosdemo/flappy-bird/client/assets/flappybird/scripts/FlappyBirdLite.ts 为起点找不到模块 "@ton/cocos-sdk"

3.[Scene] Error: Error: 以 file:///D:/2024/cocosdemo/flappy-bird/client/assets/flappybird/scripts/ToolsView.ts 为起点找不到模块 "@ton/cocos-sdk"

4.[Scene] Script "005f9OFOEZNWqyXICbdhSjI" attached to "Game" is missing or invalid. Detailed information:

  1. [Scene] Class "874acV7CphGFoiviIgCenwz" used by component "005f9OFOEZNWqyXICbdhSjI" is missing or invalid. Detailed information:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant