Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

NPM cannot install module, permission denied with mkdir #50

Open
cherishman2005 opened this issue Jan 15, 2022 · 1 comment
Open

NPM cannot install module, permission denied with mkdir #50

cherishman2005 opened this issue Jan 15, 2022 · 1 comment

Comments

@cherishman2005
Copy link
Owner

cherishman2005 commented Jan 15, 2022

info install if you want to use an own OpenCV installation set OPENCV4NODEJS_DISABLE_AUTOBUILD
info readAutoBuildFile file does not exists: /data/services/nodejs/face_detection/node_modules/opencv-build/opencv/auto-build.json /data/services/nodejs/face_detection/node_modules/opencv-build/opencv/auto-build.json
info install failed to find auto-build.json: /data/services/nodejs/face_detection/node_modules/opencv-build/opencv/auto-build.json
info install 
info install running install script...
info install 
info install opencv version: 3.4.1
info install with opencv contrib: yes
info install custom build flags: 
info install 
info install executing: git --version
info install git --version: git version 2.7.4
info install 
info install executing: cmake --version
info install cmake --version: cmake version 3.5.1
info install 
info install CMake suite maintained and supported by Kitware (kitware.com/cmake).
info install 
info install installing opencv version 3.4.1 into directory: /data/services/nodejs/face_detection/node_modules/opencv-build/opencv
ERR! Error: Command failed: mkdir -p opencv
mkdir: cannot create directory ‘opencv’: Permission denied
 
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node ./install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-01-15T14_54_24_892Z-debug.log
@cherishman2005
Copy link
Owner Author

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

No branches or pull requests

1 participant