React Native for Mobile Apps - own package.json self-referen

web
mobile

Topic: React Native for Mobile Apps - own package.json self-referencing

cliplicht pro asked 2 months ago

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 mdb-mobile_self_ref_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.


Piotr Glejzer staff commented 2 months 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.


Please insert min. 20 characters.