Skip to content

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

@LumisD

Description

@LumisD

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions