Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to ^3.0.0 broke build #5119

Closed
damianobarbati opened this issue Jun 20, 2017 · 3 comments
Closed

Upgrade to ^3.0.0 broke build #5119

damianobarbati opened this issue Jun 20, 2017 · 3 comments

Comments

@damianobarbati
Copy link

Dependencies =>

"autobind-decorator": "^1.3.4",
        "autoprefixer": "^7.1.1",
        "babel-core": "^6.7.4",
        "babel-eslint": "^7.1.1",
        "babel-loader": "^7.1.0",
        "babel-plugin-react-css-modules": "^3.0.0",
        "babel-plugin-syntax-class-properties": "^6.13.0",
        "babel-plugin-transform-decorators-legacy": "^1.3.4",
        "babel-polyfill": "^6.20.0",
        "babel-preset-env": "2.0.0-alpha.3",
        "babel-preset-react": "^6.5.0",
        "babel-preset-stage-0": "^6.16.0",
        "babili": "^0.1.4",
        "babili-webpack-plugin": "^0.1.1",
        "case-sensitive-paths-webpack-plugin": "^2.1.1",
        "clean-webpack-plugin": "0.1.16",
        "compression-webpack-plugin": "^0.4.0",
        "css-loader": "^0.28.4",
        "cssnano": "^3.10.0",
        "deep-diff": "^0.3.8",
        "eslint": "^4.0.0",
        "eslint-loader": "^1.8.0",
        "eslint-plugin-import": "^2.2.0",
        "eslint-plugin-jest": "^20.0.3",
        "eslint-plugin-react": "^7.1.0",
        "extract-text-webpack-plugin": "^2.1.0",
        "favicons-webpack-plugin": "^0.0.7",
        "file-loader": "^0.11.1",
        "history": "^4.6.3",
        "html-webpack-plugin": "^2.25.0",
        "img-loader": "^2.0.0",
        "json-loader": "^0.5.4",
        "material-ui": "^0.18.1",
        "material-ui-community-icons": "^0.15.0",
        "node-sass": "^4.1.1",
        "open-browser-webpack-plugin": "^0.0.5",
        "postcss-load-config": "^1.1.0",
        "postcss-loader": "^2.0.6",
        "postcss-scss": "^1.0.0",
        "query-string": "^4.3.4",
        "react": "^15.6.1",
        "react-addons-perf": "^15.4.2",
        "react-create-app": "^1.0.3",
        "react-create-store": "^1.0.4",
        "react-dimensions": "^1.3.0",
        "react-dom": "^15.6.1",
        "react-ga": "^2.2.0",
        "react-highcharts": "^12.0.0",
        "react-moment": "^0.2.4",
        "react-redux": "^5.0.1",
        "react-router": "^4.1.1",
        "react-router-dom": "^4.1.1",
        "react-router-redux": "next",
        "react-sizeme": "^2.3.4",
        "react-svg-inline": "^2.0.0",
        "react-swipeable-views": "^0.12.3",
        "react-tap-event-plugin": "^2.0.0",
        "react-transition-group": "^1.2.0",
        "recompose": "^0.23.4",
        "redux": "^3.7.0",
        "redux-action-buffer": "^1.0.1",
        "redux-actions": "^2.0.3",
        "redux-devtools-extension": "^2.13.2",
        "redux-logger": "^3.0.6",
        "redux-persist": "^4.1.0",
        "redux-persist-crosstab": "^3.5.2",
        "redux-promise": "^0.5.3",
        "redux-thunk": "^2.1.0",
        "sass-loader": "^6.0.6",
        "string-replace-loader": "^1.2.0",
        "style-loader": "^0.18.2",
        "stylelint-config-sass-guidelines": "^2.1.0",
        "stylelint-config-standard": "^16.0.0",
        "stylelint-scss": "^1.4.4",
        "stylelint-webpack-plugin": "^0.7.0",
        "url-loader": "^0.5.9",
        "webpack": "^3.0.0",
        "webpack-bundle-analyzer": "^2.8.2",
        "webpack-chunk-hash": "^0.4.0",
        "webpack-notifier": "^1.5.0"

Error when building =>

 + 1233 hidden modules

