assisrafael / assisrafael/react-bootstrap-utils

Error with the 'npm run start" in current release

Offen
#47 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
6
Forks
5
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I got an error message when performing the following steps:
```
git clone ...
npm install
npm run build
npm run start
```
The `npm run start` command printed the following error message:
`Error: Cannot find module 'webpack-cli/bin/config-yargs'`

It seems to be a problem of incompatibility between the webpack, webpack-cli and the webpack-dev-server versions. I downgraded the webpack and webpack-cli and this problem was gone.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Clone the repository, run the reported npm install, npm run build, and npm run start sequence, and confirm the webpack-cli/bin/config-yargs error. Then inspect the webpack, webpack-cli, and webpack-dev-server dependency versions and their package configuration; done means a clean install can start successfully without the missing-module error.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, node.js, webpack
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.