assisrafael / assisrafael/react-bootstrap-utils

Error with the 'npm run start" in current release

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, webpack
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.