CocosTechLabs / flappy-bird

MIT License
10 stars 11 forks source link

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

Open zgbjmy2009 opened 3 months ago

zgbjmy2009 commented 3 months ago
  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: