iamshaunjp / iamshaunjp/react-native-tutorial

It seems like npm is unable to find the package.json file

Đang mở
#31 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
605
Fork
499
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I cloned this repo using `git clone https://github.com/iamshaunjp/react-native-tutorial.git`
then with `cd react-native-tutorial` I went into working folder
then I run `npm install` and got an error:

`D:\ReactPrjcts\ReactNative\netNinjaPrj2\react-native-tutorial>npm install
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path D:\ReactPrjcts\ReactNative\netNinjaPrj2\react-native-tutorial\package.json
npm ERR! errno -4058
npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'D:\ReactPrjcts\ReactNative\netNinjaPrj2\react-native-tutorial\package.json'
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: C:\Users\simch\AppData\Local\npm-cache\_logs\2024-05-03T12_31_52_845Z-debug-0.log`

I checked what files there are inside of `react-native-tutorial` folder and found only two files: `README` and `.git`

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

The report names the repository root, README, and missing package.json; start by reading README and checking the cloned repository contents to determine whether npm should be run from another directory. Done means the documented working directory contains the expected package manifest and npm install proceeds without the reported ENOENT error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
node.js, react-native
Lĩnh vực
build-system
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
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
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.