ionic-webpack
ionic-webpack copied to clipboard
ERROR in Path must be a string. Received undefined
[10:16:09] Using gulpfile ~/ionic-webpack/gulpfile.js
[10:16:09] Starting 'webpack'...
[10:16:11] [webpack] Hash: bacd30bebd30b13a42cd
Version: webpack 1.13.1
Time: 2557ms
Asset Size Chunks Chunk Names
152c291c7e65a07a6587ab148e2fe4c6.eot 102 kB [emitted]
3a3e4c4ddbecd6bd63e17a4057d0771c.ttf 165 kB [emitted]
c51d32dd8aa851634aa8f7f4d1e0e819.woff 57.3 kB [emitted]
ac3c50e4cfa03a5a48b39821746107a2.svg 286 kB [emitted]
index.js 1.84 MB 0 [emitted] index
index.html 52 bytes [emitted]
chunk {0} index.js (index) 1.8 MB [rendered]
[0] ./app/index.js 2 kB {0} [built]
[1] ./bower_components/angular/angular.js 791 kB {0} [built]
[2] ./app/common/libs/index.js 1.73 kB {0} [built]
[3] ./bower_components/angular-animate/angular-animate.js 78 kB {0} [built]
[4] ./bower_components/angular-sanitize/angular-sanitize.js 21.8 kB {0} [built]
[5] ./bower_components/angular-ui-router/release/angular-ui-router.js 116 kB {0} [built]
[6] ./bower_components/ionic/js/ionic.js 237 kB {0} [built]
[7] ./bower_components/ionic/js/ionic-angular.js 290 kB {0} [built]
[8] ./app/layout/index.js 243 bytes {0} [built]
[9] ./app/layout/directives/appContainer.js 132 bytes {0} [built]
[10] ./app/layout/directives/appContainer.html 840 bytes {0} [built]
[11] ./app/tasks/index.js 288 bytes {0} [built]
[12] ./app/tasks/states.js 553 bytes {0} [built]
[13] ./app/tasks/controllers/taskList.js 277 bytes {0} [built]
[14] ./app/tasks/controllers/taskList.html 829 bytes {0} [built]
[15] ./app/tasks/controllers/taskReports.js 86 bytes {0} [built]
[16] ./app/tasks/controllers/taskReports.html 415 bytes {0} [built]
[17] ./package.json 694 bytes {0} [built]
[18] ./app/config.js 67 bytes {0} [built]
[19] ./app/index.scss 1.09 kB {0} [built]
[20] ./~/css-loader!./~/sass-loader?outputStyle=expanded!./app/index.scss 244 kB {0} [built]
[21] ./~/css-loader/lib/css-base.js 1.51 kB {0} [built]
[22] ./bower_components/ionic/fonts/ionicons.eot?v=1.5.2 82 bytes {0} [built]
[23] ./bower_components/ionic/fonts/ionicons.ttf?v=1.5.2 82 bytes {0} [built]
[24] ./bower_components/ionic/fonts/ionicons.woff?v=1.5.2 83 bytes {0} [built]
[25] ./bower_components/ionic/fonts/ionicons.svg?v=1.5.2 82 bytes {0} [built]
[26] ./~/style-loader/addStyles.js 7.15 kB {0} [built]
ERROR in Path must be a string. Received undefined
[10:16:11] Finished 'webpack' after 2.59 s
[10:16:11] Starting 'install'...
[10:16:11] Finished 'install' after 11 μs
[10:16:11] Starting 'default'...
[10:16:11] Finished 'default' after 17 μs
Any idea what Path
should contain and where it's being used?
--display-error-details
didn't help :(
webpack --display-error-details -dw
Hash: 6e3016f3f603df6b599f
Version: webpack 1.13.1
Time: 3470ms
Asset Size Chunks Chunk Names
152c291c7e65a07a6587ab148e2fe4c6.eot 102 kB [emitted]
3a3e4c4ddbecd6bd63e17a4057d0771c.ttf 165 kB [emitted]
c51d32dd8aa851634aa8f7f4d1e0e819.woff 57.3 kB [emitted]
ac3c50e4cfa03a5a48b39821746107a2.svg 286 kB [emitted]
index.js 1.85 MB 0 [emitted] index
index.js.map 2.18 MB 0 [emitted] index
index.html 52 bytes [emitted]
[0] ./app/index.js 2 kB {0} [built]
[2] ./app/common/libs/index.js 1.73 kB {0} [built]
[8] ./app/layout/index.js 243 bytes {0} [built]
[9] ./app/layout/directives/appContainer.js 132 bytes {0} [built]
[11] ./app/tasks/index.js 288 bytes {0} [built]
[12] ./app/tasks/states.js 553 bytes {0} [built]
[13] ./app/tasks/controllers/taskList.js 277 bytes {0} [built]
[15] ./app/tasks/controllers/taskReports.js 86 bytes {0} [built]
[18] ./app/config.js 67 bytes {0} [built]
+ 18 hidden modules
ERROR in Path must be a string. Received undefined
Thanks for submitting the issue. I haven't been actively using this for some time and I would assume the dependencies and configs probably need updating. I have another boilerplate project for ionic that uses webpack you might want to refer to. https://github.com/cmackay/hybrid-boilerplate If I have some time I'll take a look at this in more detail. Thanks!