By default does travis install npm packages using package.json globally or locally? By some packages there can be differences, that's why I am asking.
The npm install command will install them locally. (If you read the log expanding the git clone ... part, you'll see that it cd username/repo then it will launch the npm install command).
If you need some packages installed globally, add this to your .travis.yml file:
before_install:
- npm install -g your-package-name
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With