Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation issue #7

Closed
E3V3A opened this issue Jan 25, 2018 · 4 comments
Closed

Installation issue #7

E3V3A opened this issue Jan 25, 2018 · 4 comments

Comments

@E3V3A
Copy link
Contributor

E3V3A commented Jan 25, 2018

Following your README we get the following error:

$ npm install flightradar24-client
npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.

+ flightradar24-client@0.2.0
added 17 packages in 15.042s

Maybe add these files...

@derhuerst
Copy link
Owner

first of all, these are only warnings. npm installed flightradar24-client just fine.

the warnings are about a file that npm would like to see in your directory. it is usually being used to install dependencies into JavaScript projects. your directory does not have such a package.json file.

@E3V3A
Copy link
Contributor Author

E3V3A commented Jan 25, 2018

the warnings are about a file that npm would like to see in your directory.

There is something weird about that idea. Why would it be so? I don't get this from any other npm package out there. So I guess, if it's not in your directory, it starts looking in mine.

@derhuerst
Copy link
Owner

I don't get this warning when installing flightradar24-client in a JavaScript project (containing a package.json file). Pay attention to the specific warning: It says "no such file or directory, [...] /home/pi/package.json".

@derhuerst
Copy link
Owner

Try with a new directory, run npm init --yes to generate a new package.json file. Then run npm install flightradar24-client.

If you still get an error then, please reopen this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants