Aurelia UX showcase app fails to load - aurelia

I'm having trouble getting the Aurelia UX Showcase app to run on my local PC. It doesn't currently seem to work on the hosted demo site either, but I'm not sure if that's related. How can I get this running successfully? Is this a bug in the app, or something I'm doing wrong?
I followed the instructions to build the aurelia-ux demo app (located at https://github.com/aurelia/app-ux-showcase), and the app appeared to build succcessfully. However, upon running it, several errors are produced in the server output.
I can browse to the app (at http://localhost:8080) and the browser seems to connect to the server. However, there is no response.
Below is the server output, which is visible in the console after running the au run --env dev command:
C:\src\aurelia-ux-showcase>au run --env dev
Starting 'configureEnvironment'...
Finished 'configureEnvironment'
Starting 'runWebpack'...
(node:14072) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
Project is running at http://localhost:8080
webpack output is served from /
Content not from webpack is served from C:\src\aurelia-ux-showcase\dist
404s will fallback to /index.html
Finished 'runWebpack'
Hash: 8541226efa5bac91e63a
Version: webpack 4.8.3
Time: 5594ms
Built at: 2018-05-22 13:15:17
Asset Size Chunks Chunk Names
2cdebc25fc6d3d42442e69826e81a2c9.png 10.5 KiB [emitted]
main.js 701 KiB main [emitted] [big] main
vendors.js 3.88 MiB vendors [emitted] [big] vendors
index.html 743 bytes [emitted]
Entrypoint main [big] = vendors.js main.js
[./node_modules/aurelia-bootstrapper/dist/native-modules/aurelia-bootstrapper.js] 5.17 KiB {vendors} [built]
[./node_modules/aurelia-loader-webpack/dist/native-modules/aurelia-loader-webpack.js] 14.4 KiB {vendors} [built]
[./node_modules/aurelia-loader/dist/native-modules/aurelia-loader.js] 4.19 KiB {vendors} [built]
[./node_modules/aurelia-logging/dist/native-modules/aurelia-logging.js] 3.4 KiB {vendors} [built]
[./node_modules/aurelia-pal/dist/native-modules/aurelia-pal.js] 2.18 KiB {vendors} [built]
[./node_modules/aurelia-polyfills/dist/native-modules/aurelia-polyfills.js] 24.4 KiB {vendors} [built]
[./node_modules/aurelia-templating/dist/native-modules/aurelia-templating.js] 145 KiB {vendors} [built]
[./node_modules/aurelia-webpack-plugin/runtime/empty-entry.js] 585 bytes {vendors} [built]
[./node_modules/aurelia-webpack-plugin/runtime/pal-loader-entry.js] 1.56 KiB {vendors} [built]
[./node_modules/bluebird/js/browser/bluebird.js] 175 KiB {vendors} [built]
[0] multi aurelia-webpack-plugin/runtime/empty-entry aurelia-webpack-plugin/runtime/pal-loader-entry aurelia-bootstrapper 52 bytes {main} [built]
[./node_modules/process/browser.js] 5.29 KiB {vendors} [built]
[aurelia-framework] ./node_modules/aurelia-framework/dist/native-modules/aurelia-framework.js 13.8 KiB {vendors} [built]
[aurelia-pal-browser] ./node_modules/aurelia-pal-browser/dist/native-modules/aurelia-pal-browser.js 14.2 KiB {vendors} [built]
[main] ./src/main.ts 966 bytes {main} [built]
+ 172 hidden modules
ERROR in ./node_modules/#aurelia-ux/components/dist/native-modules/index.js
Module not found: Error: Can't resolve '#aurelia-ux/button' in 'C:\src\aurelia-ux-showcase\node_modules\#aurelia-ux\components\dist\native-modules'
# ./node_modules/#aurelia-ux/components/dist/native-modules/index.js 2:0-51 2:0-51 15:0-75 30:4-28
# ./src/main.ts
# ./node_modules/aurelia-webpack-plugin/runtime/empty-entry.js
# multi aurelia-webpack-plugin/runtime/empty-entry aurelia-webpack-plugin/runtime/pal-loader-entry aurelia-bootstrapper
ERROR in ./node_modules/#aurelia-ux/components/dist/native-modules/index.js
Module not found: Error: Can't resolve '#aurelia-ux/checkbox' in 'C:\src\aurelia-ux-showcase\node_modules\#aurelia-ux\components\dist\native-modules'
# ./node_modules/#aurelia-ux/components/dist/native-modules/index.js 3:0-67 3:0-67 3:0-67 17:0-79 32:4-30
# ./src/main.ts
# ./node_modules/aurelia-webpack-plugin/runtime/empty-entry.js
# multi aurelia-webpack-plugin/runtime/empty-entry aurelia-webpack-plugin/runtime/pal-loader-entry aurelia-bootstrapper
ERROR in ./node_modules/#aurelia-ux/components/dist/native-modules/index.js
Module not found: Error: Can't resolve '#aurelia-ux/chip-input' in 'C:\src\aurelia-ux-showcase\node_modules\#aurelia-ux\components\dist\native-modules'
# ./node_modules/#aurelia-ux/components/dist/native-modules/index.js 4:0-83 4:0-83 4:0-83 4:0-83 18:0-77 33:4-26
# ./src/main.ts
# ./node_modules/aurelia-webpack-plugin/runtime/empty-entry.js
# multi aurelia-webpack-plugin/runtime/empty-entry aurelia-webpack-plugin/runtime/pal-loader-entry aurelia-bootstrapper
ERROR in ./node_modules/#aurelia-ux/components/dist/native-modules/index.js
Module not found: Error: Can't resolve '#aurelia-ux/datepicker' in 'C:\src\aurelia-ux-showcase\node_modules\#aurelia-ux\components\dist\native-modules'
# ./node_modules/#aurelia-ux/components/dist/native-modules/index.js 6:0-59 6:0-59 19:0-83 34:4-32
# ./src/main.ts
# ./node_modules/aurelia-webpack-plugin/runtime/empty-entry.js
# multi aurelia-webpack-plugin/runtime/empty-entry aurelia-webpack-plugin/runtime/pal-loader-entry aurelia-bootstrapper
ERROR in ./node_modules/#aurelia-ux/components/dist/native-modules/index.js
Module not found: Error: Can't resolve '#aurelia-ux/form' in 'C:\src\aurelia-ux-showcase\node_modules\#aurelia-ux\components\dist\native-modules'
# ./node_modules/#aurelia-ux/components/dist/native-modules/index.js 7:0-47 7:0-47 21:0-71 36:4-26
# ./src/main.ts
# ./node_modules/aurelia-webpack-plugin/runtime/empty-entry.js
# multi aurelia-webpack-plugin/runtime/empty-entry aurelia-webpack-plugin/runtime/pal-loader-entry aurelia-bootstrapper
ERROR in ./node_modules/#aurelia-ux/components/dist/native-modules/index.js
Module not found: Error: Can't resolve '#aurelia-ux/input' in 'C:\src\aurelia-ux-showcase\node_modules\#aurelia-ux\components\dist\native-modules'
# ./node_modules/#aurelia-ux/components/dist/native-modules/index.js 8:0-58 8:0-58 8:0-58 22:0-73 37:4-27
# ./src/main.ts
# ./node_modules/aurelia-webpack-plugin/runtime/empty-entry.js
# multi aurelia-webpack-plugin/runtime/empty-entry aurelia-webpack-plugin/runtime/pal-loader-entry aurelia-bootstrapper
ERROR in ./node_modules/#aurelia-ux/components/dist/native-modules/index.js
Module not found: Error: Can't resolve '#aurelia-ux/input-info' in 'C:\src\aurelia-ux-showcase\node_modules\#aurelia-ux\components\dist\native-modules'
# ./node_modules/#aurelia-ux/components/dist/native-modules/index.js 9:0-58 9:0-58 23:0-82 38:4-31
# ./src/main.ts
# ./node_modules/aurelia-webpack-plugin/runtime/empty-entry.js
# multi aurelia-webpack-plugin/runtime/empty-entry aurelia-webpack-plugin/runtime/pal-loader-entry aurelia-bootstrapper
ERROR in ./node_modules/#aurelia-ux/components/dist/native-modules/index.js
Module not found: Error: Can't resolve '#aurelia-ux/list' in 'C:\src\aurelia-ux-showcase\node_modules\#aurelia-ux\components\dist\native-modules'
# ./node_modules/#aurelia-ux/components/dist/native-modules/index.js 10:0-47 10:0-47 24:0-71 39:4-26
# ./src/main.ts
# ./node_modules/aurelia-webpack-plugin/runtime/empty-entry.js
# multi aurelia-webpack-plugin/runtime/empty-entry aurelia-webpack-plugin/runtime/pal-loader-entry aurelia-bootstrapper
ERROR in ./node_modules/#aurelia-ux/components/dist/native-modules/index.js
Module not found: Error: Can't resolve '#aurelia-ux/radio' in 'C:\src\aurelia-ux-showcase\node_modules\#aurelia-ux\components\dist\native-modules'
# ./node_modules/#aurelia-ux/components/dist/native-modules/index.js 11:0-58 11:0-58 11:0-58 25:0-73 40:4-27
# ./src/main.ts
# ./node_modules/aurelia-webpack-plugin/runtime/empty-entry.js
# multi aurelia-webpack-plugin/runtime/empty-entry aurelia-webpack-plugin/runtime/pal-loader-entry aurelia-bootstrapper
ERROR in ./node_modules/#aurelia-ux/components/dist/native-modules/index.js
Module not found: Error: Can't resolve '#aurelia-ux/switch' in 'C:\src\aurelia-ux-showcase\node_modules\#aurelia-ux\components\dist\native-modules'
# ./node_modules/#aurelia-ux/components/dist/native-modules/index.js 13:0-61 13:0-61 13:0-61 27:0-75 42:4-28
# ./src/main.ts
# ./node_modules/aurelia-webpack-plugin/runtime/empty-entry.js
# multi aurelia-webpack-plugin/runtime/empty-entry aurelia-webpack-plugin/runtime/pal-loader-entry aurelia-bootstrapper
ERROR in ./node_modules/#aurelia-ux/components/dist/native-modules/index.js
Module not found: Error: Can't resolve '#aurelia-ux/textarea' in 'C:\src\aurelia-ux-showcase\node_modules\#aurelia-ux\components\dist\native-modules'
# ./node_modules/#aurelia-ux/components/dist/native-modules/index.js 12:0-67 12:0-67 12:0-67 26:0-79 41:4-30
# ./src/main.ts
# ./node_modules/aurelia-webpack-plugin/runtime/empty-entry.js
# multi aurelia-webpack-plugin/runtime/empty-entry aurelia-webpack-plugin/runtime/pal-loader-entry aurelia-bootstrapper
Child html-webpack-plugin for "index.html":
Asset Size Chunks Chunk Names
index.html 1.36 MiB 0
Entrypoint undefined = index.html
[./node_modules/html-webpack-plugin/lib/loader.js!./index.ejs] 1.1 KiB {0} [built]
[./node_modules/lodash/lodash.js] 527 KiB {0} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 509 bytes {0} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 519 bytes {0} [built]
i 「wdm」: wait until bundle finished: /vendors.js
i 「wdm」: wait until bundle finished: /main.js
i 「wdm」: wait until bundle finished: /
× 「wdm」: ConcurrentCompilationError: You ran Webpack twice. Each instance only supports a single concurrent compilation at a time.
at Compiler.run (C:\src\aurelia-ux-showcase\node_modules\webpack\lib\Compiler.js:151:37)
at rebuild (C:\src\aurelia-ux-showcase\node_modules\webpack-dev-server\node_modules\webpack-dev-middleware\lib\context.js:81:24)
at done (C:\src\aurelia-ux-showcase\node_modules\webpack-dev-server\node_modules\webpack-dev-middleware\lib\context.js:59:7)
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\src\aurelia-ux-showcase\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:24:12), <anonymous>:18:1)
at AsyncSeriesHook.lazyCompileHook [as _callAsync] (C:\src\aurelia-ux-showcase\node_modules\webpack\node_modules\tapable\lib\Hook.js:35:21)
at emitRecords.err (C:\src\aurelia-ux-showcase\node_modules\webpack\lib\Compiler.js:203:22)
at Compiler.emitRecords (C:\src\aurelia-ux-showcase\node_modules\webpack\lib\Compiler.js:315:39)
at emitAssets.err (C:\src\aurelia-ux-showcase\node_modules\webpack\lib\Compiler.js:197:10)
at hooks.afterEmit.callAsync.err (C:\src\aurelia-ux-showcase\node_modules\webpack\lib\Compiler.js:301:14)
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\src\aurelia-ux-showcase\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:24:12), <anonymous>:15:1)
at AsyncSeriesHook.lazyCompileHook [as _callAsync] (C:\src\aurelia-ux-showcase\node_modules\webpack\node_modules\tapable\lib\Hook.js:35:21)
at asyncLib.forEach.err (C:\src\aurelia-ux-showcase\node_modules\webpack\lib\Compiler.js:298:27)
at done (C:\src\aurelia-ux-showcase\node_modules\neo-async\async.js:2854:11)
at C:\src\aurelia-ux-showcase\node_modules\neo-async\async.js:2805:7
at MemoryFileSystem.writeFile (C:\src\aurelia-ux-showcase\node_modules\memory-fs\lib\MemoryFileSystem.js:328:9)
at writeOut (C:\src\aurelia-ux-showcase\node_modules\webpack\lib\Compiler.js:284:29)

Change the command to au run --watch.
It should run using the dev environment by default, and there is a known issue with Webpack and the Aurelia CLI at the moment after one of the recent Webpack updates when running the application without the --watch flag.
Edit
Also, try installing dependencies with Yarn, npm install does not seem to be installing the packages correctly at the moment, however yarn install seems to work fine.
npm install yarn
yarn install

Related

Nativescript-vue Not Live Updating

I used to run the command : tns run android --bundle. And when i saved the changes, they were automatically updated in the physical and virtual android emulators.
Now when i save the changes, nothing happens and have to run the command again to see the changes.
When i save the project, it appears the following message:
File change detected. Starting incremental webpack compilation...
Hash: 2e482eb5460af6f4127a
Version: webpack 4.27.1
Time: 1119ms
Built at: 12/04/2019 11:31:32 AM
Asset Size Chunks Chunk Names
a3a53c6e399658f9e1f5.hot-update.json 48 bytes [emitted]
bundle.a3a53c6e399658f9e1f5.hot-update.js 10.1 KiB bundle [emitted] bundle
bundle.js 892 KiB bundle [emitted] bundle
runtime.js 71.4 KiB runtime [emitted] runtime
+ 1 hidden asset
Entrypoint bundle = runtime.js vendor.js bundle.js bundle.a3a53c6e399658f9e1f5.hot-update.js
[../node_modules/nativescript-dev-webpack/style-hot-loader.js!../node_modules/nativescript-dev-webpack/apply-css-loader.js!../node_modules/css-loader/dist/cjs.js?!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/vue-loader/lib/index.js?!./pages/VistaPrueba.vue?vue&type=style&index=0&id=f4390c96&scoped=true&lang=css&] ../node_modules/nativescript-dev-webpack/style-hot-loader.js!../node_modules/nativescript-dev-webpack/apply-css-loader.js!../node_modules/css-loader/dist/cjs.js??ref--1-2!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/vue-loader/lib??vue-loader-options!./pages/VistaPrueba.vue?vue&type=style&index=0&id=f4390c96&scoped=true&lang=css& 1.26 KiB {bundle} [built]
[../node_modules/ts-loader/index.js?!../node_modules/vue-loader/lib/index.js?!./pages/VistaPrueba.vue?vue&type=script&lang=ts&] ../node_modules/ts-loader??ref--4!../node_modules/vue-loader/lib??vue-loader-options!./pages/VistaPrueba.vue?vue&type=script&lang=ts& 1.12 KiB {bundle} [built]
[../node_modules/vue-loader/lib/loaders/templateLoader.js?!../node_modules/vue-loader/lib/index.js?!./pages/VistaPrueba.vue?vue&type=template&id=f4390c96&scoped=true&] ../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../node_modules/vue-loader/lib??vue-loader-options!./pages/VistaPrueba.vue?vue&type=template&id=f4390c96&scoped=true& 5.58 KiB {bundle} [built]
[./ sync ^\.\/app\.(css|scss|less|sass)$] . sync nonrecursive ^\.\/app\.(css|scss|less|sass)$ 175 bytes {bundle} [built]
[./ sync recursive (?<!\bApp_Resources\b.*)\.(xml|css|js|(?<!\.d\.)ts|(?<!\b_[\w-]*\.)scss)$] . sync (?<!\bApp_Resources\b.*)\.(xml|css|js|(?<!\.d\.)ts|(?<!\b_[\w-]*\.)scss)$ 558 bytes {bundle} [built]
[./pages/VistaPrueba.vue] 1.21 KiB {bundle} [built]
[./routes.ts] 2.57 KiB {bundle} [built]
+ 418 hidden modules
Webpack compilation complete. Watching for file changes.
Webpack build done!
There were some bugs in the NativeScript CLI which prevents the Hot Module Reload (HMR) which should refresh the application in your emulators.
A quick fix is to run the command:
tns run android --no-hmr
Which practically restarts/reloads the application completely.

