GithubHelp home page GithubHelp logo

Error on startup about tedicross HOT 5 CLOSED

tedicross avatar tedicross commented on June 3, 2024 1
Error on startup

from tedicross.

Comments (5)

Suppen avatar Suppen commented on June 3, 2024

Node is the correct version. Npm is a bit old, but that really shouldn't matter.

Could you try to delete the node_modules/ directory and run npm install again?

from tedicross.

negingai avatar negingai commented on June 3, 2024

I also failed to launch TediCross.
I am using nodejs v8.5.0 on CentOS7 and the npm version is 5.3.0.

after

npm install

npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.

after

npm start

"> [email protected] start /home/user/TediCross "
"> node main.js"

fs.js:653
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^

Error: ENOENT: no such file or directory, open 'settings.json'
at Object.fs.openSync (fs.js:653:18)
at Object.fs.readFileSync (fs.js:554:33)
at Object. (/home/user/TediCross/lib/settings.js:13:32)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Module.require (module.js:568:17)
at require (internal/module.js:11:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node main.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! /root/.npm/_logs/2017-09-13T08_39_48_848Z-debug.log

from tedicross.

Suppen avatar Suppen commented on June 3, 2024

@negingai it appears you don't have a settings.json file. Did you follow the step-by-step installation guide? It tells you how to make it

from tedicross.

negingai avatar negingai commented on June 3, 2024

@Suppen I found that I typed a wrong file name of settings.json, now it runs well.

from tedicross.

brik avatar brik commented on June 3, 2024

Deleting node_modules fixed it, thanks!

from tedicross.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.