Getting Error EBUSY: resource busy or locked

前端 未结 7 1488
南笙
南笙 2021-02-15 15:41

Trying to run a Nodejs app to test Raspberry 3 B + Gpio Onoff Module but when i am trying to run the app getting this Error

fs.js:114
throw err;

Error: EBUSY: r         


        
7条回答
  •  旧巷少年郎
    2021-02-15 16:11

    If you are on windows.

    Try running your bash window as Administrator.

    For example, in my case, I was using git bash.

    Search on windows "Gitbash" (or any other command-line window) -> Right-click -> Run as Administrator. Worked for me.

提交回复
热议问题