GithubHelp home page GithubHelp logo

Comments (8)

JumpyJacko avatar JumpyJacko commented on June 20, 2024 1

No, I should probably do that, sorry about that. Completely forgot about trying that.

from manga-cli.

JumpyJacko avatar JumpyJacko commented on June 20, 2024 1

Fixed the issue because I used node 16 and removed assert

from manga-cli.

JumpyJacko avatar JumpyJacko commented on June 20, 2024

I'm using Node v17.3.0.

from manga-cli.

ahmad-reza619 avatar ahmad-reza619 commented on June 20, 2024

If that's the case, i think we should mention that in the readme, to use node >17

from manga-cli.

JumpyJacko avatar JumpyJacko commented on June 20, 2024

Does using node >17 fix the problem?

from manga-cli.

ahmad-reza619 avatar ahmad-reza619 commented on June 20, 2024

Does using node >17 fix the problem?

yes it is, but if you want to support other node version, i suggest to delete the assert.
so the import would look like this

import options from '../options.json';

I'll gladly open PR for this

from manga-cli.

JumpyJacko avatar JumpyJacko commented on June 20, 2024

I tried using it without, but without it, it didn't let me access the .json without doing a couple of other things. Probably should support the LTS version of node so that's probably a good idea.

from manga-cli.

ahmad-reza619 avatar ahmad-reza619 commented on June 20, 2024

@JumpyJacko have you tried switching node version before tried to import options without assert?

from manga-cli.

Related Issues (5)

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.