Skip to content
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

[GCI2018] Got Cannot find module 'cron' error when tried running , Deprecated Nodejs Dependencies , requirements.txt missing #42

Open
bauripalash opened this issue Oct 27, 2018 · 0 comments

Comments

@bauripalash
Copy link
Contributor

Problem 1 :

When Installing NodeJs dependencies , got lots of deprecation warning and the dependencies also contains 13 vulnerabilities

Deprecated dependancies :

  • jade@1.11.0
  • constantinople@3.0.2
  • transformers@2.1.0
  • node-uuid@1.4.8

Problem 2 :

When Tried Running the program on Drola_Base_Node , using the steps below ,

  • ~$ npm install
  • ~$ npm start

I got the following error :

CLICK TO EXPAND
$ npm start

> webapp@1.0.0 start /home/palash/Downloads/drola-master/Drola_Base_Node
> node index.js

module.js:549
    throw err;
    ^

Error: Cannot find module 'cron'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/palash/Downloads/drola-master/Drola_Base_Node/index.js:5:15)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! webapp@1.0.0 start: `node index.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the webapp@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/palash/.npm/_logs/2018-10-27T11_38_43_796Z-debug.log

Problem 3 :

Missing requirements.txt in Drola_Base_Node/api folder , which causes several ModuleNotFoundError

Possible Improvement :

  • Add way to track the speed of drone
  • Improve the web interface
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant