Giter Club home page Giter Club logo

Comments (2)

RileyMShea avatar RileyMShea commented on August 22, 2024 1

You will almost assuredly have issues trying to use node version 14.x with any of these examples(and any React project for the near future) as it is not the current LTS (version 12 is).

First off I would switch nodejs to version 12 as that is the current nodejs LTS. I'd personally uninstall 14 completely then install v12, but nvm is option if you need v14 for other projects. Trying to get any react project to work with nodejs v14 is probably a nightmare scenario(at present day).

In this case however it sounds like you may not have installed the the project dependendencies(which include webpack).

First I would remove your existing node_modules folder in the project folder (if it exists)

rm -rf node_modules

You should then be able to simply:

# At project root directory(this will run build:dll after main dependency installation)
npm install
# after that finishes npm run start should work
npm run start

from strapi-examples.

wcousin avatar wcousin commented on August 22, 2024

Thank you. That helped the dll file issue. I still get the following error:

Error: Plugin could not be registered at 'html-webpack-plugin-before-html-generation'. Hook was not found.
BREAKING CHANGE: There need to exist a hook at 'this.hooks'. To create a compatibility layer for this hook, hook into 'this._pluginCompat'. It has something to do with 'tapable' in node_modules and the reactboilerplate.

I'm now running node 12.16.3.

from strapi-examples.

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.