I was able to setup testing node.js on Circle 2.0 for our server-side projects, but when trying to run tests for our React.js app I’m getting the following error:
npm WARN package.json firstname.lastname@example.org No license field. npm WARN prefer global email@example.com should be installed with -g npm ERR! Linux 3.13.0-129-generic npm ERR! argv "/opt/circleci/nodejs/v4.2.6/bin/node" "/opt/circleci/nodejs/v4.2.6/bin/npm" "install" npm ERR! node v4.2.6 npm ERR! npm v2.14.12 npm ERR! code EPEERINVALID npm ERR! peerinvalid The package firstname.lastname@example.org does not satisfy its siblings' peerDependencies requirements! npm ERR! Please include the following file with any support request: npm ERR! /home/ubuntu/betterpt-web-app/npm-debug.log npm install returned exit code 1 Action failed: npm install
I’m using the
EDIT: I discovered that the issue is that regardless of which node.js container I use, it is always building the project with node v4.26 which is not compatible with one of the packages the project is using.