Something went wrong while setting issue due date.
Updating from 0.2.3 to 0.4.0 Html Webpack Plugin - ReferenceError: window is not defined
Closed
Updating from 0.2.3 to 0.4.0 Html Webpack Plugin - ReferenceError: window is not defined
Created by: FranciscoGileno
I tried to update to 0.4.0 following the changelog, and got this after "npm start"
Have I done something wrong?
OBS: I am using Windows 10 and Git Bash as my Terminal.
Html Webpack Plugin: ReferenceError: window is not defined
- addStyles.js?:14 eval
C:\Projects\cantina-self-service\control-panel/
/react-scripts//style-loader/addStyles.js?:14:30 - addStyles.js?:9 eval
C:\Projects\cantina-self-service\control-panel/
/react-scripts//style-loader/addStyles.js?:9:47 - addStyles.js?:31 module.exports
C:\Projects\cantina-self-service\control-panel/
/react-scripts//style-loader/addStyles.js?:31:68 - material.css?:7 eval C:\Projects\cantina-self-service\control-panel/~/react-mdl/extra/material.css?:7:93
- index.html:561 Object. C:/Projects/cantina-self-service/control-panel/index.html:561:2
- index.html:519 webpack_require C:/Projects/cantina-self-service/control-panel/index.html:519:30
- index.html:50 fn C:/Projects/cantina-self-service/control-panel/index.html:50:20
- loader.js:1 eval
C:\Projects\cantina-self-service\control-panel/index.html?./
/react-scripts//html-webpack-plugin/lib/loader.j s:1:367 - index.html:552 Object. C:/Projects/cantina-self-service/control-panel/index.html:552:2
- index.html:519 webpack_require C:/Projects/cantina-self-service/control-panel/index.html:519:30
- From previous event:
- index.js:108 Compiler. [control-panel]/[react-scripts]/[html-webpack-plugin]/index.js:108:8
- Tapable.js:71 Compiler.applyPluginsAsync [control-panel]/[react-scripts]/[tapable]/lib/Tapable.js:71:13
- Compiler.js:226 Compiler.emitAssets [control-panel]/[react-scripts]/[webpack]/lib/Compiler.js:226:7
- Compiler.js:54 Watching. [control-panel]/[react-scripts]/[webpack]/lib/Compiler.js:54:18
- Compiler.js:403 [control-panel]/[react-scripts]/[webpack]/lib/Compiler.js:403:12
- Tapable.js:67 Compiler.next [control-panel]/[react-scripts]/[tapable]/lib/Tapable.js:67:11
- CachePlugin.js:40 Compiler. [control-panel]/[react-scripts]/[webpack]/lib/CachePlugin.js:40:4
- Tapable.js:71 Compiler.applyPluginsAsync [control-panel]/[react-scripts]/[tapable]/lib/Tapable.js:71:13
- Compiler.js:400 Compiler. [control-panel]/[react-scripts]/[webpack]/lib/Compiler.js:400:9
- Compilation.js:577 Compilation. [control-panel]/[react-scripts]/[webpack]/lib/Compilation.js:577:13
- Tapable.js:60 Compilation.applyPluginsAsync [control-panel]/[react-scripts]/[tapable]/lib/Tapable.js:60:69
- Compilation.js:572 Compilation. [control-panel]/[react-scripts]/[webpack]/lib/Compilation.js:572:10
- Tapable.js:60 Compilation.applyPluginsAsync [control-panel]/[react-scripts]/[tapable]/lib/Tapable.js:60:69
- Compilation.js:567 Compilation. [control-panel]/[react-scripts]/[webpack]/lib/Compilation.js:567:9
- Tapable.js:60 Compilation.applyPluginsAsync [control-panel]/[react-scripts]/[tapable]/lib/Tapable.js:60:69
- Compilation.js:563 Compilation. [control-panel]/[react-scripts]/[webpack]/lib/Compilation.js:563:8
- Tapable.js:60 Compilation.applyPluginsAsync [control-panel]/[react-scripts]/[tapable]/lib/Tapable.js:60:69
- Compilation.js:525 Compilation.seal [control-panel]/[react-scripts]/[webpack]/lib/Compilation.js:525:7
- Compiler.js:397 Compiler. [control-panel]/[react-scripts]/[webpack]/lib/Compiler.js:397:15