Giter VIP home page Giter VIP logo

Comments (10)

tannerlinsley avatar tannerlinsley commented on May 21, 2024 3

Should be good now. Confirm again?

from react-static.

tannerlinsley avatar tannerlinsley commented on May 21, 2024 1

This should be fixed in the latest release (4b2a6db, [email protected]). Can either of you confirm?

from react-static.

tannerlinsley avatar tannerlinsley commented on May 21, 2024

from react-static.

pkrawc avatar pkrawc commented on May 21, 2024

I was working on this this afternoon as well. vfile also fails the build.

from react-static.

robbieferrero avatar robbieferrero commented on May 21, 2024

Similar issue: Can't resolve 'fs' when bundle with webpack #447
It seems to be a bug in webpack. I attempted a local fix for something I was working on and it got past the build/serve issue, but I ran into a different error with certain 'fs' methods using the workaround outlined in that thread – Adding to webpack.config.dev.js:

node: {
  fs: 'empty'
}

Also, I only get this with yarn start, not build or serve - just FYI

from react-static.

tannerlinsley avatar tannerlinsley commented on May 21, 2024

from react-static.

robbieferrero avatar robbieferrero commented on May 21, 2024

👍 It's looking good for me, with a caveat...
If I react-static create then place my 'fs' based changes in static.config.js, run yarn start - I still get the same error.
If I npm install inside the project directory and run yarn start again, it works fine.

from react-static.

tannerlinsley avatar tannerlinsley commented on May 21, 2024

ah crap. forgot to update the deps to be more lenient in the examples. hold that thought...

from react-static.

robbieferrero avatar robbieferrero commented on May 21, 2024

Lookin' good!

from react-static.

tannerlinsley avatar tannerlinsley commented on May 21, 2024

Awesome! Thanks guys :)

from react-static.

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.