Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

No such file or directory while install sql or express any other package #11103

Closed
dileep502 opened this issue Jan 9, 2016 · 4 comments
Closed
Labels

Comments

@dileep502
Copy link

C:\Users\DELL>npm install mysql
C:\Users\DELL
└── mysql@2.10.0

npm WARN ENOENT ENOENT: no such file or directory, open 'C:\Users\DELL\package.json'
npm WARN EPACKAGEJSON DELL No description
npm WARN EPACKAGEJSON DELL No repository field.
npm WARN EPACKAGEJSON DELL No README data
npm WARN EPACKAGEJSON DELL No license field.
@ktrzeciaknubisa
Copy link

Same here.

I believe this is similar to #8871, however that one is about global install (-g or --global and it seems like they fixed it). But local install still suffers the issue.

@kenany
Copy link
Contributor

kenany commented Jan 20, 2016

I think this warning is simply trying to tell you that you do not have a package.json in your current directory. While it is not necessary to have a package.json in order to simply install modules as you are doing, in the long run it is usually best to specify these modules as dependencies or devDependencies of whatever project you are starting.

@kenany
Copy link
Contributor

kenany commented May 15, 2016

@dileep502 Since there are no errors in the output you have posted (only warnings), is it safe to say that this issue may be closed as not a bug in npm?

@kenany
Copy link
Contributor

kenany commented Jul 2, 2016

Closing as not an issue with npm.

@kenany kenany closed this as completed Jul 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants