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: command not found #41

Open
sprucify opened this issue Jul 1, 2017 · 2 comments
Open

npm: command not found #41

sprucify opened this issue Jul 1, 2017 · 2 comments

Comments

@sprucify
Copy link

sprucify commented Jul 1, 2017

I would like to setup an angular deploy.
No matter the executor I select (shell or docker) I get the following output.

`gitlab-ci-multi-runner 1.1.4 (9e2fd1a)
WARNING: image is not supported by selected executor and shell
Using Shell executor...
Running on 6687502ce71f...
Fetching changes...
HEAD is now at 42e9d51 Update .gitlab-ci.yml
Checking out 42e9d511 as master...
HEAD is now at 42e9d51... Update .gitlab-ci.yml
Checking cache for default...
$ npm prune
bash: line 56: npm: command not found

ERROR: Build failed: exit status 1`

@digitalLumberjack
Copy link
Collaborator

@sprucify
Copy link
Author

sprucify commented Jul 4, 2017

I'm not familiar yet what the best practice is for Angular projects.
Almost all project examples are Ruby based.

User gitlab_ci_multi_runner is also not a sudoer, so things like sudo npm install can not be done.

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

2 participants