mattdesl / budo

:clapper: a dev server for rapid prototyping
MIT License
2.17k stars 106 forks source link

Crash when rebuilding linked dependency #248

Open chojje opened 4 years ago

chojje commented 4 years ago

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 commented 3 years ago

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