-
Notifications
You must be signed in to change notification settings - Fork 12
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
Yarn start builds but throws in an error with "base_lang" #13
Labels
Comments
FWIW I was able to run outputPS E:\Users\admin\Documents\GitHub\carbon-for-ibm-dotcom-web-components-template> yarn start
yarn run v1.22.5
$ webpack-dev-server --config ./config/webpack-dev.config.js --watch --colors -d
i 「wds」: Project is running at http://localhost:8081/webpack-dev-server/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from E:\Users\admin\Documents\GitHub\carbon-for-ibm-dotcom-web-components-template\dist
i 「wds」: 404s will fallback to /index.html
i 「wdm」: Hash: 0f9f34c543cad60a9679
Version: webpack 4.46.0
Time: 17262ms
Built at: 08/18/2021 4:03:25 PM
Asset Size Chunks Chunk Names
./assets/css/home.css 152 KiB home [emitted] home
./assets/css/page2.css 152 KiB page2 [emitted] page2
./assets/js/home.js 22.2 MiB home [emitted] home
./assets/js/page2.js 21.3 MiB page2 [emitted] page2
./en-us/index.html 39.2 KiB [emitted]
./en-us/page2.html 37.9 KiB [emitted]
./fr-ca/index.html 39.3 KiB [emitted]
./fr-ca/page2.html 38 KiB [emitted]
assets/images/card-sample-1.jpg 47.5 KiB [emitted]
assets/images/card-sample-2.jpg 51.5 KiB [emitted]
assets/images/card-sample-3.jpg 48.2 KiB [emitted]
assets/images/card-sample-4.jpg 67.8 KiB [emitted]
assets/images/card-sample-5.jpg 84.5 KiB [emitted]
assets/images/card-sample-6.jpg 79.2 KiB [emitted]
assets/images/leadspace-sample-1.jpg 318 KiB [emitted]
assets/images/leadspace-sample-2.jpg 499 KiB [emitted]
assets/images/logo-sample.jpg 15.6 KiB [emitted]
assets/scss/app.scss 1.67 KiB [emitted]
Entrypoint home = ./assets/css/home.css ./assets/js/home.js
Entrypoint page2 = ./assets/css/page2.css ./assets/js/page2.js
[./node_modules/@carbon/ibmdotcom-web-components/es/components/button-group/index.js] 288 bytes {home} {page2} [built]
[./node_modules/@carbon/ibmdotcom-web-components/es/components/card-group/index.js] 403 bytes {home} {page2} [built]
[./node_modules/@carbon/ibmdotcom-web-components/es/components/card-section-images/card-section-images.js] 1.93 KiB {home} {page2} [built]
[./node_modules/@carbon/ibmdotcom-web-components/es/components/card-section-simple/card-section-simple.js] 1.93 KiB {home} {page2} [built]
[./node_modules/@carbon/ibmdotcom-web-components/es/components/card-section-simple/index.js] 517 bytes {home} [built]
[./node_modules/@carbon/ibmdotcom-web-components/es/components/card/index.js] 330 bytes {home} {page2} [built]
[./node_modules/@carbon/ibmdotcom-web-components/es/components/content-block-media/index.js] 460 bytes {home} {page2} [built]
[./node_modules/@carbon/ibmdotcom-web-components/es/components/content-block-mixed/content-block-mixed.js] 1.65 KiB {home} {page2} [built]
[./node_modules/@carbon/ibmdotcom-web-components/es/components/content-block-segmented/index.js] 621 bytes {home} {page2} [built]
[./node_modules/@carbon/ibmdotcom-web-components/es/components/content-block-simple/index.js] 392 bytes {home} {page2} [built]
[./node_modules/@carbon/ibmdotcom-web-components/es/components/content-block/index.js] 442 bytes {home} {page2} [built]
[./node_modules/@carbon/ibmdotcom-web-components/es/components/content-group-cards/index.js] 502 bytes {home} {page2} [built]
[./node_modules/@carbon/ibmdotcom-web-components/es/components/content-group-pictograms/index.js] 430 bytes {home} {page2} [built]
[./src/pages/home/home.js] 2.98 KiB {home} [built]
[./src/pages/page2/page2.js] 2.34 KiB {page2} [built]
+ 580 hidden modules
Child HtmlWebpackCompiler:
Asset Size Chunks Chunk Names
__child-HtmlWebpackPlugin_0 515 KiB HtmlWebpackPlugin_0 HtmlWebpackPlugin_0
__child-HtmlWebpackPlugin_1 483 KiB HtmlWebpackPlugin_1 HtmlWebpackPlugin_1
Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
Entrypoint HtmlWebpackPlugin_1 = __child-HtmlWebpackPlugin_1
[./config/handlebars.js] 1.17 KiB {HtmlWebpackPlugin_0} {HtmlWebpackPlugin_1} [built]
[./node_modules/handlebars/dist/cjs/handlebars.runtime.js] 4.5 KiB {HtmlWebpackPlugin_0} {HtmlWebpackPlugin_1} [built]
[./node_modules/handlebars/dist/cjs/handlebars/base.js] 9.41 KiB {HtmlWebpackPlugin_0} {HtmlWebpackPlugin_1} [built]
[./node_modules/handlebars/dist/cjs/handlebars/decorators.js] 1000 bytes {HtmlWebpackPlugin_0} {HtmlWebpackPlugin_1} [built]
[./node_modules/handlebars/dist/cjs/handlebars/exception.js] 5.81 KiB {HtmlWebpackPlugin_0} {HtmlWebpackPlugin_1} [built]
[./node_modules/handlebars/dist/cjs/handlebars/helpers.js] 3.82 KiB {HtmlWebpackPlugin_0} {HtmlWebpackPlugin_1} [built]
[./node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js] 8.47 KiB {HtmlWebpackPlugin_0} {HtmlWebpackPlugin_1} [built]
[./node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js] 2.14 KiB {HtmlWebpackPlugin_0} {HtmlWebpackPlugin_1} [built]
[./node_modules/handlebars/dist/cjs/handlebars/no-conflict.js] 1.5 KiB {HtmlWebpackPlugin_0} {HtmlWebpackPlugin_1} [built]
[./node_modules/handlebars/dist/cjs/handlebars/runtime.js] 43.7 KiB {HtmlWebpackPlugin_0} {HtmlWebpackPlugin_1} [built]
[./node_modules/handlebars/dist/cjs/handlebars/safe-string.js] 1.14 KiB {HtmlWebpackPlugin_0} {HtmlWebpackPlugin_1} [built]
[./node_modules/handlebars/dist/cjs/handlebars/utils.js] 10.1 KiB {HtmlWebpackPlugin_0} {HtmlWebpackPlugin_1} [built]
[./node_modules/html-webpack-plugin/lib/loader.js!./src/pages/home/home.hbs] 50.1 KiB {HtmlWebpackPlugin_0} [built]
[./node_modules/html-webpack-plugin/lib/loader.js!./src/pages/page2/page2.hbs] 39.5 KiB {HtmlWebpackPlugin_1} [built]
[./src/layouts/base.hbs] 17.1 KiB {HtmlWebpackPlugin_0} {HtmlWebpackPlugin_1} [built]
+ 11 hidden modules
Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--8-1!node_modules/postcss-loader/dist/cjs.js??ref--8-2!node_modules/sass-loader/dist/cjs.js??ref--8-3!src/assets/scss/app.scss:
Entrypoint mini-css-extract-plugin = *
[./node_modules/css-loader/index.js?!./node_modules/postcss-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./src/assets/scss/app.scss] ./node_modules/css-loader??ref--8-1!./node_modules/postcss-loader/dist/cjs.js??ref--8-2!./node_modules/sass-loader/dist/cjs.js??ref--8-3!./src/assets/scss/app.scss 158 KiB {mini-css-extract-plugin} [built]
[./node_modules/css-loader/lib/css-base.js] 2.21 KiB {mini-css-extract-plugin} [built]
i 「wdm」: Compiled successfully.
[Browsersync] Proxying: http://localhost:8081
[Browsersync] Access URLs:
--------------------------------------------
Local: http://localhost:3000/en-us/
External: http://192.168.1.96:3000/en-us/
--------------------------------------------
UI: http://localhost:3001
UI External: http://localhost:3001
--------------------------------------------
[Browsersync] Watching files... |
Turns out I'm using a much older version of Powershell, version 5.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Yarn start builds but throws in an error with "base_lang"
Detailed description
ERROR in TypeError: Cannot read property 'base_lang' of undefined
handlebars.js:9 Object.eval
webpack-internal:///./config/handlebars.js:9:22
wrapHelper.js:15 Object.wrapper
[.]/[handlebars]/dist/cjs/handlebars/internal/wrapHelper.js:15:19
base.hbs:147 Object.main
webpack-internal:///./src/layouts/base.hbs:147:98
runtime.js:208 main
[.]/[handlebars]/dist/cjs/handlebars/runtime.js:208:32
runtime.js:212 ret
[.]/[handlebars]/dist/cjs/handlebars/runtime.js:212:12
runtime.js:334 Object.invokePartial
[.]/[handlebars]/dist/cjs/handlebars/runtime.js:334:12
runtime.js:84 Object.invokePartialWrapper [as invokePartial]
[.]/[handlebars]/dist/cjs/handlebars/runtime.js:84:39
app.hbs:185 Object.main
[.]/[html-webpack-plugin]/lib/loader.js!./src/pages/app/app.hbs:185:31
runtime.js:208 main
[.]/[handlebars]/dist/cjs/handlebars/runtime.js:208:32
runtime.js:212 ret
[.]/[handlebars]/dist/cjs/handlebars/runtime.js:212:12`
Steps to reproduce the issue
The text was updated successfully, but these errors were encountered: