求助帖子
运行electron项目时出现种错误:
App threw an error during load
Error: Cannot find module 'signale'
Require stack:
- E:\Workspace\ElectronWorkspace\edex-ui-master\src\_boot.js
- E:\Workspace\ElectronWorkspace\edex-ui-master\node_modules\[email protected]@electron\dist\resources\default_app.asar\main.js
-
at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
at Function.n._resolveFilename (electron/js2c/browser_init.js:261:1128)
at Module._load (internal/modules/cjs/loader.js:732:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (E:\Workspace\ElectronWorkspace\edex-ui-master\src\_boot.js:1:17)
at Module._compile (internal/modules/cjs/loader.js:1078:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
at Module.load (internal/modules/cjs/loader.js:935:32)
失败解决方案:
需要导入module包
问题是我不会导入aaa