NativeScript / NativeScript/nativescript-cli

npm fails install of nativescript on btrfs

オープン
#3,880 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

to-be-checked
主要言語
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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

NodeSource のセットアップコマンドと npm install -g nativescript を使用して Docker のインストール手順を再現します。できれば btrfs 上で実施してください。まず、node_modules/.nativescript.DELETEsinon に関係する、報告された npm の rename 失敗から始めます。文書化されたインストールがそのエラーなしで正常に完了すれば、issue は完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, javascript, node.js
領域
cli, devops
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。