No such directory "@commitlint/utils/xo" error on Node 4 and 6 #259
Closed
Description
Expected Behavior
Installs normally
Current Behavior
npm ERR! argv "/home/travis/.nvm/versions/node/v6.12.3/bin/node" "/home/travis/.nvm/versions/node/v6.12.3/bin/npm" "install"
npm ERR! node v6.12.3
npm ERR! npm v3.10.10
npm ERR! path /home/travis/build/json-schema-keyref/node_modules/@commitlint/utils/xo
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/travis/build/json-schema-keyref/node_modules/@commitlint/utils/xo'
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/travis/build/json-schema-keyref/node_modules/@commitlint/utils/xo'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
Affected packages
- cli
- core
- prompt
- config-angular
Possible Solution
Steps to Reproduce (for bugs)
- Start with a Node.js version at or below 6.x
- Run
npm install @commitlint/cli
Context
This is causing CI running on Node 4 and 6 to fail.
Your Environment
Linux with Node 6: https://travis-ci.org/ChristianMurphy/json-schema-keyref/jobs/335754857
Linux with Node 4: https://travis-ci.org/ChristianMurphy/json-schema-keyref/jobs/335754858
Windows with Node 6: https://ci.appveyor.com/project/ChristianMurphy/postcss-combine-duplicated-selectors/build/job/tcynw7favtr068en
Executable | Version |
---|---|
commitlint --version |
6.0.3 |
git --version |
2.16.1 |
node --version |
6.12.3 |