This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
React MusicStore Sample: Does not run (Error TS2503: Cannot find namespace 'Redux'.) #529
Closed
Description
After running dotnet restore
on the root directory and npm install
in the sample/react/MusicStore
directory, executing dotnet run
and navigating to http://localhost:5000/
results in the following exception:
Exception: Call to Node module failed with error: Error: Webpack compilation reported errors. Compiler output follows: Hash: d6c48da890fe591345ab
Version: webpack 1.14.0
Time: 3365ms
Asset Size Chunks Chunk Names
webpack-output.js 111 kB 0 [emitted] main
ERROR in ./ReactApp/configureStore.ts
(19,75): error TS2503: Cannot find namespace 'Redux'.
at <redacted>/work/JavaScriptServices/samples/react/MusicStore/node_modules/aspnet-webpack/LoadViaWebpack.js:111:31
at Compiler.<anonymous> (<redacted>/work/JavaScriptServices/samples/react/MusicStore/node_modules/webpack/lib/Compiler.js:194:14)
at Compiler.emitRecords (<redacted>/work/JavaScriptServices/samples/react/MusicStore/node_modules/webpack/lib/Compiler.js:282:37)
at Compiler.<anonymous> (<redacted>/work/JavaScriptServices/samples/react/MusicStore/node_modules/webpack/lib/Compiler.js:187:11)
at <redacted>/work/JavaScriptServices/samples/react/MusicStore/node_modules/webpack/lib/Compiler.js:275:11
at Compiler.applyPluginsAsync (<redacted>/work/JavaScriptServices/samples/react/MusicStore/node_modules/tapable/lib/Tapable.js:60:69)
at Compiler.afterEmit (<redacted>/work/JavaScriptServices/samples/react/MusicStore/node_modules/webpack/lib/Compiler.js:272:8)
at Compiler.<anonymous> (<redacted>/work/JavaScriptServices/samples/react/MusicStore/node_modules/webpack/lib/Compiler.js:267:14)
at <redacted>/work/JavaScriptServices/samples/react/MusicStore/node_modules/async/lib/async.js:52:16
at Object.async.forEachOf.async.eachOf (<redacted>/work/JavaScriptServices/samples/react/MusicStore/node_modules/async/lib/async.js:236:30)
Metadata
Metadata
Assignees
Labels
No labels