EINVALIDPACKAGENAME Error #2517
Closed
thunderplays
started this conversation in
General
Replies: 1 comment
-
I found the solution by correcting the package.json which for some reason had react- -gl pre-installed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I don't understand what's wrong, but I get this error.
npm install react-map-gl mapbox-gl
npm error code EINVALIDPACKAGENAME
npm error Invalid package name "react- -gl" of package "react- -gl@^8.0.2": name can only contain URL-friendly characters.
npm error A complete log of this run can be found in: C:\Users\Zulsk\AppData\Local\npm-cache_logs\2025-03-30T17_56_04_292Z-debug-0.log
Beta Was this translation helpful? Give feedback.
All reactions