Angular 8 compile Issue - angular8

I have a problem compiling my Angular 8 application:
chunk {main} main.js, main.js.map (main) 11.7 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 141 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 12.4 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 2.64 MB [initial] [rendered]
Date: 2020-07-28T21:19:53.546Z - Hash: 770b00fb42b4664247d8 - Time: 10789ms
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
: Compiled successfully.
Date: 2020-07-28T21:21:23.611Z - Hash: 0c9595fa24b10bb14e7a
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 11.7 kB [initial] [rendered]
Time: 73459ms
: Compiled successfully.
92% additional asset processing copy-webpack-plugin
When the project is being compiled, it will stuck at that last line reporting 92% of additional asset processing by copy-webpack-plugin.
Please help me to resolve this issue.

Maybe just try to stop ng serve and try it once again?

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 fix deploy angular 8 project with Github pages

I deployed with angular-cli-ghpages, followed the steps:https://www.npmjs.com/package/angular-cli-ghpages
1.git remote add origin https://github.com/username/epositoryname.git
2.ng add angular-cli-ghpages
3.ng deploy
When excute deploy show me this:
ng deploy --base-href=https://github.com/Azaria-CR/portafolio1.git
📦 Building "dogapi". Configuration: "production". Your base-href: "https://github.com/Azaria-CR/portafolio1.git"
chunk {0} runtime-es2015.85f895af57b038f1e5b4.js (runtime) 2.82 kB [entry] [rendered]
chunk {1} main-es2015.12ae7f54f3b8c7ac770e.js (main) 367 kB [initial] [rendered]
chunk {2} polyfills-es2015.0fe6949bc5ff4b784062.js (polyfills) 64 kB [initial] [rendered]
chunk {3} polyfills-es5-es2015.a83ac866abc867bfd530.js (polyfills-es5) 222 kB [initial] [rendered]
chunk {4} styles.09e2c710755c8867a460.css (styles) 0 bytes [initial] [rendered]
Date: 2019-09-18T01:53:17.038Z - Hash: 555aa990c3829b3b1bf6 - Time: 122860ms
Generating ES5 bundles for differential loading...
ES5 bundle generation complete.
🚀 Successfully published via angular-cli-ghpages! Have a nice day!
but it does not work
when i finish show me
the blank page
git version 2.23.0.windows.1
Angular CLI: 8.3.4
Node: 10.16.3
npm 6.11.3
I was having the same problem and this worked for me:
When deploying:
ng deploy --base-ref=/YourRepositoryName/
Substitute YourRepositoryName with the name of your project and be careful with the final /.
I hope it help you to solve the problem.

Exceeding the size of vendor

Hi I couldn't change size or divide vendor in nuxt what makes server doesn't want to load and after few seconds quit.
The issue is I was about introducing nuxt auth when the server unluckily returned this. terminal response is below.
Earlier everything works good but unexpectedly doesn't want to load and after few seconds server quits every time I tried to run this app.
In addition even after removing part of code before server runs good, this error still occurs or after creating new project vendor is still to big but everything works until exceeding size a bit by adding some file.
I found out this issue is connected to the size of the vendor and
tried to modify build in nuxt.config.js to change size of chunks or even try to divide it to smaller part but nothing works.
Does anybody know how to fix it?
Thanks in advance.
In npm run generate
13:54:04 ✔ Nuxt files generated
✔ Client
Compiled successfully in 18.61s
✔ Server
Compiled successfully in 11.82s
13:54:17 WARN Unable to update lock within the stale threshold
at options.fs.stat (node_modules/proper-lockfile/lib/lockfile.js:136:25)
at node_modules/graceful-fs/polyfills.js:285:20
at FSReqWrap.oncomplete (fs.js:154:5)
Hash: a63f30e1da8b54b4e1e5
Version: webpack 4.31.0
Time: 18616ms
Built at: 2019-05-12 13:54:26
Asset Size Chunks Chunk Names
../server/client.manifest.json 18.5 KiB [emitted]
19efd8abbee3a8a33be4.js 1.66 KiB 4 [emitted] pages/register
35ca09b69194d90b94ba.js 284 bytes 2 [emitted] pages/index
3e8ab344ce99545b414a.js 189 KiB 1 [emitted] commons.app
40bd82d4e1d1a04a75a9.js 2.27 KiB 5 [emitted] runtime
LICENSES 2.26 KiB [emitted]
be138e70225ef677bf11.js 49.2 KiB 0 [emitted] app
ea98f7e0cb05705cdd19.js 2.09 KiB 3 [emitted] pages/login
ebfb93d5cff67de3634c.js 413 KiB 6 [emitted] [big] vendors.app
+ 2 hidden assets
Entrypoint app = 40bd82d4e1d1a04a75a9.js 3e8ab344ce99545b414a.js ebfb93d5cff67de3634c.js be138e70225ef677bf11.js
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
ebfb93d5cff67de3634c.js (413 KiB)
Hash: 2686db6f213979a0c61c
Version: webpack 4.31.0
Time: 11817ms
Built at: 2019-05-12 13:54:38
Asset Size Chunks Chunk Names
451e987fc41d64bb12d2.js 1.35 KiB 2 [emitted] pages/login
6365a6c7ab9c235b4be2.js 330 bytes 1 [emitted] pages/index
b65301e6570f75dc06a3.js 1.61 KiB 3 [emitted] pages/register
server.js 398 KiB 0 [emitted] app
server.manifest.json 483 bytes [emitted]
+ 4 hidden assets
Entrypoint app = server.js server.js.map
13:54:38 ℹ Generating pages
13:54:40 ✔ Generated /login
13:54:40 ✔ Generated /register
13:54:40 ✔ Generated /
and after npm run dev
13:48:02 ℹ Preparing project for development
13:48:02 ℹ Initial build may take a while
13:48:02 ✔ Builder initialized
13:48:02 ✔ Nuxt files generated
✔ Client
Compiled successfully in 7.71s
✔ Server
Compiled successfully in 5.85s
13:48:16 ℹ Waiting for file changes
13:48:16 ℹ Memory usage: 151 MB (RSS: 260 MB)
<--- Last few GCs --->
[4505:0x10264a000] 79635 ms: Mark-sweep 1264.9 (1425.4) -> 1264.0 (1425.9) MB, 1629.7 / 0.2 ms (average mu = 0.216, current mu = 0.135) allocation failure scavenge might not succeed
[4505:0x10264a000] 81812 ms: Mark-sweep 1265.2 (1425.9) -> 1264.8 (1427.4) MB, 1912.8 / 0.3 ms (average mu = 0.168, current mu = 0.121) deserialize GC in old space requested
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x41f436e5261]
Security context: 0x30d36aa9e6e9 <JSObject>
1: createContext(aka createContext) [0x30d31809fa31] [vm.js:~240] [pc=0x41f435541c1](this=0x30d36df826f1 <undefined>,/* anonymous */=0x30d33fda7019 <Object map = 0x30d3de4c0fd1>,/* anonymous */=0x30d33fda7121 <Object map = 0x30d36ac02571>)
2: runInNewContext [0x30d3180823e9] [vm.js:135] [bytecode=0x30d3452e00c9 offset=15](this=0x30d35c4822a1 <Contexti...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x10003c597 node::Abort() [/usr/local/bin/node]
2: 0x10003c7a1 node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
3: 0x1001ad575 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
4: 0x100579242 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
5: 0x10057bd15 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/usr/local/bin/node]
6: 0x100577bbf v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]
7: 0x100575d94 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
8: 0x100579172 v8::internal::Heap::ReserveSpace(std::__1::vector<v8::internal::Heap::Chunk, std::__1::allocator<v8::internal::Heap::Chunk> >*, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> >*) [/usr/local/bin/node]
9: 0x100855687 v8::internal::DefaultDeserializerAllocator::ReserveSpace() [/usr/local/bin/node]
10: 0x10085e035 v8::internal::PartialDeserializer::Deserialize(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSGlobalProxy>, v8::DeserializeInternalFieldsCallback) [/usr/local/bin/node]
11: 0x10085dfd4 v8::internal::PartialDeserializer::DeserializeContext(v8::internal::Isolate*, v8::internal::SnapshotData const*, bool, v8::internal::Handle<v8::internal::JSGlobalProxy>, v8::DeserializeInternalFieldsCallback) [/usr/local/bin/node]
12: 0x100867455 v8::internal::Snapshot::NewContextFromSnapshot(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSGlobalProxy>, unsigned long, v8::DeserializeInternalFieldsCallback) [/usr/local/bin/node]
13: 0x100233c36 v8::internal::Genesis::Genesis(v8::internal::Isolate*, v8::internal::MaybeHandle<v8::internal::JSGlobalProxy>, v8::Local<v8::ObjectTemplate>, unsigned long, v8::DeserializeInternalFieldsCallback, v8::internal::GlobalContextType) [/usr/local/bin/node]
14: 0x100217f91 v8::internal::Bootstrapper::CreateEnvironment(v8::internal::MaybeHandle<v8::internal::JSGlobalProxy>, v8::Local<v8::ObjectTemplate>, v8::ExtensionConfiguration*, unsigned long, v8::DeserializeInternalFieldsCallback, v8::internal::GlobalContextType) [/usr/local/bin/node]
15: 0x1001cd8c7 v8::NewContext(v8::Isolate*, v8::ExtensionConfiguration*, v8::MaybeLocal<v8::ObjectTemplate>, v8::MaybeLocal<v8::Value>, unsigned long, v8::DeserializeInternalFieldsCallback) [/usr/local/bin/node]
16: 0x1001af159 v8::Context::New(v8::Isolate*, v8::ExtensionConfiguration*, v8::MaybeLocal<v8::ObjectTemplate>, v8::MaybeLocal<v8::Value>, v8::DeserializeInternalFieldsCallback) [/usr/local/bin/node]
17: 0x1000422d1 node::NewContext(v8::Isolate*, v8::Local<v8::ObjectTemplate>) [/usr/local/bin/node]
18: 0x10006345b node::contextify::ContextifyContext::CreateV8Context(node::Environment*, v8::Local<v8::Object>, node::contextify::ContextOptions const&) [/usr/local/bin/node]
19: 0x10006324f node::contextify::ContextifyContext::ContextifyContext(node::Environment*, v8::Local<v8::Object>, node::contextify::ContextOptions const&) [/usr/local/bin/node]
20: 0x100064ab1 node::contextify::ContextifyContext::MakeContext(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/bin/node]
21: 0x41f436e5261
22: 0x41f435541c1
23: 0x41f42d918d5
Abort trap: 6
and also terminal response after making new nuxt project and run npm run generate
✔ Client
Compiled successfully in 19.49s
✔ Server
Compiled successfully in 12.06s
14:31:30 ERROR (node:5036) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead
14:31:34 WARN Unable to update lock within the stale threshold
at options.fs.stat (node_modules/proper-lockfile/lib/lockfile.js:136:25)
at node_modules/graceful-fs/polyfills.js:285:20
at FSReqWrap.oncomplete (fs.js:154:5)
Hash: 523464a4f215ecad138a
Version: webpack 4.31.0
Time: 19497ms
Built at: 2019-05-12 14:31:49
Asset Size Chunks Chunk Names
../server/client.manifest.json 17.2 KiB [emitted]
5359710684b4ec80d12c.js 2.22 KiB 3 [emitted] runtime
5ad858d838bf3e368436.js 3.65 KiB 2 [emitted] pages/index
6773aee58a76de65a958.js 164 KiB 1 [emitted] commons.app
6953a06a30bda4b69151.js 413 KiB 4 [emitted] [big] vendors.app
7ec00afb1f7acea69260.js 34.1 KiB 0 [emitted] app
LICENSES 1.8 KiB [emitted]
icons/icon_120.9mld2VBMsQ$.png 3.05 KiB [emitted]
icons/icon_144.9mld2VBMsQ$.png 3.78 KiB [emitted]
icons/icon_152.9mld2VBMsQ$.png 3.96 KiB [emitted]
icons/icon_192.9mld2VBMsQ$.png 5.01 KiB [emitted]
icons/icon_384.9mld2VBMsQ$.png 11 KiB [emitted]
icons/icon_512.9mld2VBMsQ$.png 13.9 KiB [emitted]
icons/icon_64.9mld2VBMsQ$.png 1.61 KiB [emitted]
manifest.89571180.json 831 bytes [emitted]
+ 2 hidden assets
Entrypoint app = 5359710684b4ec80d12c.js 6773aee58a76de65a958.js 6953a06a30bda4b69151.js 7ec00afb1f7acea69260.js
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
6953a06a30bda4b69151.js (413 KiB)
Hash: 86e05930b1fece3cf75c
Version: webpack 4.31.0
Time: 12068ms
Built at: 2019-05-12 14:32:01
Asset Size Chunks Chunk Names
7d1bee16c2e1af97f877.js 3.71 KiB 1 [emitted] pages/index
server.js 386 KiB 0 [emitted] app
server.manifest.json 243 bytes [emitted]
+ 2 hidden assets
Entrypoint app = server.js server.js.map
14:32:01 ℹ Generating pages
14:32:02 ✔ Generated /
You could try this config in nuxt.config.js to enforce a size on the build chunks
/*
** Build configuration
*/
build: {
/*
** You can extend webpack config here
*/
extend (config, ctx) {
if (ctx && ctx.isClient) {
config.optimization.splitChunks.maxSize = 64000
}
}
}

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.

