-
Notifications
You must be signed in to change notification settings - Fork 43
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
Error: Cannot find module 'request' #50
Comments
As a workaround, you can do |
I tried, but also after this command the problem still. Any suggestions? |
I got the same error message as you and got it working after a separate npm install of the request package. That's all I know unfortunately. Maybe we experienced different errors but got the same error message then?
…On 11 Dec 2020, 10:47 +0100, Michele Cavalcanti ***@***.***>, wrote:
> As a workaround, you can do npm install request.
I tried, but also after this command the problem still.
Any suggestions?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I don't know, it's strange. How did you create empty node project?
But i have the errore indicated in the previous post
|
Same but 1. and 2. was swapped. Do you see the request folder under node_modules/? I.e. is the request package really there?
…On 11 Dec 2020, 15:33 +0100, Michele Cavalcanti ***@***.***>, wrote:
I don't know, it's strange. How did you create empty node project?
I did the following steps
1. install module npm install itunesconnectanalytics
2. create empty node project with the command npm init
3. create a new file (index.js) in the project with the "usual boilerplate" code as indicated in project home
4. install dependency npm install request
5. run the code node index.js
But i have the errore indicated in the previous post
> I got the same error message as you and got it working after a separate npm install of the request package. That's all I know unfortunately. Maybe we experienced different errors but got the same error message then?
> …
> On 11 Dec 2020, 10:47 +0100, Michele Cavalcanti @.***>, wrote: > As a workaround, you can do npm install request. I tried, but also after this command the problem still. Any suggestions? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Yeah! with point 1 and point 2 swapped it work! Thanks man |
Woho! 😁
…On 11 Dec 2020, 17:30 +0100, Michele Cavalcanti ***@***.***>, wrote:
Yeah! with point 1 and point 2 swapped it work! Thanks man
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi people, i'm testing this module but i have some problems.
I created a new empty node project with a new file "index.js" with this boilerplate code:
But when i run the command
node index.js
i get this error:thanks
The text was updated successfully, but these errors were encountered: