Comments (5)
@onezerobinary, the next release of Richie will fix this issue. You do not need anymore to fix that by the hard way !
from richie.
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.
The js udpate dependecy pull request #1826 fixes this error.
from richie.
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.
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)
- "Load more" remains displayed at the bottom of the list on teacher dashboard HOT 1
- Frontend - View - Learner Dashboard - Order detail payment schedule
- Frontend - View - Administration Dashboard - Learner file
- Frontend - Sale Tunnel - New Sale Tunnel with payment schedule
- Download Certificate / Contract does not work HOT 1
- Fix `HttpError` constructor with empty statusText
- Remove Google Universal Analytics
- ✨(frontend) Exclude dummy backend from production build
- Flag as enrolled to On going products HOT 1
- Ongoing products linked to the Joanie product resource link
- Learner dashboard - Contract download - Error message shown without error
- Teacher dashboard - Protected routes
- utils onSuggestionsFetchRequested raising lot of errors
- Ecommerce integration HOT 1
- ✨(frontend) add "purchased" flag on learner dashboard course item
- Learner Dashboard - Course list - Filter out Inactive Enrollments
- Learner Dashboard - Responsive issue with long course title
- Dashboard SearchInput - Cannot reset search if the previous search had no results
- Cookiecutter - fix template and upgrade deps
- React JS bundles not loading from CDN domain
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from richie.