How to install and run Sensenet DMS Demo? Getting Error while starting

I am trying to evaluate sensenet and running it in local machine with Visual studio. Iam not a developer and not able to understand the steps described in github page. can someone help to provide step by step procedure to access sensenet client and document management demo?
To Avoid all this difficulties I Also tried to download sense net 6.5, but as codeplex page are archived iam not able to download the same. if any other links to download exist it will be helpful.
Error Details DMS Demo Installation
Detailed Error Log
An NPM package is missing, you can try to add it manually with the npm i uglifyjs-webpack-plugin command.
Thanks for the reply, i had installed.
Installed and tried following errors came
ERROR in ./node_modules/#date-io/date-fns/build/index.esm.js
Module not found: Error: Can't resolve 'date-fns/addDays' in 'D:\sn-dms-demo-master\sn-dms-demo-master\node_modules#date-io\date-fns\build'
ERROR in ./node_modules/#date-io/date-fns/build/index.esm.js
Module not found: Error: Can't resolve 'date-fns/addMonths' in 'D:\sn-dms-demo-master\sn-dms-demo-master\node_modules#date-io\date-fns\build'
ERROR in ./node_modules/#date-io/date-fns/build/index.esm.js
Module not found: Error: Can't resolve 'date-fns/addYears' in 'D:\sn-dms-demo-master\sn-dms-demo-master\node_modules#date-io\date-fns\build'
ERROR in ./node_modules/#date-io/date-fns/build/index.esm.js
Module not found: Error: Can't resolve 'date-fns/differenceInMilliseconds' in 'D:\sn-dms-demo-master\sn-dms-demo-master\node_modules#date-io\date-fns\build'
ERROR in ./node_modules/#date-io/date-fns/build/index.esm.js
Module not found: Error: Can't resolve 'date-fns/eachDayOfInterval' in 'D:\sn-dms-demo-master\sn-dms-demo-master\node_modules#date-io\date-fns\build'
ERROR in ./node_modules/#date-io/date-fns/build/index.esm.js
Module not found: Error: Can't resolve 'date-fns/endOfDay' in 'D:\sn-dms-demo-master\sn-dms-demo-master\node_modules#date-io\date-fns\build'
.
.
.
.
.
at the end following are coming
ERROR in [at-loader] ./node_modules/#sensenet/controls-react/dist/viewcontrols/EditView.d.ts:4:8
TS1192: Module '"D:/sn-dms-demo-master/sn-dms-demo-master/node_modules/#types/react/index"' has no default export.
ERROR in [at-loader] ./node_modules/#sensenet/controls-react/dist/viewcontrols/BrowseView.d.ts:4:8
TS1192: Module '"D:/sn-dms-demo-master/sn-dms-demo-master/node_modules/#types/react/index"' has no default export.
ERROR in [at-loader] ./node_modules/#sensenet/controls-react/dist/viewcontrols/NewView.d.ts:1:8
TS1192: Module '"D:/sn-dms-demo-master/sn-dms-demo-master/node_modules/#types/react/index"' has no default export.
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = index.html
[./node_modules/html-webpack-plugin/lib/loader.js!./public/index.html] 2.22 KiB {0} [built]
[./node_modules/lodash/lodash.js] 527 KiB {0} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {0} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
i 「wdm」: Failed to compile.

Aurelia app is not launched using au run cli command

i am very new to Aurelia framework, hence following the guide to create project https://aurelia.io/docs/tutorials/creating-a-contact-manager/#setting-up-your-machine
I am using au -v
0.33.1
But, when i use au run to run the app
when i try to open the application in browser blow error message comes, can some one helps me?
au run
Starting 'configureEnvironment'...
Finished 'configureEnvironment'
Starting 'runWebpack'...
(node:5780) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
Project is running at http://localhost:8080
webpack output is served from /
Content not from webpack is served from F:\AureliaWorkspace\sampleApp\dist
404s will fallback to /index.html
Finished 'runWebpack'
Hash: 2a2f417dfbd63c84f978
Version: webpack 4.7.0
Time: 16633ms
Built at: 2018-05-05 20:24:50
Asset Size Chunks Chunk Names
app.2a2f417dfbd63c84f978.bundle.js 3 MiB app [emitted] [big] app
vendor.2a2f417dfbd63c84f978.bundle.js 489 KiB vendor [emitted] [big] vendor
index.html 589 bytes [emitted]
Entrypoint app [big] = app.2a2f417dfbd63c84f978.bundle.js
Entrypoint vendor [big] = vendor.2a2f417dfbd63c84f978.bundle.js
[./node_modules/aurelia-bootstrapper/dist/native-modules/aurelia-bootstrapper.js] 5.17 KiB {app} [built]
[./node_modules/aurelia-loader-webpack/dist/native-modules/aurelia-loader-webpack.js] 14.4 KiB {app} [built]
[./node_modules/aurelia-pal/dist/native-modules/aurelia-pal.js] 2.18 KiB {app} [built]
[./node_modules/aurelia-polyfills/dist/native-modules/aurelia-polyfills.js] 24.4 KiB {app} [built]
[./node_modules/aurelia-webpack-plugin/runtime/empty-entry.js] 585 bytes {app} [built]
[./node_modules/aurelia-webpack-plugin/runtime/pal-loader-entry.js] 1.56 KiB {app} [built]
[./node_modules/bluebird/js/browser/bluebird.js] 175 KiB {vendor} {app} [built]
[./node_modules/bluebird/js/browser/bluebird.js-exposed] 65 bytes {vendor} {app} [built]
[./node_modules/process/browser.js] 5.29 KiB {vendor} {app} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {vendor} {app} [built]
[aurelia-framework] ./node_modules/aurelia-framework/dist/native-modules/aurelia-framework.js 14 KiB {app} [built]
[aurelia-pal-browser] ./node_modules/aurelia-pal-browser/dist/native-modules/aurelia-pal-browser.js 16.3 KiB {app} [built]
[main] ./src/main.js 5.16 KiB {app} [built]
[0] multi aurelia-webpack-plugin/runtime/empty-entry aurelia-webpack-plugin/runtime/pal-loader-entry aurelia-bootstrapper 52 bytes {app} [built]
[1] multi bluebird 28 bytes {vendor} [built]
+ 262 hidden modules
Child html-webpack-plugin for "index.html":
Asset Size Chunks Chunk Names
index.html 1.36 MiB 0
Entrypoint undefined = index.html
[./node_modules/html-webpack-plugin/lib/loader.js!./index.ejs] 890 bytes {0} [built]
[./node_modules/lodash/lodash.js] 527 KiB {0} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
i 「wdm」: wait until bundle finished: /app.2a2f417dfbd63c84f978.bundle.js
i 「wdm」: wait until bundle finished: /vendor.2a2f417dfbd63c84f978.bundle.js
× 「wdm」: ConcurrentCompilationError: You ran Webpack twice. Each instance only supports a single concurrent compilation at a time.
at Compiler.run (F:\AureliaWorkspace\sampleApp\node_modules\webpack\lib\Compiler.js:151:37)
at rebuild (F:\AureliaWorkspace\sampleApp\node_modules\webpack-dev-server\node_modules\webpack-dev-middleware\lib\context.js:81:24)
at done (F:\AureliaWorkspace\sampleApp\node_modules\webpack-dev-server\node_modules\webpack-dev-middleware\lib\context.js:59:7)
at AsyncSeriesHook.eval [as callAsync] (eval at create (F:\AureliaWorkspace\sampleApp\node_modules\tapable\lib\HookCodeFactory.js:24:12), <anonymous>:18:1)
at AsyncSeriesHook.lazyCompileHook [as _callAsync] (F:\AureliaWorkspace\sampleApp\node_modules\tapable\lib\Hook.js:35:21)
at emitRecords.err (F:\AureliaWorkspace\sampleApp\node_modules\webpack\lib\Compiler.js:203:22)
at Compiler.emitRecords (F:\AureliaWorkspace\sampleApp\node_modules\webpack\lib\Compiler.js:315:39)
at emitAssets.err (F:\AureliaWorkspace\sampleApp\node_modules\webpack\lib\Compiler.js:197:10)
at hooks.afterEmit.callAsync.err (F:\AureliaWorkspace\sampleApp\node_modules\webpack\lib\Compiler.js:301:14)
at AsyncSeriesHook.eval [as callAsync] (eval at create (F:\AureliaWorkspace\sampleApp\node_modules\tapable\lib\HookCodeFactory.js:24:12), <anonymous>:15:1)
at AsyncSeriesHook.lazyCompileHook [as _callAsync] (F:\AureliaWorkspace\sampleApp\node_modules\tapable\lib\Hook.js:35:21)
at asyncLib.forEach.err (F:\AureliaWorkspace\sampleApp\node_modules\webpack\lib\Compiler.js:298:27)
at done (F:\AureliaWorkspace\sampleApp\node_modules\neo-async\async.js:2854:11)
at F:\AureliaWorkspace\sampleApp\node_modules\neo-async\async.js:2805:7
at MemoryFileSystem.writeFile (F:\AureliaWorkspace\sampleApp\node_modules\memory-fs\lib\MemoryFileSystem.js:328:9)
at writeOut (F:\AureliaWorkspace\sampleApp\node_modules\webpack\lib\Compiler.js:284:29)
This is the relevant error:
ConcurrentCompilationError: You ran Webpack twice. Each instance only supports a single concurrent compilation at a time.
You're not doing anything wrong here, this is a regression caused by some combination of changes in aurelia-cli and webpack. See this github issue
In short, lazy mode is not working properly. The workaround is to always use the --watch flag with au run.
au run --watch should work.

