bitcrowd / tickety-tick

A browser extension that helps you name branches and write better commit messages
MIT License
58 stars 11 forks source link

Fix "node binary" build warnings #174

Closed pmeinhardt closed 5 years ago

pmeinhardt commented 5 years ago

There was a warning when executing package.json scripts that used npm run to execute other scripts. This is fixed by using run-s from npm-run-all instead.

tickety-tick ❯ yarn bundle:chrome
yarn run v1.16.0
$ cross-env BUNDLE=true npm run build:chrome
npm WARN lifecycle The node binary used for scripts is /var/folders/95/l40glm311hl4w31f8c2n3g6h0000gn/T/yarn--1560718780495-0.6512468251304615/node but npm is using /usr/local/Cellar/node/12.4.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> tickety-tick@3.1.0 build:chrome /Users/pmeinhardt/Code/bitcrowd/tickety-tick
> cross-env VARIANT=chrome webpack --mode=production --config webpack.webext.babel.js
…