Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Crash when rebuilding linked dependency #248

Open
chojje opened this issue May 14, 2020 · 1 comment
Open

Crash when rebuilding linked dependency #248

chojje opened this issue May 14, 2020 · 1 comment

Comments

@chojje
Copy link

chojje commented May 14, 2020

I have linked a dependency of my app using npm link in my-dep and running npm link my-dep in the app. Starting the app with npm start works fine, but when I run npm run build to rebuild the dependency while the server is running, it crashes with the following error messages

events.js:174
      throw er; // Unhandled 'error' event
      ^

Error: EPERM: operation not permitted, stat '<dep-path>\dist\cwm'
Emitted 'error' event at:
    at FSWatcher._handleError (<app-path>\node_modules\budo\node_modules\chokidar\index.js:260:10)
    at FSWatcher.<anonymous> (<app-path>\node_modules\budo\node_modules\chokidar\lib\nodefs-handler.js:470:14)
    at FSReqWrap.oncomplete (fs.js:153:21)

What might cause this issue?

@ccysmd
Copy link

ccysmd commented Jul 20, 2021

Don't put your files under Administrator, put them at the desktop or D drive or other ordinary folders

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants