Code Monkey home page Code Monkey logo

Comments (10)

WindowsCmd avatar WindowsCmd commented on July 3, 2024

Hi, Have you ran npm i ? It seems as if you are missing some dependencies

from botrix.

WaltDisneyWorld avatar WaltDisneyWorld commented on July 3, 2024

I did.

from botrix.

WindowsCmd avatar WindowsCmd commented on July 3, 2024

It also seems like you have not provided the entire error message, please provide the entire error message.

from botrix.

WaltDisneyWorld avatar WaltDisneyWorld commented on July 3, 2024

> [email protected] start /home/runner/botrix
> node src/index.js

internal/modules/cjs/loader.js:1174
    throw err;
    ^

SyntaxError: /home/runner/botrix/src/config.json: Unexpected token / in JSON at position 570
    at parse (<anonymous>)
    at Object.Module._extensions..json (internal/modules/cjs/loader.js:1171:22)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/home/runner/botrix/src/routes/api/bots/submit.js:9:16)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/home/runner/botrix/src/routes/api/routes/index.js:3:16)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node src/index.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!     /home/runner/.npm/_logs/2021-01-04T14_59_54_801Z-debug.log
exit status 1
îș§ ```

from botrix.

WindowsCmd avatar WindowsCmd commented on July 3, 2024

Okay, It seems as there is a problem with your config file.. Could you provide your config.json file for me?

from botrix.

WaltDisneyWorld avatar WaltDisneyWorld commented on July 3, 2024

Can I share it privately?

from botrix.

WaltDisneyWorld avatar WaltDisneyWorld commented on July 3, 2024

Join and look at config.

from botrix.

WindowsCmd avatar WindowsCmd commented on July 3, 2024

It seems like the comments were messing with the json syntax.

from botrix.

WaltDisneyWorld avatar WaltDisneyWorld commented on July 3, 2024

What should I do?

from botrix.

dylanjamesdev avatar dylanjamesdev commented on July 3, 2024

Learn JSON or use a json linter.

from botrix.

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.