ERROR in   TypeError: Cannot read property 'request' of undefined
  
  - ExternalModuleFactoryPlugin.js:37 handleExternals
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:37:33
  
  - ExternalModuleFactoryPlugin.js:46 next
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:46:8
  
  - ExternalModuleFactoryPlugin.js:59 handleExternals
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:59:7
  
  - ExternalModuleFactoryPlugin.js:79 ExternalModuleFactoryPlugin.<anonymous>
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:79:5
  
  - NormalModuleFactory.js:246 applyPluginsAsyncWaterfall
    [quant01]/[webpack]/lib/NormalModuleFactory.js:246:4
  
  - Tapable.js:196 NormalModuleFactory.applyPluginsAsyncWaterfall
    [quant01]/[tapable]/lib/Tapable.js:196:70
  
  - NormalModuleFactory.js:230 NormalModuleFactory.create
    [quant01]/[webpack]/lib/NormalModuleFactory.js:230:8
  
  - Compilation.js:383 Compilation._addModuleChain
    [quant01]/[webpack]/lib/Compilation.js:383:17
  
  - Compilation.js:465 Compilation.addEntry
    [quant01]/[webpack]/lib/Compilation.js:465:8
  
  - SingleEntryPlugin.js:22 SingleEntryPlugin.<anonymous>
    [quant01]/[html-webpack-plugin]/[webpack]/lib/SingleEntryPlugin.js:22:15
  
  - Tapable.js:229 Compiler.applyPluginsParallel
    [quant01]/[tapable]/lib/Tapable.js:229:14
  
  - Compiler.js:505 
    [quant01]/[webpack]/lib/Compiler.js:505:8
  
  - Tapable.js:131 Compiler.applyPluginsAsyncSeries
    [quant01]/[tapable]/lib/Tapable.js:131:46
  
  - Compiler.js:498 Compiler.compile
    [quant01]/[webpack]/lib/Compiler.js:498:7
  
  - Compiler.js:284 Compiler.runAsChild
    [quant01]/[webpack]/lib/Compiler.js:284:7
  
  - compiler.js:70 
    [quant01]/[html-webpack-plugin]/lib/compiler.js:70:19
  
  - compiler.js:69 Object.compileTemplate
    [quant01]/[html-webpack-plugin]/lib/compiler.js:69:10
  
  - index.js:47 Compiler.<anonymous>
    [quant01]/[html-webpack-plugin]/index.js:47:40
  
  - Tapable.js:229 Compiler.applyPluginsParallel
    [quant01]/[tapable]/lib/Tapable.js:229:14
  
  - Compiler.js:505 
    [quant01]/[webpack]/lib/Compiler.js:505:8
  
  - Tapable.js:131 Compiler.applyPluginsAsyncSeries
    [quant01]/[tapable]/lib/Tapable.js:131:46
  
  - Compiler.js:498 Compiler.compile
    [quant01]/[webpack]/lib/Compiler.js:498:7
  
  - Compiler.js:46 
    [quant01]/[webpack]/lib/Compiler.js:46:17
  
  - Tapable.js:138 next
    [quant01]/[tapable]/lib/Tapable.js:138:11
  
  - CachePlugin.js:32 Compiler.compiler.plugin
    [quant01]/[webpack]/lib/CachePlugin.js:32:5
  
  - Tapable.js:142 Compiler.applyPluginsAsyncSeries
    [quant01]/[tapable]/lib/Tapable.js:142:13
  
  - Compiler.js:44 Watching._go
    [quant01]/[webpack]/lib/Compiler.js:44:16
  


ERROR in   TypeError: Cannot read property 'request' of undefined
  
  - ExternalModuleFactoryPlugin.js:37 handleExternals
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:37:33
  
  - ExternalModuleFactoryPlugin.js:46 next
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:46:8
  
  - ExternalModuleFactoryPlugin.js:59 handleExternals
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:59:7
  
  - ExternalModuleFactoryPlugin.js:79 ExternalModuleFactoryPlugin.<anonymous>
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:79:5
  
  - NormalModuleFactory.js:246 applyPluginsAsyncWaterfall
    [quant01]/[webpack]/lib/NormalModuleFactory.js:246:4
  
  - Tapable.js:196 NormalModuleFactory.applyPluginsAsyncWaterfall
    [quant01]/[tapable]/lib/Tapable.js:196:70
  
  - NormalModuleFactory.js:230 NormalModuleFactory.create
    [quant01]/[webpack]/lib/NormalModuleFactory.js:230:8
  
  - Compilation.js:383 Compilation._addModuleChain
    [quant01]/[webpack]/lib/Compilation.js:383:17
  
  - Compilation.js:465 Compilation.addEntry
    [quant01]/[webpack]/lib/Compilation.js:465:8
  
  - SingleEntryPlugin.js:22 SingleEntryPlugin.<anonymous>
    [quant01]/[html-webpack-plugin]/[webpack]/lib/SingleEntryPlugin.js:22:15
  
  - Tapable.js:229 Compiler.applyPluginsParallel
    [quant01]/[tapable]/lib/Tapable.js:229:14
  
  - Compiler.js:505 
    [quant01]/[webpack]/lib/Compiler.js:505:8
  
  - Tapable.js:131 Compiler.applyPluginsAsyncSeries
    [quant01]/[tapable]/lib/Tapable.js:131:46
  
  - Compiler.js:498 Compiler.compile
    [quant01]/[webpack]/lib/Compiler.js:498:7
  
  - Compiler.js:284 Compiler.runAsChild
    [quant01]/[webpack]/lib/Compiler.js:284:7
  
  - compiler.js:70 
    [quant01]/[html-webpack-plugin]/lib/compiler.js:70:19
  
  - compiler.js:69 Object.compileTemplate
    [quant01]/[html-webpack-plugin]/lib/compiler.js:69:10
  
  - index.js:47 Compiler.<anonymous>
    [quant01]/[html-webpack-plugin]/index.js:47:40
  
  - Tapable.js:229 Compiler.applyPluginsParallel
    [quant01]/[tapable]/lib/Tapable.js:229:14
  
  - Compiler.js:505 
    [quant01]/[webpack]/lib/Compiler.js:505:8
  
  - Tapable.js:131 Compiler.applyPluginsAsyncSeries
    [quant01]/[tapable]/lib/Tapable.js:131:46
  
  - Compiler.js:498 Compiler.compile
    [quant01]/[webpack]/lib/Compiler.js:498:7
  
  - Compiler.js:46 
    [quant01]/[webpack]/lib/Compiler.js:46:17
  
  - Tapable.js:138 next
    [quant01]/[tapable]/lib/Tapable.js:138:11
  
  - CachePlugin.js:32 Compiler.compiler.plugin
    [quant01]/[webpack]/lib/CachePlugin.js:32:5
  
  - Tapable.js:142 Compiler.applyPluginsAsyncSeries
    [quant01]/[tapable]/lib/Tapable.js:142:13
  
  - Compiler.js:44 Watching._go
    [quant01]/[webpack]/lib/Compiler.js:44:16


ERROR in   TypeError: Cannot read property 'request' of undefined
  
  - ExternalModuleFactoryPlugin.js:37 handleExternals
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:37:33
  
  - ExternalModuleFactoryPlugin.js:46 next
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:46:8
  
  - ExternalModuleFactoryPlugin.js:59 handleExternals
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:59:7
  
  - ExternalModuleFactoryPlugin.js:79 ExternalModuleFactoryPlugin.<anonymous>
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:79:5
  
  - NormalModuleFactory.js:246 applyPluginsAsyncWaterfall
    [quant01]/[webpack]/lib/NormalModuleFactory.js:246:4
  
  - Tapable.js:196 NormalModuleFactory.applyPluginsAsyncWaterfall
    [quant01]/[tapable]/lib/Tapable.js:196:70
  
  - NormalModuleFactory.js:230 NormalModuleFactory.create
    [quant01]/[webpack]/lib/NormalModuleFactory.js:230:8
  
  - Compilation.js:383 Compilation._addModuleChain
    [quant01]/[webpack]/lib/Compilation.js:383:17
  
  - Compilation.js:465 Compilation.addEntry
    [quant01]/[webpack]/lib/Compilation.js:465:8
  
  - SingleEntryPlugin.js:22 SingleEntryPlugin.<anonymous>
    [quant01]/[html-webpack-plugin]/[webpack]/lib/SingleEntryPlugin.js:22:15
  
  - Tapable.js:229 Compiler.applyPluginsParallel
    [quant01]/[tapable]/lib/Tapable.js:229:14
  
  - Compiler.js:505 
    [quant01]/[webpack]/lib/Compiler.js:505:8
  
  - Tapable.js:131 Compiler.applyPluginsAsyncSeries
    [quant01]/[tapable]/lib/Tapable.js:131:46
  
  - Compiler.js:498 Compiler.compile
    [quant01]/[webpack]/lib/Compiler.js:498:7
  
  - Compiler.js:284 Compiler.runAsChild
    [quant01]/[webpack]/lib/Compiler.js:284:7
  
  - compiler.js:70 
    [quant01]/[html-webpack-plugin]/lib/compiler.js:70:19
  
  - compiler.js:69 Object.compileTemplate
    [quant01]/[html-webpack-plugin]/lib/compiler.js:69:10
  
  - index.js:47 Compiler.<anonymous>
    [quant01]/[html-webpack-plugin]/index.js:47:40
  
  - Tapable.js:229 Compiler.applyPluginsParallel
    [quant01]/[tapable]/lib/Tapable.js:229:14
  
  - Compiler.js:505 
    [quant01]/[webpack]/lib/Compiler.js:505:8
  
  - Tapable.js:131 Compiler.applyPluginsAsyncSeries
    [quant01]/[tapable]/lib/Tapable.js:131:46
  
  - Compiler.js:498 Compiler.compile
    [quant01]/[webpack]/lib/Compiler.js:498:7
  
  - Compiler.js:46 
    [quant01]/[webpack]/lib/Compiler.js:46:17
  
  - Tapable.js:138 next
    [quant01]/[tapable]/lib/Tapable.js:138:11
  
  - CachePlugin.js:32 Compiler.compiler.plugin
    [quant01]/[webpack]/lib/CachePlugin.js:32:5
  
  - Tapable.js:142 Compiler.applyPluginsAsyncSeries
    [quant01]/[tapable]/lib/Tapable.js:142:13
  
  - Compiler.js:44 Watching._go
    [quant01]/[webpack]/lib/Compiler.js:44:16
  


ERROR in   TypeError: Cannot read property 'request' of undefined
  
  - ExternalModuleFactoryPlugin.js:37 handleExternals
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:37:33
  
  - ExternalModuleFactoryPlugin.js:46 next
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:46:8
  
  - ExternalModuleFactoryPlugin.js:59 handleExternals
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:59:7
  
  - ExternalModuleFactoryPlugin.js:79 ExternalModuleFactoryPlugin.<anonymous>
    [quant01]/[html-webpack-plugin]/[webpack]/lib/ExternalModuleFactoryPlugin.js:79:5
  
  - NormalModuleFactory.js:246 applyPluginsAsyncWaterfall
    [quant01]/[webpack]/lib/NormalModuleFactory.js:246:4
  
  - Tapable.js:196 NormalModuleFactory.applyPluginsAsyncWaterfall
    [quant01]/[tapable]/lib/Tapable.js:196:70
  
  - NormalModuleFactory.js:230 NormalModuleFactory.create
    [quant01]/[webpack]/lib/NormalModuleFactory.js:230:8
  
  - Compilation.js:383 Compilation._addModuleChain
    [quant01]/[webpack]/lib/Compilation.js:383:17
  
  - Compilation.js:465 Compilation.addEntry
    [quant01]/[webpack]/lib/Compilation.js:465:8
  
  - SingleEntryPlugin.js:22 SingleEntryPlugin.<anonymous>
    [quant01]/[html-webpack-plugin]/[webpack]/lib/SingleEntryPlugin.js:22:15
  
  - Tapable.js:229 Compiler.applyPluginsParallel
    [quant01]/[tapable]/lib/Tapable.js:229:14
  
  - Compiler.js:505 
    [quant01]/[webpack]/lib/Compiler.js:505:8
  
  - Tapable.js:131 Compiler.applyPluginsAsyncSeries
    [quant01]/[tapable]/lib/Tapable.js:131:46
  
  - Compiler.js:498 Compiler.compile
    [quant01]/[webpack]/lib/Compiler.js:498:7
  
  - Compiler.js:284 Compiler.runAsChild
    [quant01]/[webpack]/lib/Compiler.js:284:7
  
  - compiler.js:70 
    [quant01]/[html-webpack-plugin]/lib/compiler.js:70:19
  
  - compiler.js:69 Object.compileTemplate
    [quant01]/[html-webpack-plugin]/lib/compiler.js:69:10
  
  - index.js:47 Compiler.<anonymous>
    [quant01]/[html-webpack-plugin]/index.js:47:40
  
  - Tapable.js:229 Compiler.applyPluginsParallel
    [quant01]/[tapable]/lib/Tapable.js:229:14
  
  - Compiler.js:505 
    [quant01]/[webpack]/lib/Compiler.js:505:8
  
  - Tapable.js:131 Compiler.applyPluginsAsyncSeries
    [quant01]/[tapable]/lib/Tapable.js:131:46
  
  - Compiler.js:498 Compiler.compile
    [quant01]/[webpack]/lib/Compiler.js:498:7
  
  - Compiler.js:46 
    [quant01]/[webpack]/lib/Compiler.js:46:17
  
  - Tapable.js:138 next
    [quant01]/[tapable]/lib/Tapable.js:138:11
  
  - CachePlugin.js:32 Compiler.compiler.plugin
    [quant01]/[webpack]/lib/CachePlugin.js:32:5
  
  - Tapable.js:142 Compiler.applyPluginsAsyncSeries
    [quant01]/[tapable]/lib/Tapable.js:142:13
  
  - Compiler.js:44 Watching._go
    [quant01]/[webpack]/lib/Compiler.js:44:16
   
@damianobarbati
Copy link
Author

anyone else with the same problem?

@mattlewis92
Copy link
Member

I had the same issue, it's a bug with yarn, see jantimon/html-webpack-plugin#705 (comment) for more info

@damianobarbati
Copy link
Author

ok, it's related to html-webpack-plugin packaging: closing this, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants