PS C:\Windows\system32> npm install -g opencv4nodejs
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\\Users\\deepakv\\AppData\\Roaming\\npm\\node_modules\\opencv4nodejs',
npm WARN cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\deepakv\AppData\Roaming\npm\node_modules\opencv4nodejs\node_modules\opencv-build'] {
npm WARN cleanup errno: -4082,
npm WARN cleanup code: 'EBUSY',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\\Users\\deepakv\\AppData\\Roaming\\npm\\node_modules\\opencv4nodejs\\node_modules\\opencv-build'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\Users\deepakv\AppData\Roaming\npm\node_modules\opencv4nodejs
Installed Node Version : v14.17.1 Python Version: 2.7 Appium: 1.21.0
npm install
again. This time got one directory that failed to remove. The error isebusy
so maybe if I tried again it would not be busy. Rannpm install
again and no error message. – Oersted