NativeScript / NativeScript/nativescript-cli
npm fails install of nativescript on btrfs
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 1.1k
- Fork
- 204
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 8
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Tái hiện trình tự cài đặt Docker bằng lệnh thiết lập NodeSource và npm install -g nativescript, ưu tiên trên btrfs. Bắt đầu với lỗi đổi tên npm đã được báo cáo liên quan đến node_modules/.nativescript.DELETE và sinon; issue được hoàn tất khi quá trình cài đặt được ghi trong tài liệu hoàn thành thành công mà không gặp lỗi đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- docker, javascript, node.js
- Lĩnh vực
- cli, devops
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100