Topic: React Native for Mobile Apps - own package.json self-referencing
the package.json of the NPM package (mdbreact-mobile) contains the following reference:
"mdbreact-mobile": "./mdbreact-mobile-1.0.1.tgz"
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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- 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
Piotr Glejzer staff commented 5 years ago
Thabks for the report. We will solve this bug in the next version. If you have more bugs to report, let us know. Thank you very much.