You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running npm install --save react-native-mmkv-storage, I receive this error:
benjaminzagorski@Benjamins-MBP WhereIsBenny % npm install --save react-native-mmkv-storage
(node:45547) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /Users/benjaminzagorski/Desktop/coding/WhereIsBenny/node_modules/react-native-mmkv-storage/autolink/postlink/run.js
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/benjaminzagorski/Desktop/coding/WhereIsBenny/node_modules/react-native-mmkv-storage/autolink/postlink/run.js'
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:
npm ERR! /Users/benjaminzagorski/.npm/_logs/2024-10-08T20_40_19_893Z-debug.log
benjaminzagorski@Benjamins-MBP WhereIsBenny %
It appears to be looking for node_modules/react-native-mmkv-storage/autolink/postlink/run.js. Looking at the previous versions, 0.10.2 had this folder, but it was removed in 0.10.3. So npm is still looking for it in the wrong place.
Strangely enough, I've installed 0.10.3 on other apps previously without issue. And now going back to that project, running npm install gives me the same error code. Even tried it on a new react native app, same issue.
I've restarted my computer and everything.
To Reproduce
Steps to reproduce the behavior:
Create a new react native app
Run npm install --save react-native-mmkv-storage
Expected behavior
A clear and concise description of what you expected to happen.
Installation as usual.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform Information:
React Native Version: 0.75.2
Library Version 0.10.3
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
MrMicrowaveOven
changed the title
Installation issue: Unable to find autolink/postlink/run.js
Installation issue: Unable to find /autolink/postlink/run.js
Oct 8, 2024
Describe the bug
When running
npm install --save react-native-mmkv-storage
, I receive this error:It appears to be looking for
node_modules/react-native-mmkv-storage/autolink/postlink/run.js
. Looking at the previous versions, 0.10.2 had this folder, but it was removed in 0.10.3. So npm is still looking for it in the wrong place.Strangely enough, I've installed 0.10.3 on other apps previously without issue. And now going back to that project, running
npm install
gives me the same error code. Even tried it on a new react native app, same issue.I've restarted my computer and everything.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Installation as usual.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform Information:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: