This repository was archived by the owner on May 1, 2024. It is now read-only.
[Bug?] npm i
doesn't install mysql
package
#986
Closed
Master-Guy
started this conversation in
General
Replies: 2 comments
-
Doing a file compare between node_modules with and without, I see these two differences:
There is however, not a single other difference.. |
Beta Was this translation helpful? Give feedback.
0 replies
-
We don't offer general support here. |
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
-
Currently I'm trying to expand my NodeJS knowledge with some database access, and it's going pretty good.
Now I'm trying to get my package running, and as I usually do, I commit the code (excluding the node_modules folder and some other files) to Github, and download it on another system. There I run
npm i --omit=dev
andnpm run
to start my application.Even though
npm i --omit=dev
reports no failures or issues,npm run
fails due to themysql
package missing, even though it is listed in package.json and package-lock.json. Also I can see a folder callednode_modules/mysql
, which further adds to the confusion..When I run
npm i
without--omit=dev
it somehow remembers to install themysql
package that I'm missing before, showing:added 1 package
What could be the cause of this? The same happens with
npm ci
.Beta Was this translation helpful? Give feedback.
All reactions