`npm start` simply looks inside a property in package.json called "scripts"
for a property called "start".
Example: "scripts": {"start": "./scripts/run_script.sh"}
Doc: https://docs.npmjs.com/cli/run-script
On Wed, Sep 18, 2019 at 2:26 PM fugee ohu <[email protected]> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/50f27d17-66f0-466b-a7a5-a9786b910165%40googlegroups.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/50f27d17-66f0-466b-a7a5-a9786b910165%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/CALn2xuC8FMEa7gpL823vh6ZaEswMcR%2Br%3D-BOHgd_5iCETp0C1Q%40mail.gmail.com.