npm missing start script

271 views
Skip to first unread message

fugee ohu

unread,
Sep 18, 2019, 3:26:05 PM9/18/19
to Ruby on Rails: Talk
Trying to install an npm package; Should I run npm install <package> from app/assets/javascripts or from / ? When I run npm start the error I get is missing start script

Jake Niemiec

unread,
Sep 18, 2019, 3:38:02 PM9/18/19
to rubyonra...@googlegroups.com
`npm start` simply looks inside a property in package.json called "scripts" for a property called "start". 

Example: "scripts": {"start": "./scripts/run_script.sh"}


On Wed, Sep 18, 2019 at 2:26 PM fugee ohu <fuge...@gmail.com> wrote:
Trying to install an npm package; Should I run npm install <package> from app/assets/javascripts or from / ? When I run npm start the error I get is missing start script

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/50f27d17-66f0-466b-a7a5-a9786b910165%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages