gaearon / gaearon/flux-react-router-example

Error with command: npm start

Open
#49 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.4k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

PS C:\Users\p-c\Downloads\Github\flux-react-router-example> npm start

> flux-react-router-example@0.2.0 start
> node server.js

C:\Users\p-c\Downloads\Github\flux-react-router-example\webpack.config.js:18
new webpack.NoErrorsPlugin()
^

TypeError: webpack.NoErrorsPlugin is not a constructor
at Object. (C:\Users\p-c\Downloads\Github\flux-react-router-example\webpack.config.js:18:5)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (C:\Users\p-c\Downloads\Github\flux-react-router-example\server.js:4:14)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with webpack.config.js at line 18 and trace how it is loaded from server.js. Run npm start after investigating the NoErrorsPlugin constructor failure; done means the command starts without this TypeError.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.