-
Notifications
You must be signed in to change notification settings - Fork 484
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
Cannot find module 'morgan' at Function.Module._resolveFilename (module.js:469:15) #41
Comments
Hey,
Run this command from the node package file.
npm install morgan
To add this npm package to your local machine, type the above into your
command line. You’ll notice a node_modules directory appear in your root
where the package is now installed.
If you're having trouble installing packages, check out the helpful docs
for installing npm packages locally
Your purpose will be served.
Thanks,
Anonymous
…On Jul 9, 2017 12:24 AM, "rochakravi" ***@***.***> wrote:
I used git clone and then completed=> node app.js then found above error .
I dnt have how to resolve this so that i can see working code . Can anyone
please help me?.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#41>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATWtjg6KLPlB_LDYVy0xv5GPcGXygHcpks5sL9B8gaJpZM4OR1fy>
.
|
Now got below error
Error: failed to connect to [localhost:27017]
at .<anonymous>
(C:\Users\admin\Desktop\dabba\hwz\chirp\module-5\completed\node_modules\mongodb\lib\mongodb\connection\server.js:549:25)
at emitThree (events.js:116:13)
at emit (events.js:194:7)
at .<anonymous>
(C:\Users\admin\Desktop\dabba\hwz\chirp\module-5\completed\node_modules\mongodb\lib\mongodb\connection\connection_pool.js:150:15)
at emitTwo (events.js:106:13)
at emit (events.js:191:7)
at Socket.<anonymous>
(C:\Users\admin\Desktop\dabba\hwz\chirp\module-5\completed\node_modules\mongodb\lib\mongodb\connection\connection.js:533:10)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at emitErrorNT (net.js:1281:8)
…On Sun, Jul 9, 2017 at 1:41 AM, SAGARSRAO ***@***.***> wrote:
Hey,
Run this command from the node package file.
npm install morgan
To add this npm package to your local machine, type the above into your
command line. You’ll notice a node_modules directory appear in your root
where the package is now installed.
If you're having trouble installing packages, check out the helpful docs
for installing npm packages locally
Your purpose will be served.
Thanks,
Anonymous
On Jul 9, 2017 12:24 AM, "rochakravi" ***@***.***> wrote:
> I used git clone and then completed=> node app.js then found above error
.
> I dnt have how to resolve this so that i can see working code . Can
anyone
> please help me?.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#41>, or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ATWtjg6KLPlB_
LDYVy0xv5GPcGXygHcpks5sL9B8gaJpZM4OR1fy>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#41 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ATAiLH-qoe6FOU8luigGS3ZZ1IV3mAdtks5sL-KAgaJpZM4OR1fy>
.
--
ravi raj
|
try changing the port number |
internal/modules/cjs/loader.js:596 Error: Cannot find module 'morgan'
|
try npm link morgan |
@rodcunha |
I ran |
I used git clone and then completed=> node app.js then found above error . I dnt have how to resolve this so that i can see working code . Can anyone please help me?.
The text was updated successfully, but these errors were encountered: