Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

npm ERR! A complete log of this run can be found in: #1379

Open
hassan184 opened this issue Apr 10, 2019 · 3 comments
Open

npm ERR! A complete log of this run can be found in: #1379

hassan184 opened this issue Apr 10, 2019 · 3 comments

Comments

@hassan184
Copy link

How can this bug be reproduced?

  1. Step one
  2. Step two
  3. 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):

@hassan184
Copy link
Author

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

@hassan184
Copy link
Author

how resolve this problem

@pixelbrad
Copy link
Contributor

I suspect FoundationPress is not the issue here for a couple of reasons:

  1. You're trying to install a package globally.
  2. The package you're trying to install Is ionic, which, correct me if I'm wrong, is unrelated to FoundationPress.
  3. 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants