Skip to content

Instantly share code, notes, and snippets.

@lemonad lemonad/gist:3115250
Created Jul 15, 2012

Embed
What would you like to do?
Nodejitsu deploy problem: Cannot find module 'unicode/category/So'
metodiki:hawfinch jonas$ jitsu deploy
path.existsSync is now called `fs.existsSync`.
info: Welcome to Nodejitsu lemonad
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing your application dependencies in server.js
warn: Local version appears to be old
warn: Your package.json version will be incremented for you automatically
warn: About to write /Users/jonas/Projects/node.js/hawfinch/package.json
warn: Using '*' as version for dependencies may eventually cause issues.
warn: Please use specific versions for dependencies to avoid future problems.
data:
data: {
data: engines: { node: '0.6.19' },
data: subdomain: 'hawfinch',
data: env: { PYTHON: '/opt/local/bin/python2.7' },
data: scripts: { start: 'server.js' },
data: author: 'Jonas Nockert <jonasnockert@gmail.com>',
data: version: '0.0.1-183',
data: repository: { type: 'git', url: 'git://github.com/lemonad/hawfinch.git' },
data: name: 'hawfin.ch',
data: dependencies: {
data: hiredis: '0.1.14',
data: nib: '0.3.2',
data: gravatar: '1.0.6',
data: passport-http-bearer: '0.1.0',
data: async: '0.1.18',
data: jade: '0.20.3',
data: knox: '0.0.9',
data: redis: '0.7.1',
data: imagemagick: '0.1.2',
data: connect-auth: '0.5.0',
data: connect: '2.0.2',
data: express: '2.5.8',
data: formidable: '1.0.9',
data: passport-local: '0.1.0',
data: active-x-obfuscator: '*',
data: sinon: '1.3.1',
data: validator: '0.4.6-3',
data: postmark: '0.1.6',
data: node-schedule: '0.1.5',
data: socket.io: '0.9.2',
data: nconf: '0.5.1',
data: slug: '0.2.2',
data: connect-redis: '1.2.0',
data: stylus: '0.24.0',
data: oauth: '0.9.5',
data: vows: '0.6.1',
data: passport: '0.1.6',
data: markdown: '0.4.0',
data: express-messages: '0.0.2'
data: },
data: files: [ '' ],
data: private: true,
data: directories: { lib: './lib' },
data: domains: [ 'hawfin.ch' ],
data: description: "It's crunch time!"
data: }
data:
prompt: Is this ok? (yes): info: Creating snapshot 0.0.1-183
info: Updating app hawfin.ch
info: Activating snapshot 0.0.1-183 for hawfin.ch
info: Stopping app hawfin.ch
info: App hawfin.ch is now stopped
info: Starting app hawfin.ch
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error:
error: There was an error while attempting to start your application.
error: Error spawning drone
error: Script prematurely exited
error:
error: This type of error is usually a user error.
error: Error output from your application:
error:
error: Created a redis client on host cod.redistogo.com:9282
error: module.js:337
error: throw new Error("Cannot find module '" + request + "'");
error: ^
error: Error: Cannot find module 'unicode/category/So'
error: at Function._resolveFilename (module.js:337:11)
error: at Function._load (module.js:279:25)
error: at Module.require (module.js:359:17)
error: at require (module.js:375:17)
error: at Object.<anonymous> (/opt/haibu/apps/lemonad/hawfin.ch/package/node_modules/slug/lib/slug.js:3:13)
error: at Object.<anonymous> (/opt/haibu/apps/lemonad/hawfin.ch/package/node_modules/slug/lib/slug.js:380:4)
error: at Module._compile (module.js:446:26)
error: at Object..js (module.js:464:10)
error: at Module.load (module.js:353:31)
error: at Function._load (module.js:311:12)
info: Nodejitsu not ok
@Shantydroid

This comment has been minimized.

Copy link

commented Feb 20, 2015

Did you find the solution?

@sahanarula

This comment has been minimized.

Copy link

commented Oct 26, 2015

remove the node_modules folder. try npm install again. It worked for me.

@chovy

This comment has been minimized.

Copy link

commented Dec 30, 2015

Didn't work for me removing local node_modules folder/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.