Unexpected end of JSON input while parsing near '...":"^5.0.1"},"devDepen'

未關閉
#4,742 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
javascript, node.js
領域
cli, mobile-dev

研究方向

首先,使用回報的 npm、Node 和 CLI 版本重現 tns create MyApp --ng,然後檢查 C:\Users\Vala\AppData\Roaming\npm-cache\_logs\2019-06-19T02_29_32_896Z-debug.log 中的 npm 偵錯記錄。完成的標準是確認究竟是應用程式建立流程還是 npm 快取產生了遭截斷的 JSON,並建立可重現的修正方案。

由索引模型根據 Issue 內容生成。

描述

question

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

主要語言
JavaScript
星號
1.1k
分支
204
平均合併
1 天 9 小時
30 天內合併 PR
8

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NativeScript/nativescript-cli 的其他 Issue

查看 NativeScript/nativescript-cli 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。