Git Product home page Git Product logo

Comments (5)

jbpenrath avatar jbpenrath commented on September 23, 2024 1

@onezerobinary, the next release of Richie will fix this issue. You do not need anymore to fix that by the hard way !

from richie.

jbpenrath avatar jbpenrath commented on September 23, 2024

Once webpack-cli installed, this error happens next.

[webpack-cli] TypeError: Cannot read properties of undefined (reading 'getArguments')
    at WebpackCLI.getBuiltInOptions (/app/src/frontend/node_modules/webpack-cli/lib/webpack-cli.js:745:63)
    at makeCommand.options.entry (/app/src/frontend/node_modules/webpack-cli/lib/webpack-cli.js:870:32)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async WebpackCLI.makeCommand (/app/src/frontend/node_modules/webpack-cli/lib/webpack-cli.js:395:31)
    at async loadCommandByName (/app/src/frontend/node_modules/webpack-cli/lib/webpack-cli.js:866:17)
    at async Command.<anonymous> (/app/src/frontend/node_modules/webpack-cli/lib/webpack-cli.js:1262:17)
    at async Command.parseAsync (/app/src/frontend/node_modules/webpack-cli/node_modules/commander/lib/command.js:916:5)
    at async WebpackCLI.run (/app/src/frontend/node_modules/webpack-cli/lib/webpack-cli.js:1286:9)
    at async runCLI (/app/src/frontend/node_modules/webpack-cli/lib/bootstrap.js:9:9)

from richie.

jbpenrath avatar jbpenrath commented on September 23, 2024

The js udpate dependecy pull request #1826 fixes this error.

from richie.

enricozanardo avatar enricozanardo commented on September 23, 2024

I solved with the following steps: 🚀

Go to the frontend folder:

cd sites/<name_app>/src/frontend

in case, remove the node_modules folder

rm -R node_modules

remove yarn.lock

rm yarn.lock

add the following libraries to the package.json

"devDependencies": {
	...
	...
	
    "webpack": "5.75.0",
    "webpack-cli": "^5.0.0",
    "source-map-loader":"4.0.1"
  }

do yarn and wait untill all the libraries are loaded:

yarn

go back to the root folder:

cd ../../../../.

run the command:

make bootstrap

enjoy 🤙🏽 !!

from richie.

jbpenrath avatar jbpenrath commented on September 23, 2024

Richie v2.18.0 is out ! 🎉
https://app.circleci.com/pipelines/github/openfun/richie/5546/workflows/74db9b43-e6d4-4063-a4e6-d73424e8296c

from richie.

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.