assisrafael / assisrafael/react-bootstrap-utils

Error with the 'npm run start" in current release

Aperta
#47 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
6
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, node.js, webpack
Ambito
build-system
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.