NativeScript / NativeScript/nativescript-cli
Unexpected end of JSON input while parsing near '...":"^5.0.1"},"devDepen'
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
Environment
- npm : 6.4.1
- node: 10.15.0
- CLI: 5.4.1
While creating new app with following command
tns create MyApp --ng
It will give me following error
npm ERR! Unexpected end of JSON input while parsing near '...":"^5.0.1"},"devDepen'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Vala\AppData\Roaming\npm-cache_logs\2019-06-19T02_29_32_896Z-debug.log
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing tns create MyApp --ng with the reported npm, Node, and CLI versions, then inspect the npm debug log at C:\Users\Vala\AppData\Roaming\npm-cache\_logs\2019-06-19T02_29_32_896Z-debug.log. Done means identifying whether app creation or the npm cache produces the truncated JSON and establishing a reproducible fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100