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
Error, when Capacitor v5 (angular) project has capacitor.config.ts file (but not a JSON file). When running the Windows executable, or when running the command:
npx electron .\build\src\index.js
I get the error:
Error: ENOENT: no such file or directory, open 'C:\FOLDER\electron\build\src\capacitor.config.json"
This is after necessary changes were made to run everything as ESModules.
Describe the bug
Error, when Capacitor v5 (angular) project has capacitor.config.ts file (but not a JSON file). When running the Windows executable, or when running the command:
I get the error:
Error: ENOENT: no such file or directory, open 'C:\FOLDER\electron\build\src\capacitor.config.json"
This is after necessary changes were made to run everything as ESModules.
package.json
tsconfig.json
After running "electron:pack", i can see in the ./build folder that a capacitor.config.js file is present, but not the .json file.
I am guessing that the search for "capacitor.config.json" is hard-coded?
The text was updated successfully, but these errors were encountered: