npm-install

How can I install package from private repository using docker

为君一笑 提交于 2020-08-20 11:20:52
问题 I am installing a package from my private repository. I am able to install it using: npm i -S git+https://oauth2:XXXXXXX@gitlab.com/mygroup/acl-api.git I am using docker container but while installation process I am getting an error: npm ERR! path git npm ERR! code ENOENT npm ERR! errno ENOENT npm ERR! syscall spawn git npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t https://oauth2:XXXXXXX@gitlab.com/mygroup/acl-api.git npm ERR! enoent npm ERR! enoent npm ERR!

how can i solve npm ERR! error:0909006C:PEM in Node.js?

♀尐吖头ヾ 提交于 2020-08-19 10:19:45
问题 I'm new to Node.js. I tried to add RethinkDB module to my project, but I got: npm error:0909006C:PEM routines:get_name:no start line error. I don't use a proxy, tried uninstalling/reinstalling Node.js, and changing the registry from the solutions I found online, but none of them worked. 回答1: type this line npm set registry http://registry.npmjs.org/ and after that try again I assume that your certificate is expired 回答2: that what solved for me on windows , cmd: ssh-keygen -t rsa -b 4096 -m