Running npm run dev in dockerfile

I'm trying to dockerise a laravel app. I'm using laravel mix based on webpack. Without docker, npm run dev works. But inside docker, I get this error message, that is not explicit, I don't understand what is wrong, and what should I change
95% emitting ERROR Failed to compile with 2 errors22:20:53
error in ./resources/assets/images/login_cover.jpg
Module build failed: Error: write EPIPE
at WriteWrap.afterWrite [as oncomplete] (net.js:841:14)
# ./node_modules/css-loader?{"url":true,"sourceMap":false,"importLoaders":1}!./node_modules/postcss-loader/lib?{"sourceMap":false,"ident":"postcss","plugins":[null]}!./node_modules/less-loader/dist/cjs.js?{"sourceMap":false}!./resources/assets/less/_main_full/main.less 7:150621-150660 7:403139-403178
# ./resources/assets/less/_main_full/main.less
# multi ./resources/assets/js/vue/pages/userForm.js ./resources/assets/less/_main_full/main.less
error in ./resources/assets/less/_main_full/main.less
Module build failed: ModuleBuildError: Module build failed: Error: write EPIPE
at WriteWrap.afterWrite [as oncomplete] (net.js:841:14)
at runLoaders (/app/node_modules/webpack/lib/NormalModule.js:195:19)
at /app/node_modules/loader-runner/lib/LoaderRunner.js:364:11
at /app/node_modules/loader-runner/lib/LoaderRunner.js:230:18
at context.callback (/app/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /app/node_modules/img-loader/index.js:45:31
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:118:7)
Asset Size Chunks Chunk Names
/css/pages/userCreate.css 12.8 kB [emitted]
fonts/glyphicons-halflings-regular.eot?f4769f9bdb7466be65088239c12046d1 20.1 kB [emitted]
fonts/glyphicons-halflings-regular.woff?fa2772327f55d8198301fdb8bcfc8158 23.4 kB [emitted]
fonts/glyphicons-halflings-regular.ttf?e18bbf611f2a2e43afc071aa2f4e1512 45.4 kB [emitted]
images/glyphicons-halflings-regular.svg?f0ea477ef046ba5fef9249ec3172903e 93.9 kB [emitted]
images/seamless.png?8b9eb18dd056013d16b945613a1ca86f 2.14 kB [emitted]
images/boxed_bg.png?612698606760cf487e1741a80d829c67 9.02 kB [emitted]
images/boxed_bg_retina.png?9cb3712430796f112d1dca8baffb7200 27.6 kB [emitted]
/js/oauth.js 953 kB 0 [emitted] [big] /js/oauth
/js/bootstrap.js 886 kB 1 [emitted] [big] /js/bootstrap
/js/addFighterToTeam.js 69.7 kB 2 [emitted] /js/addFighterToTeam
/js/kendo-settings.js 35.9 kB 3 [emitted] /js/kendo-settings
/js/createCategory.js 30.4 kB 4 [emitted] /js/createCategory
/js/userForm.js 7.63 kB 5 [emitted] /js/userForm
/js/analytics.js 474 bytes [emitted]
/vendor/laravel-tournaments/css/brackets.css 2.67 kB [emitted]
/css/pages/sheet.css 934 bytes [emitted]
/css/icons/icomoon/fonts/icomoon.woff 218 kB [emitted]
/css/icons/icomoon/fonts/icomoon.ttf 218 kB [emitted]
/js/app.js 365 kB [emitted]
/js/guest_app.js 153 kB [emitted]
/resources/assets/less/_main_full/main.less 13.3 kB [emitted]
/css/app.css 633 kB [emitted]
/js/pages/header/tournamentCreate.js 146 kB [emitted]
/js/pages/header/userCreate.js 63.9 kB [emitted]
fonts/glyphicons-halflings-regular.woff2?448c34a56d699c29117adc64c43affeb 18 kB [emitted]
/js/userEdit.js 64.4 kB [emitted]
/css/pages/tournamentEdit.css 1.58 kB [emitted]
/js/pages/header/tournamentEdit.js 297 kB [emitted]
/js/pages/footer/club.js 8.23 kB [emitted]
/js/pages/header/tournamentShow.js 97.5 kB [emitted]
/js/pages/header/tournamentIndex.js 13.9 kB [emitted]
/js/pages/header/competitorCreate.js 73.5 kB [emitted]
/js/pages/header/competitorIndex.js 160 kB [emitted]
/js/pages/header/tournamentInvite.js 107 kB [emitted]
/css/pages/tournamentInvite.css 840 bytes [emitted]
/js/pages/footer/trees.js 78 kB [emitted]
/css/pages/trees.css 2.67 kB [emitted]
/css/pages/preliminary_trees.css 293 bytes [emitted]
/js/pages/footer/tournamentEditFooter.js 11.3 kB [emitted]
/js/pages/footer/tournamentDeletedFooter.js 1.24 kB [emitted]
/js/pages/footer/tournamentIndexFooter.js 6.07 kB [emitted]
/js/pages/footer/tournamentShowFooter.js 648 bytes [emitted]
/js/pages/footer/userIndexFooter.js 4.87 kB [emitted]
/js/pages/footer/userShowFooter.js 752 bytes [emitted]
/js/pages/footer/associationIndexFooter.js 2.99 kB [emitted]
/js/pages/footer/clubIndexFooter.js 3.73 kB [emitted]
/js/pages/footer/teamIndexFooter.js 3.28 kB [emitted]
/css/dragula.css 2.05 kB [emitted]
/js/facebook.js 851 bytes [emitted]
ERROR in ./resources/assets/images/login_cover.jpg
Module build failed: Error: write EPIPE
at WriteWrap.afterWrite [as oncomplete] (net.js:841:14)
# ./node_modules/css-loader?{"url":true,"sourceMap":false,"importLoaders":1}!./node_modules/postcss-loader/lib?{"sourceMap":false,"ident":"postcss","plugins":[null]}!./node_modules/less-loader/dist/cjs.js?{"sourceMap":false}!./resources/assets/less/_main_full/main.less 7:150621-150660 7:403139-403178
# ./resources/assets/less/_main_full/main.less
# multi ./resources/assets/js/vue/pages/userForm.js ./resources/assets/less/_main_full/main.less
ERROR in ./resources/assets/less/_main_full/main.less
Module build failed: ModuleBuildError: Module build failed: Error: write EPIPE
at WriteWrap.afterWrite [as oncomplete] (net.js:841:14)
at runLoaders (/app/node_modules/webpack/lib/NormalModule.js:195:19)
at /app/node_modules/loader-runner/lib/LoaderRunner.js:364:11
at /app/node_modules/loader-runner/lib/LoaderRunner.js:230:18
at context.callback (/app/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /app/node_modules/img-loader/index.js:45:31
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:118:7)
# ./resources/assets/less/_main_full/main.less
# multi ./resources/assets/js/vue/pages/userForm.js ./resources/assets/less/_main_full/main.less
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! # dev: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the # dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-03-15T22_20_53_900Z-debug.log
Any idea?