create-nw-react-app icon indicating copy to clipboard operation
create-nw-react-app copied to clipboard

Yarn build failed with error no 4048

Open sumitgpl opened this issue 2 years ago • 2 comments

without any default code changes, just execute yarn build to see how build will be..getting below error. Building on windows 11.

[Error: EPERM: operation not permitted, symlink 'Versions\Current\Resources' -> 'x:\app\cache\0.76.0-normal\osx64\nwjs-v0.76.0-osx-x64\nwjs.app\Contents\Frameworks\nwjs Framework.framework\Resources'] { errno: -4048, code: 'EPERM', syscall: 'symlink', path: 'Versions\Current\Resources', dest: 'x:\app\cache\0.76.0-normal\osx64\nwjs-v0.76.0-osx-x64\nwjs.app\Contents\Frameworks\nwjs Framework.framework\Resources' } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

sumitgpl avatar May 13 '23 09:05 sumitgpl

new update ...

after removing mox from "platforms" under packages.json. Its working!

sumitgpl avatar May 13 '23 09:05 sumitgpl

@sumitgpl It could be a permissions issue. Please try running the command with administrator privileges.

For Windows PowerShell -> Run as Administrator

naviapis avatar May 14 '23 03:05 naviapis