GithubHelp home page GithubHelp logo

Comments (6)

manojchowdary27 avatar manojchowdary27 commented on May 18, 2024 1

I had quick fix for this.
EDIT this file : /config/paths.js
Line number 35 change it to below line.
publicPath: '/',

from react-redux-saga-boilerplate.

chrisVillanueva avatar chrisVillanueva commented on May 18, 2024 1

@manojchowdary27 suggestion works fine on Win10. Updating publicPath to / renders the application properly. It appears root cause for the issue is path.resolve. When you pass / to resolvePath, the return value is your local drive:

Note the yellow highlight
image

This makes %PUBLIC_URL% resolve to "C:/path/to/resource" and fails.
The error will occur with npm start and yarn start. Both methods used to start create-react-app will fail unless you apply @manojchowdary27 's fix.

from react-redux-saga-boilerplate.

gilbarbara avatar gilbarbara commented on May 18, 2024

Hey,

What do you mean "run in the dev environment"?
Are you running npm run start and getting file://... errors or your opening the generated index.html directly in the browser?
Anyway, seems like an error on your machine...

from react-redux-saga-boilerplate.

tructu avatar tructu commented on May 18, 2024

Hi @gilbarbara ,

I have an issue same @tamilselvan095 . The command: npm start or npm run start.
The errors on index page.
index_errors

If change "http://localhost:3000/F://scripts/modernizr.js" to http://localhost:3000/scripts/modernizr.js, file is exist.
Could you help me to take a look?

Thanks!

from react-redux-saga-boilerplate.

gilbarbara avatar gilbarbara commented on May 18, 2024

@tructu Apparently this is a Window-only error and I don't have a way to test it.
If you discover how to handle it please, let me know or open a PR.

from react-redux-saga-boilerplate.

gilbarbara avatar gilbarbara commented on May 18, 2024

@manojchowdary27 You've probably broken the builds

from react-redux-saga-boilerplate.

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.