NativeScript / NativeScript/nativescript-cli
npm fails install of nativescript on btrfs
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
NodeSource のセットアップコマンドと npm install -g nativescript を使用して Docker のインストール手順を再現します。できれば btrfs 上で実施してください。まず、node_modules/.nativescript.DELETE と sinon に関係する、報告された npm の rename 失敗から始めます。文書化されたインストールがそのエラーなしで正常に完了すれば、issue は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, javascript, node.js
- 領域
- cli, devops
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100