mint-metrics / mojito-js-delivery

🧪 Source-controlled JS split testing framework for building and launching A/B tests.
https://mojito.mx/docs/js-delivery-intro
Other
16 stars 29 forks source link

Fix: Set Pipelines npm config to root user #103

Closed kingo55 closed 2 years ago

kingo55 commented 2 years ago

On new Bitbucket Pipelines docker images, builds now fail when installing gulp as a global package:

npm install -g gulp-cli

With error message:

sh: 1: node: Permission denied
npm ERR! Maximum call stack size exceeded

Specifying npm -g config set user root before installing global packages fixes this issue.