npm ERR! A complete log of this run can be found in:
hassan184 opened this issue · 3 comments
How can this bug be reproduced?
- Step one
- Step two
- Step three
What did you expect to happen?
What happened instead?
Please List the Following:
- OS & version:
- Node version (node -v) [Node v6+ is required] :
- FoundationPress version (see line 3 in package.json):
- Foundation version (found in
node_modules/foundation-sites/package.json
) :
Include Test Case (if applicable):
C:\Users\Dell>npm install -g ionic
npm ERR! Unexpected end of JSON input while parsing near '...isarguments/-/lodash.'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Dell\AppData\Roaming\npm-cache_logs\2019-04-10T16_28_01_317Z-debug.log
C:\Users\Dell>npm install -g ionic
npm ERR! Unexpected end of JSON input while parsing near '...isarguments/-/lodash.'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Dell\AppData\Roaming\npm-cache_logs\2019-04-10T16_28_16_636Z-debug.log
C:\Users\Dell>npm install -g ionic
npm ERR! Unexpected end of JSON input while parsing near '...isarguments/-/lodash.'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Dell\AppData\Roaming\npm-cache_logs\2019-04-10T16_28_30_661Z-debug.log
C:\Users\Dell>npm install -g ionic
npm ERR! Unexpected end of JSON input while parsing near '...isarguments/-/lodash.'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Dell\AppData\Roaming\npm-cache_logs\2019-04-10T16_29_30_423Z-debug.log
how resolve this problem
I suspect FoundationPress is not the issue here for a couple of reasons:
- You're trying to install a package globally.
- The package you're trying to install Is ionic, which, correct me if I'm wrong, is unrelated to FoundationPress.
- It appears you're running
npm i -g ionic
from what I believe is your user directory (i.e. not from a FoundationPress project folder).
You've not filled out any of the following:
OS & version:
Node version (node -v) [Node v6+ is required] :
FoundationPress version (see line 3 in package.json):
Foundation version (found in node_modules/foundation-sites/package.json) :
All of your CodePen test cases are basically empty.
If you're having trouble with Ionic, seek support from Ionic.