daridin
By:
daridin

run problem with clone meanjs project from github

July 13, 2015 1.7k views
MEAN Applications Ubuntu

I clone this meanjs project https://github.com/ProjectsPy/meanjs.git, and cloned to my mean droplet for testing but when i run grunt, i get errors, and i don´t know how to solve this.
Locally run perfectly, so i clone to my github and cloned to my droplet for testing before star coding.
Am I doing something wrong??


root@mainu:/opt/meanjs# grunt
Loading "jshint.js" tasks...ERROR

Error: Cannot find module 'jshint'
Loading "uglify.js" tasks...ERROR
Error: Cannot find module 'pako/lib/zlib/messages'
Loading "cssmin.js" tasks...ERROR
Error: Cannot find module 'pako/lib/zlib/messages'
Loading "grunt-karma.js" tasks...ERROR
Error: Cannot find module 'socket.io-client'
Warning: Task "jshint" not found. Used --force, continuing.

Running "copy:localConfig" (copy) task
Copied 1 file

Running "concurrent:default" (concurrent) task
Loading "jshint.js" tasks...Loading "jshint.js" tasks...ERROR
ERROR

Error: Cannot find module 'jshint'
Loading "uglify.js" tasks...ERROR
Error: Cannot find module 'pako/lib/zlib/messages'
Loading "cssmin.js" tasks...ERROR
Error: Cannot find module 'pako/lib/zlib/messages'
Loading "grunt-karma.js" tasks...ERROR
Error: Cannot find module 'socket.io-client'

Running "nodemon:dev" (nodemon) task

Error: Cannot find module 'jshint'
Loading "uglify.js" tasks...ERROR
Error: Cannot find module 'pako/lib/zlib/messages'
Loading "cssmin.js" tasks...ERROR
Error: Cannot find module 'pako/lib/zlib/messages'
Loading "grunt-karma.js" tasks...ERROR
Error: Cannot find module 'socket.io-client'

Running "watch" task
Waiting...
[nodemon] v1.2.1
[nodemon] to restart at any time, enter rs
[nodemon] watching: app/views//. gruntfile.js server.js config//.js app//.js
[nodemon] starting node --debug server.js
Debugger listening on port 5858
NODEENV is not defined! Using default development environment
module.js:338
throw err;
^
Error: Cannot find module './commands/base
command'
at Function.Module.resolveFilename (module.js:336:15)
at Function.Module.
load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at /opt/meanjs/nodemodules/mongoose/nodemodules/mongodb/lib/mongodb/index.js:26:17
at Array.forEach (native)
at Object.<anonymous> (/opt/meanjs/nodemodules/mongoose/nodemodules/mongodb/lib/mongodb/index.js:25:25)
at Module.compile (module.js:460:26)
at Object.Module.
extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
[nodemon] app crashed - waiting for file changes before starting...

1 comment
Be the first one to answer this question.