Skip to content

Instantly share code, notes, and snippets.

@eddie
Created February 24, 2015 14:53
Show Gist options
  • Select an option

  • Save eddie/431c231d59e30fa031b7 to your computer and use it in GitHub Desktop.

Select an option

Save eddie/431c231d59e30fa031b7 to your computer and use it in GitHub Desktop.
Binary is fine; exiting
npm ERR! EEXIST, open '/home/ubuntu/.npm/c2407a7f-ntu-npm-lodash-2-4-1-package-tgz.lock'
File exists: /home/ubuntu/.npm/c2407a7f-ntu-npm-lodash-2-4-1-package-tgz.lock
Move it away, and try again.
npm ERR! System Linux 3.2.0-54-virtual
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /pipeline/build
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! path /home/ubuntu/.npm/c2407a7f-ntu-npm-lodash-2-4-1-package-tgz.lock
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! not ok code 0
box: wercker/nodejs
# Build definition
build:
# The steps that will be executed on build
steps:
# A step that executes `npm install` command
- script:
name: npm install
code: npm install
- script:
name: unit tests
code: npm test
# A custom script step, name value is used in the UI
# and the code value contains the command that get executed
- script:
name: echo nodejs information
code: |
echo "node version $(node -v) running"
echo "npm version $(npm -v) running"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment