-
-
Notifications
You must be signed in to change notification settings - Fork 317
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 './types.json' #120
Comments
I'm unable to reproduce this.
|
I just reproduced this exact same error using Express 4.x:
I'm working on getting more details but for now, at least @arvindan doesn't have to worry about being alone. ;) |
Thanks
I just reproduced this exact same error using Express 4.x:Error: Cannot find module './types.json' |
same error for me. |
Node.js v0.10 on the server where this was reproduced for me. Still trying to get more details. |
Why is |
@olalonde @jpv @whitlockjc the common thread here is the @arvindan I tried [unsuccessfully] to repro your bug again. Still no luck. Here's the test log: https://gist.github.com/broofa/ecb06e3daef52ef9c713 Can the three of you try these same steps and let me know what happens? Also note if you're running different versions of npm/node, please. |
any news on this? I am struggling with this error for 2 days now, I am using: node -v npm -v "dependencies": {
"peerjs": "0.3.10",
"express": "4.3.1",
"node-static": "0.7.6",
"ws": "0.4.25",
"underscore": "1.4.4",
"gl-matrix": "2.2.1"
}, I am on xubuntu 15.04, haven't had any problems when I worked on win 7, switched to linux just recently. |
I had this same problem when trying to run karma after installing various modules (http-errors, utils-merge, etc) I fixed the problem by updating/ reintsalling karma globally using "npm install karma -g" |
I fixed this error with |
Try
|
I installed the module (fs, util, mime) in shared folder
written the below script
on execution throwing below error
Error: Cannot find module './types.json'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/arvindan/node_modules/mime/mime.js:87:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
please help me to resolve the issue
The text was updated successfully, but these errors were encountered: