You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A JavaScript error occurred in the main process
Uncaught Exception:
Error: ENOTDIR, not a directory
at createError (node:electron/js2c/nodeinit:2:1750)
at t.mkdirSync (node:electron/js2c/node _init:2:12896)
at exports.initFileConf
(D:\software\localServer\resources\app.asar\bin\initCOnf.js:10:12)
at Object.<anonymous>
(D:\software\localServer\resources\app.asar\scripts\ipcHandler.js:27:1)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions.js (node:internal/modules/cjs/loader:1311:10)
at Module.load (node:internal/modules/cjs/loader:1098:32)
at Module. load (node:internal/modules/cjs/loader:945:12)
at c. load (node:electron/js2c/node_init:2:13672)
at Module.require (node:internal/modules/cjs/loader:1122:19)
使用 electron . 可正常运行项目,但是通过electron-builder 打包后就出现了这个问题
我在main.js中引入了一个执行创建目录的函数
The text was updated successfully, but these errors were encountered:
使用
electron .
可正常运行项目,但是通过electron-builder 打包后就出现了这个问题我在main.js中引入了一个执行创建目录的函数
The text was updated successfully, but these errors were encountered: