Giter VIP home page Giter VIP logo

Comments (4)

alan2207 avatar alan2207 commented on August 15, 2024 4

I am planning to update the setup to CRA v5 or Vite.js at some point.

Until then, you can try to bypass the error by adding SKIP_PREFLIGHT_CHECK=TRUE to your .env file as suggested in order to make it work.

from bulletproof-react.

nirmalathapa avatar nirmalathapa commented on August 15, 2024

Hi! @alan2207 I am also having the same issue. I setup the SKIP_PREFLIGHT_CHECK=true in .env file however I am getting types error. How can I resolve this issue?
Screenshot 2022-09-24 at 18 13 38

from bulletproof-react.

ThePiyushAggarwal avatar ThePiyushAggarwal commented on August 15, 2024

I wanted to mention that you guys need to use yarn install instead of npm install

from bulletproof-react.

SatyaAchanta avatar SatyaAchanta commented on August 15, 2024

@andreycruz16

I agree to what @ThePiyushAggarwal mentioned, you should use yarn instead of npm for this project and I didn't have .env var SKIP_PREFLIGHT_CHECK

My two cents on this, I was also facing the same issue, then I see one of the log messages during this process is exactly this ../../../package.json having no license field. I was like..... wait whattttt ? if I am running yarn start from root dir in this project why app is finding package.json 3 levels above ? then when I looked into my directories, I found I have node_modules, package.json, yarn.lock. I deleted them and performed these steps again.

  1. rm -rf node_modules yarn.lock
  2. yarn install
  3. yarn start

I could overcome the issue. However, I am still unable to run app successfully, its related to another issues on this project, looking into it.

from bulletproof-react.

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.