npm install error version 2.6.2
Opened this issue · 1 comments
How can this bug be reproduced?
Hoping someone can help here...Recently switched from Mac to PC and have setup WSL following these instructions for getting node setup with nvm: https://daverupert.com/2018/04/developing-on-windows-with-wsl-and-visual-studio-code/
I've got node 6.11.2 running and npm 3.10.10 which are the same versions that were running on my Mac.
I have two projects from FoundationPress 2.6.2 that I need to continue to maintain and I've cloned the repos for them into my wordpress theme folder (no node_modules are in the repo). When I run npm install I get the following errors:
Please List the Following:
- OS & version: Windows 10
- Node version (node -v) [Node v4+ is required] : 6.11.2
- FoundationPress version (see line 3 in package.json): 2.6.2
npm ERR! Linux 4.4.0-17134-Microsoft
npm ERR! argv "/home/pabowles/.nvm/versions/node/v6.11.2/bin/node" "/home/pabowles/.nvm/versions/node/v6.11.2/bin/npm" "i" "-f"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! path /mnt/c/Users/Philip/test/oasis-connect/node_modules/.staging/extend-17cb941d/CHANGELOG.md
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall utime
npm ERR! enoent ENOENT: no such file or directory, utime '/mnt/c/Users/Philip/test/oasis-connect/node_modules/.staging/extend-17cb941d/CHANGELOG.md'
npm ERR! enoent ENOENT: no such file or directory, utime '/mnt/c/Users/Philip/test/oasis-connect/node_modules/.staging/extend-17cb941d/CHANGELOG.md'
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.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /mnt/c/Users/Philip/test/oasis-connect/npm-debug.log
Edit: Also note I have tried running this with npm install, and as seen in this error log npm i -f and it makes no difference
It seems this issue isn't just related to the older version 2.6.2...I tried pulling down the most recent version of FoundationPress and doing an npm install and I get the following:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! Linux 4.4.0-17134-Microsoft
npm ERR! argv "/home/pabowles/.nvm/versions/node/v6.11.2/bin/node" "/home/pabowles/.nvm/versions/node/v6.11.2/bin/npm" "install"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! path /mnt/c/Users/Philip/test/FoundationPress/node_modules/.staging/core-js-3e8dcea6/es6/date.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall utime
npm ERR! enoent ENOENT: no such file or directory, utime '/mnt/c/Users/Philip/test/FoundationPress/node_modules/.staging/core-js-3e8dcea6/es6/date.js'
npm ERR! enoent ENOENT: no such file or directory, utime '/mnt/c/Users/Philip/test/FoundationPress/node_modules/.staging/core-js-3e8dcea6/es6/date.js'
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.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /mnt/c/Users/Philip/test/FoundationPress/npm-debug.log