NativeScript / NativeScript/nativescript-cli
npm fails install of nativescript on btrfs
未關閉
還沒有人認領這個 Issue。
to-be-checked
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
From @KatsuoRyuu on September 10, 2018 11:33
Did you verify this is a real problem by searching the [NativeScript Forum]
Yes
Tell us about the problem
My docker automated build server is failing to install NativeScript
npm install -g nativescript
Which platform(s) does your issue occur on?
NPM
Please provide the following version numbers that your issue occurs with:
Fails on nativescript install through NPM
Please tell us how to recreate the issue in as much detail as possible.
Create docker container
Install node using curl -sL https://deb.nodesource.com/setup_10.x | bash -
run npm install -g nativescript
Output:
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN nativescript No description
npm WARN nativescript No repository field.
npm WARN nativescript No README data
npm WARN nativescript No license field.
npm ERR! path /node_modules/.nativescript.DELETE/node_modules/sinon
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/node_modules/.nativescript.DELETE/node_modules/sinon' -> '/node_modules/nativescript/node_modules/sinon'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-09-10T11_06_17_384Z-debug.log
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
Part of installation of nativescript so no code needed.
Copied from original issue: NativeScript/NativeScript#6252
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
使用 NodeSource 設定命令和 npm install -g nativescript 重現 Docker 安裝流程,最好在 btrfs 上進行。從涉及 node_modules/.nativescript.DELETE 和 sinon 的已回報 npm 重新命名失敗開始;當文件中的安裝流程在沒有該錯誤的情況下成功完成時,此 issue 即完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- docker, javascript, node.js
- 領域
- cli, devops
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100