ng serve error - typescript mismatch version (maybe)

aspnetboilerplate core template 3.3.2
"ng serve" issues this output (below)
additional information:
is the error generated from the typescritp mismatch version?
my typescript should be 2.6.1 (npm view typescript version)
i've tried to: npm install typescript#2.4.0
there is another problem?
[ng serve output]
#angular/compiler-cli#4.4.6 requires typescript#'>=2.1.0 <2.4.0' but 2.4.0 was found instead.
Using this version can result in undefined behaviour and difficult to debug problems.
Please run the following command to install a compatible version of TypeScript.
npm install typescript#'>=2.1.0 <2.4.0'
To disable this warning run "ng set warnings.typescriptMismatch=false".
** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
Date: 2017-11-16T09:52:15.693Z
Hash: f55af8b09fa2b7f58749
Time: 32705ms
chunk {inline} inline.bundle.js (inline) 5.79 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 483 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 1.09 MB [initial] [rendered]
chunk {styles} styles.bundle.js (styles) 1.61 MB [initial] [rendered]
chunk {vendor} vendor.bundle.js (vendor) 14.7 MB [initial] [rendered]
WARNING in ./node_modules/abp-ng2-module/node_modules/#angular/core/esm5/core.js
6438:15-36 Critical dependency: the request of a dependency is an expression
at ImportLazyContextDependency.getWarnings (C:\angular\AbpCore\3.3.2\angular\node_modules\webpack\lib\dependencies\ContextDependency.js:39:18)
at Compilation.reportDependencyErrorsAndWarnings (C:\angular\AbpCore\3.3.2\angular\node_modules\webpack\lib\Compilation.js:703:24)
at Compilation.finish (C:\angular\AbpCore\3.3.2\angular\node_modules\webpack\lib\Compilation.js:561:9)
at applyPluginsParallel.err (C:\angular\AbpCore\3.3.2\angular\node_modules\webpack\lib\Compiler.js:506:17)
at C:\angular\AbpCore\3.3.2\angular\node_modules\tapable\lib\Tapable.js:289:11
at _addModuleChain (C:\angular\AbpCore\3.3.2\angular\node_modules\webpack\lib\Compilation.js:507:11)
at processModuleDependencies.err (C:\angular\AbpCore\3.3.2\angular\node_modules\webpack\lib\Compilation.js:477:14)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
# ./node_modules/abp-ng2-module/node_modules/#angular/core/esm5/core.js
# ./node_modules/abp-ng2-module/src/multi-tenancy/abp-multi-tenancy.service.ts
# ./src/shared/session/app-session.service.ts
# ./src/root.module.ts
# ./src/main.ts
# multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts
WARNING in ./node_modules/abp-ng2-module/node_modules/#angular/core/esm5/core.js
6458:15-102 Critical dependency: the request of a dependency is an expression
at ImportLazyContextDependency.getWarnings (C:\angular\AbpCore\3.3.2\angular\node_modules\webpack\lib\dependencies\ContextDependency.js:39:18)
at Compilation.reportDependencyErrorsAndWarnings (C:\angular\AbpCore\3.3.2\angular\node_modules\webpack\lib\Compilation.js:703:24)
at Compilation.finish (C:\angular\AbpCore\3.3.2\angular\node_modules\webpack\lib\Compilation.js:561:9)
at applyPluginsParallel.err (C:\angular\AbpCore\3.3.2\angular\node_modules\webpack\lib\Compiler.js:506:17)
at C:\angular\AbpCore\3.3.2\angular\node_modules\tapable\lib\Tapable.js:289:11
at _addModuleChain (C:\angular\AbpCore\3.3.2\angular\node_modules\webpack\lib\Compilation.js:507:11)
at processModuleDependencies.err (C:\angular\AbpCore\3.3.2\angular\node_modules\webpack\lib\Compilation.js:477:14)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
# ./node_modules/abp-ng2-module/node_modules/#angular/core/esm5/core.js
# ./node_modules/abp-ng2-module/src/multi-tenancy/abp-multi-tenancy.service.ts
# ./src/shared/session/app-session.service.ts
# ./src/root.module.ts
# ./src/main.ts
# multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts
ERROR in Error: Metadata version mismatch for module C:/angular/AbpCore/3.3.2/angular/node_modules/abp-ng2-module/node_modules/#angular/http/http.d.ts, found version 4, expected 3, resolving symbol ABP_HTTP_PROVIDER in C:/angular/AbpCore/3.3.2/angular/node_modules/abp-ng2-module/src/abp.module.ts, resolving symbol RootModule in C:/angular/AbpCore/3.3.2/angular/src/root.module.ts, resolving symbol RootModule in C:/angular/AbpCore/3.3.2/angular/src/root.module.ts
at Error (native)
at syntaxError (C:\angular\AbpCore\3.3.2\angular\node_modules\#angular\compiler\bundles\compiler.umd.js:1729:34)
at simplifyInContext (C:\angular\AbpCore\3.3.2\angular\node_modules\#angular\compiler\bundles\compiler.umd.js:24979:23)
at StaticReflector.simplify (C:\angular\AbpCore\3.3.2\angular\node_modules\#angular\compiler\bundles\compiler.umd.js:24991:13)
at StaticReflector.annotations (C:\angular\AbpCore\3.3.2\angular\node_modules\#angular\compiler\bundles\compiler.umd.js:24418:41)
at _getNgModuleMetadata (C:\angular\AbpCore\3.3.2\angular\node_modules\#angular\compiler-cli\src\ngtools_impl.js:138:31)
at _extractLazyRoutesFromStaticModule (C:\angular\AbpCore\3.3.2\angular\node_modules\#angular\compiler-cli\src\ngtools_impl.js:109:26)
at Object.listLazyRoutesOfModule (C:\angular\AbpCore\3.3.2\angular\node_modules\#angular\compiler-cli\src\ngtools_impl.js:53:22)
at Function.NgTools_InternalApi_NG_2.listLazyRoutes (C:\angular\AbpCore\3.3.2\angular\node_modules\#angular\compiler-cli\src\ngtools_api.js:91:39)
at AotPlugin._getLazyRoutesFromNgtools (C:\angular\AbpCore\3.3.2\angular\node_modules\#ngtools\webpack\src\plugin.js:241:66)
at _donePromise.Promise.resolve.then.then.then.then.then (C:\angular\AbpCore\3.3.2\angular\node_modules\#ngtools\webpack\src\plugin.js:495:24)
at process._tickCallback (internal/process/next_tick.js:109:7)
webpack: Failed to compile.
I had the same issue. Seems that will be a problem with "abp-ng2-module".
So force npm to install abp-ng2-module v1.2.0.
In package.json dependencies replace "abp-ng2-module": "^1.2.0" with "abp-ng2-module": "1.2.0"
Delete node_modules folder and package.json.lock file
Run npm install
Run ng serve
It works with only two steps:
Delete node_modules folder
Run yarn

Mattermost compilation failed (Ubuntu 16.06)

I'm trying to compile Mattermost on Ubuntu (I have Node 7.x installed, and even tried this with 6.x) but am getting the following types of errors:
[701] ./images/favicon/apple-touch-icon-120x120.png 471 bytes {60} [built] [failed] [1 error]
[702] ./images/favicon/apple-touch-icon-144x144.png 471 bytes {60} [built] [failed] [1 error]
[703] ./images/favicon/apple-touch-icon-152x152.png 471 bytes {60} [built] [failed] [1 error]
[704] ./images/favicon/apple-touch-icon-57x57.png 471 bytes {60} [built] [failed] [1 error]
[705] ./images/favicon/apple-touch-icon-60x60.png 471 bytes {60} [built] [failed] [1 error]
[1657] multi babel-polyfill ./root.jsx root.html 52 bytes {60} [built]
+ 2192 hidden modules
ERROR in ./images/favicon/apple-touch-icon-60x60.png
Module build failed: Error: spawn /root/go/src/github.com/mattermost/platform/webapp/node_modules/pngquant-bin/vendor/pngquant ENOENT
at exports._errnoException (util.js:1033:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:367:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
# ./root.html 1:945-999
# multi babel-polyfill ./root.jsx root.html
The complete error log is massive and I'll post it if need be, but I think this seems to be some problem with pngquant not being able to work om images. I'm going in circles and am almost at my wits' end. Can somebody suggest something?
==Update==
Upon further investigation, I found that the directory /root/go/src/github.com/mattermost/platform/webapp/node_modules/pngquant-bin/vendor doesn't exist. Why should that be? O.o
I actually ran into this issue myself yesterday. The solution was to update to the latest version of nodejs (specifically, of version 7).