Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

npm start with custom command failing. #2

Open
JimtotheB opened this issue Feb 29, 2016 · 0 comments
Open

npm start with custom command failing. #2

JimtotheB opened this issue Feb 29, 2016 · 0 comments

Comments

@JimtotheB
Copy link

npm start is inserting a shell line break in the exec line of the upstart service on ubuntu 14.04 on aws, running node v0.12.10, and npm v2.14.9, for non standard npm script command. ie: 'npm run deploy'

  npm_start do
    command 'run deploy'
    user 'www-data'
    action [:stop, :enable, :start]
  end

creates the line exec /opt/nodejs-0.12.10/bin/node /opt/nodejs-0.12.10/bin/npm run/ deploy in the generated .conf file. npm chokes on the added /

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

No branches or pull requests

1 participant