Topic: React Native for Mobile Apps - own package.json self-referencing
the package.json of the NPM package (mdbreact-mobile) contains the following reference:
This finally causes the following error message when trying to install the package via "npm install":
31 error enoent ENOENT: no such file or directory, stat 'YOUR_PATH/MDB-React-Mobile-Free-1.0.1.tgz'. 32 error enoent This is related to npm not being able to find a file.
see the following screenshot
The reason for this is the self-referencing of the own package. i was able to solve the problem by unzipping the .tar file and removing the reference from mdbreact-mobile in the package.json.
- User: Pro
- Premium support: No
- Technology: Other
- MDB Version: -
- Device: Mac OSX
- Browser: Chrome, Safari, Firefox
- OS: OSX 10.15.2 ( Catalina )
- Provided sample code: No
- Provided link: No