Closed serg06 closed 2 years ago
I created a project using this template and immediately ran yarn build. I got this:
downloading [====================] 100% 0.0s C:\repo\electron-comparisons\nwjs\app\node_modules\nw-react-scripts\scripts\build.js:19 throw err; ^ [Error: EPERM: operation not permitted, symlink 'Versions\Current\Helpers' -> 'C:\repo\electron-comparisons\nwjs\app\cache\0.59.1-normal\osx64\nwjs-v0.59.1-osx-x64\nwjs.app\Contents\Frameworks\nwjs Framework.framework\Helpers'] { errno: -4048, code: 'EPERM', syscall: 'symlink', path: 'Versions\\Current\\Helpers', dest: 'C:\\repo\\electron-comparisons\\nwjs\\app\\cache\\0.59.1-normal\\osx64\\nwjs-v0.59.1-osx-x64\\nwjs.app\\Contents\\Frameworks\\nwjs Framework.framework\\Helpers' }```
If you haven't solved this issue already, this looks like a permissions issue. You need to run yarn build from a terminal with Run As Administrator privileges.
yarn build
Run As Administrator
@dynamite-ready that worked, thanks.
I created a project using this template and immediately ran yarn build. I got this: