Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Error: Cannot find module 'mime' #7

Closed
jcmartins opened this issue May 10, 2012 · 2 comments
Closed

Error: Cannot find module 'mime' #7

jcmartins opened this issue May 10, 2012 · 2 comments

Comments

@jcmartins
Copy link

I'm using nodejs v0.6.17 and npm 1.1.15 in ubuntu 12.04

I do sudo npm install -g puch
it's ok no errros.

so I do mkdir site and run punch setup

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'mime'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (/usr/lib/node_modules/punch/lib/server.js:9:12)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)

@laktek
Copy link
Owner

laktek commented May 10, 2012

Please try installing the Punch again. I've added the dependency of Mime to the package.

@jcmartins
Copy link
Author

tks

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

No branches or pull requests

2 participants