assisrafael / assisrafael/react-bootstrap-utils

Error with the 'npm run start" in current release

未关闭
#47 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
6
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, node.js, webpack
领域
build-system
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。