iamshaunjp / iamshaunjp/react-native-tutorial

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

未关闭
#31 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
605
派生
499
PR 合并指标
30 天内没有已合并 PR

描述

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`

贡献指南

这个仓库没有索引到贡献指南

调研方向

报告提到了仓库根目录、README 以及缺失的 package.json;首先阅读 README 并检查克隆的仓库内容,以确定是否应从其他目录运行 npm。文档所述的工作目录包含预期的包清单,并且 npm install 可以在不出现所报告的 ENOENT 错误的情况下继续执行,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
node.js, react-native
领域
build-system
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
需要澄清
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。