Code Monkey home page Code Monkey logo

Comments (9)

Gagan2325 avatar Gagan2325 commented on August 23, 2024 2

thanks @jwala-anirudh @wajeshubham its works fine.

from apihub.

wajeshubham avatar wajeshubham commented on August 23, 2024

@Gagan2325 Image is not clear kindly update the same. Also, what is the NodeJs version you are running on your machine?

from apihub.

Gagan2325 avatar Gagan2325 commented on August 23, 2024

my node version is 16.14.0

image

from apihub.

jwala-anirudh avatar jwala-anirudh commented on August 23, 2024

Hi @Gagan2325, have you installed yarn on your machine?

from apihub.

Gagan2325 avatar Gagan2325 commented on August 23, 2024

yes

from apihub.

jwala-anirudh avatar jwala-anirudh commented on August 23, 2024

As per the screenshot, I can see it is giving a message error Command "yarn" not found can you please confirm

from apihub.

Gagan2325 avatar Gagan2325 commented on August 23, 2024

I installed yarn

image

from apihub.

jwala-anirudh avatar jwala-anirudh commented on August 23, 2024

Understood, the project imports for .json files is supported for v17.5.0 onwards. So the issue can be resolved by installing the latest LTS version of Node Js i.e. v18.7.0

Visit: https://nodejs.org/en

from apihub.

wajeshubham avatar wajeshubham commented on August 23, 2024

@Gagan2325 From Node.js version 17.5.0 onward, importing a JSON file is possible using Import Assertions:

You are using node v16.14.0 which does not have the support. We have raised a PR for the issue. However, please update your version to current LTS node version to stay updated and it should fix the issue.

from apihub.

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.