GithubHelp home page GithubHelp logo

Comments (8)

isaacabraham avatar isaacabraham commented on June 13, 2024

@theimowski does the template nowadays generate node-10.x compatible solutions?

from safe-dojo.

theimowski avatar theimowski commented on June 13, 2024

I haven't tested it with node 10. Looks like its Yarn <-> node compatibility issue

from safe-dojo.

WalternativE avatar WalternativE commented on June 13, 2024

The problem stems from the upath dependency which is pulled in transitively via the webpack dev server. It's rather easy to resolve: just delete the yarn lock-file, start a yarn install to generate a new lock-file and use the build.cmd to run your project. In theory everything should still work as the dependencies are already stated explicitly in the package.json file. I'm currently investigating this. Is a more recent version of the lock-file something I could offer as a PR when I'm done testing, @isaacabraham?

from safe-dojo.

isaacabraham avatar isaacabraham commented on June 13, 2024

Sure, that would be great. As long as the dependencies are still backwards-compatible, that's great.

from safe-dojo.

WalternativE avatar WalternativE commented on June 13, 2024

As far as I can tell they still are - unfortunately I'm currently experiencing problems with node 8.x LTS on my machine - I'll set up a VM tomorrow and verify it with this setup.

from safe-dojo.

voronoipotato avatar voronoipotato commented on June 13, 2024

I did

yarn upgrade webpack

Seems to fix the problem.

enzymejs/enzyme#1637

from safe-dojo.

fergusmeiklejohn avatar fergusmeiklejohn commented on June 13, 2024

The build is still failing out the box
yarn upgrade fixes it

Perhaps we should add this as a first time build step in the readme? I worry this sort of thing puts newcomers off

from safe-dojo.

isaacabraham avatar isaacabraham commented on June 13, 2024

Ouch. Sorry - Didn't realise this is fixed. I'll accept that PR now!

from safe-dojo.

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.