-
Notifications
You must be signed in to change notification settings - Fork 24
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
Where do I have to save the index.js file? #27
Comments
It sounds like you may of had an error with a dependency while running npm install and the parriot-minidrone package never made it into your node_modules folder. Try using NVM to downgrade node to 6.2.2 and run I may move this whole thing to docker as it's been difficult to maintain the dependencies this library uses. |
Sounds like you didn't install the parrot-minidrone module did you npm i
parrot-minidrone --save ?
…On Sat, Feb 2, 2019 at 8:26 AM Chris Fetherston ***@***.***> wrote:
It sounds like you may of had an error with a dependency while running npm
install and the parriot-minidrone package never made it into your
node_modules folder. Try using NVM to downgrade node to 6.2.2 and run npm
install parrot-minidrone. That said, I'm having issues with noble's
dependencies on Mojave now.
I may move this whole thing to docker as it's been difficult to maintain
the dependencies this library uses.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFVn89eqf864hDWI7ea65OVHl4WSKMjcks5vJZHzgaJpZM4afh73>
.
|
Thanks!
I’ve noticed that when I run sudo npm install parrot-minidrone that there is an permission error. It says the permission was denied by my operating system.
How can I give it the write and read permission?
I already saw some people having the same trouble but I wasn’t able to get rid of it.
Thanks a lot!
…Sent from my iPhone
On 2. Feb 2019, at 22:06, Tyler Canton ***@***.***> wrote:
Sounds like you didn't install the parrot-minidrone module did you npm i
parrot-minidrone --save ?
On Sat, Feb 2, 2019 at 8:26 AM Chris Fetherston ***@***.***>
wrote:
> It sounds like you may of had an error with a dependency while running npm
> install and the parriot-minidrone package never made it into your
> node_modules folder. Try using NVM to downgrade node to 6.2.2 and run npm
> install parrot-minidrone. That said, I'm having issues with noble's
> dependencies on Mojave now.
>
> I may move this whole thing to docker as it's been difficult to maintain
> the dependencies this library uses.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#27 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AFVn89eqf864hDWI7ea65OVHl4WSKMjcks5vJZHzgaJpZM4afh73>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
you should be able to chown your global node_module. Just google permission
issue of the directory the module is trying to write to...
…On Sat, Feb 2, 2019 at 7:00 PM Rentex1 ***@***.***> wrote:
Thanks!
I’ve noticed that when I run sudo npm install parrot-minidrone that there
is an permission error. It says the permission was denied by my operating
system.
How can I give it the write and read permission?
I already saw some people having the same trouble but I wasn’t able to get
rid of it.
Thanks a lot!
Sent from my iPhone
> On 2. Feb 2019, at 22:06, Tyler Canton ***@***.***> wrote:
>
> Sounds like you didn't install the parrot-minidrone module did you npm i
> parrot-minidrone --save ?
>
> On Sat, Feb 2, 2019 at 8:26 AM Chris Fetherston <
***@***.***>
> wrote:
>
> > It sounds like you may of had an error with a dependency while running
npm
> > install and the parriot-minidrone package never made it into your
> > node_modules folder. Try using NVM to downgrade node to 6.2.2 and run
npm
> > install parrot-minidrone. That said, I'm having issues with noble's
> > dependencies on Mojave now.
> >
> > I may move this whole thing to docker as it's been difficult to
maintain
> > the dependencies this library uses.
> >
> > —
> > You are receiving this because you are subscribed to this thread.
> > Reply to this email directly, view it on GitHub
> > <
#27 (comment)
>,
> > or mute the thread
> > <
https://github.com/notifications/unsubscribe-auth/AFVn89eqf864hDWI7ea65OVHl4WSKMjcks5vJZHzgaJpZM4afh73
>
> > .
> >
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFVn85cCskV7-vOt3XU7d9m9eb-gDF8jks5vJiatgaJpZM4afh73>
.
|
thanks now all my troubles with the permission are solved but now there are many errors which say: And in my I am sorry for taking your time. |
Warnings are generally okay. I wouldn't worry much about what's in your package.json except that after running NOTE XPC-CONNECTION FAILS OT INSTALL ON THE LATEST NODE LTS I just walked through the steps and was able to use the package with node v8.12.0. and npm v6.4.1 on OSX Mojave.
That's enough to at least get you running to write your own code. If you just want to fly some drones you may want to check out this entire repo from git and run the examples in the example folder. |
Thanks but now a new problem appeared: I have delete Node and npm and installed it again but nothin worked. |
Hi there!
I want to fly my Mambo with this package.
But when I run the index.js file an error appears and says:
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module 'parrot-minidrone'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (/Users/Luis/Documents/GitHub/npm-parrot-minidrone/index.js:1:77)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
Where do I have to save my index.js file that it works?
Pls Help
The text was updated successfully, but these errors were encountered: