Hi
We have a private npm repository hosted for some of our npm packages(proget).
Running below command throws an error.
- run:
name: Login to Proget - mobile component
command: echo -e $“$NPM_USER\n$NPM_PASS\n$NPM_EMAIL” | npm login
Error:
#!/bin/bash -eo pipefail echo -e "$NPM_USER\n$NPM_PASS\n$NPM_EMAIL" | npm login Username: {my username} Password: npm ERR! cb() never called! npm ERR! This is an error with npm itself. Please report this error at: npm ERR! <https://github.com/npm/npm/issues>
It read username from environment variable but fails at password.
Any suggestions would be helpful here.