timeoff-management / timeoff-management-application

Simple yet powerful absence management software for small and medium size business (community edition)
https://TimeOff.Management
MIT License
956 stars 589 forks source link

Error: Cannot find module 'debug' #535

Closed grojas123 closed 2 years ago

grojas123 commented 2 years ago

I installed nodejs-4 I did npm install But when I tried I cannot start the app . Any ideas?


> TimeOff.Management@1.0.0 start /home/centos/timeoff-management
> node bin/wwww

module.js:327
    throw err;
    ^

Error: Cannot find module 'debug'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/centos/timeoff-management/bin/wwww:3:13)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)

npm ERR! Linux 3.10.0-1160.76.1.el7.x86_64
npm ERR! argv "/usr/bin/node" "/bin/npm" "start"
npm ERR! node v4.9.1
npm ERR! npm  v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! TimeOff.Management@1.0.0 start: `node bin/wwww`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the TimeOff.Management@1.0.0 start script 'node bin/wwww'.
npm ERR! This is most likely a problem with the TimeOff.Management package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node bin/wwww
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs TimeOff.Management
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls TimeOff.Management
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/centos/timeoff-management/npm-debug.log