ENOENT: no such fule or directory, lstat '.../node_modules/@types/electron/node_modules/electron/dist/.../default_app.js'
我的项目里面是没有用到electron的, 即使utools用到了, 打包时也应该找node_modules/electron, 而不是node_modules/@types/electron中吧?
electron
utools
node_modules/electron
node_modules/@types/electron
原来是因为utools打包时会将plugin.json所在目录整个打包(而非仅是plugin.json中所声明文件)
plugin.json
你好!我更新插件,安装插件都不行,显示的情况和你一样, ENOENT: no such file or directory, 该怎么办呢?感谢回复!