N
Nuxt4w ago
SunTzu

Nuxt-electron

Hi, i am trying to use nuxt-electron. I followed the tutorial however when I run the command
yarn main
yarn main
it doesn't seem to work? I get this error;
yarn main
yarn run v1.22.22
$ dist-electron/main.js
/bin/sh: dist-electron/main.js: Permission denied
error Command failed with exit code 126.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn main
yarn run v1.22.22
$ dist-electron/main.js
/bin/sh: dist-electron/main.js: Permission denied
error Command failed with exit code 126.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I also changed yarn build to this;
"build": "nuxt build --prerender && electron-builder",
"build": "nuxt build --prerender && electron-builder",
and this results in the pasted error here; any ideas?
1 Reply
danielroe
danielroe4w ago
chmod +x dist-electron/main.js
chmod +x dist-electron/main.js
might that help?
Want results from more Discord servers?
Add your server