kevoj/angular-editor-fabric-js

can't build in production mode

amikeh opened this issue · 1 comments

ng build -prod is not working.

Your global Angular CLI version (7.3.8) is greater than your local
version (1.6.5). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
10% building modules 4/6 modules 2 active .../bootstrap/dist/css/bootstrap.min.cssUnknown error from PostCSS plugin. Your current PostCSS version is 6.0.16, but postcss-merge-rules uses 5.2.18. Perhaps this is the source of the error below.
10% building modules 5/6 modules 1 active ...gular-editor-fabric-js/src/styles.cssNode#moveTo was deprecated. Use Container#append.
11% building modules 16/19 modules 3 active .../bootstrap/dist/css/bootstrap.min.cssUnknown error from PostCSS plugin. Your current PostCSS version is 6.0.16, but postcss-merge-rules uses 5.2.18. Perhaps this is the source of the error below.
Date: 2019-04-21T05:50:41.330Z
Hash: 1d4f7752e97bf80754c3
Time: 7182ms
chunk {0} styles.70cd22d88e467786984c.bundle.css (styles) 230 kB [initial] [rendered]
chunk {1} polyfills.3bc34265385d52184eab.bundle.js (polyfills) 86 bytes [initial] [rendered]
chunk {2} main.e402deade8b026b7d50e.bundle.js (main) 84 bytes [initial] [rendered]
chunk {3} inline.12942319c9a69abf7c6a.bundle.js (inline) 1.45 kB [entry] [rendered]

ERROR in ./node_modules/bootstrap/dist/css/bootstrap.min.css
Module build failed: BrowserslistError: Unknown browser major
at error (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss-merge-rules/node_modules/browserslist/index.js:37:11)
at Function.browserslist.checkName (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss-merge-rules/node_modules/browserslist/index.js:320:18)
at Function.select (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss-merge-rules/node_modules/browserslist/index.js:438:37)
at /Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss-merge-rules/node_modules/browserslist/index.js:207:41
at Array.forEach ()
at browserslist (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss-merge-rules/node_modules/browserslist/index.js:196:13)
at /Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss-merge-rules/dist/index.js:261:51
at LazyResult.run (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:277:20)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:192:32)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:204:22)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:204:22)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:204:22)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:204:22)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:204:22)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:204:22)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:204:22)
@ multi ./node_modules/bootstrap/dist/css/bootstrap.min.css ./node_modules/font-awesome/css/font-awesome.css ./src/styles.css
ERROR in ./node_modules/bootstrap/dist/css/bootstrap.min.css
Module build failed: ModuleBuildError: Module build failed: BrowserslistError: Unknown browser major
at error (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss-merge-rules/node_modules/browserslist/index.js:37:11)
at Function.browserslist.checkName (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss-merge-rules/node_modules/browserslist/index.js:320:18)
at Function.select (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss-merge-rules/node_modules/browserslist/index.js:438:37)
at /Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss-merge-rules/node_modules/browserslist/index.js:207:41
at Array.forEach ()
at browserslist (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss-merge-rules/node_modules/browserslist/index.js:196:13)
at /Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss-merge-rules/dist/index.js:261:51
at LazyResult.run (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:277:20)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:192:32)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:204:22)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:204:22)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:204:22)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:204:22)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:204:22)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:204:22)
at LazyResult.asyncTick (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss/lib/lazy-result.js:204:22)
at runLoaders (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/webpack/lib/NormalModule.js:195:19)
at /Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/loader-runner/lib/LoaderRunner.js:364:11
at /Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/loader-runner/lib/LoaderRunner.js:230:18
at context.callback (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at Promise.resolve.then.then.catch (/Users/vgande/angular-fabric-editor/angular-editor-fabric-js/node_modules/postcss-loader/lib/index.js:189:71)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
@ ./node_modules/bootstrap/dist/css/bootstrap.min.css
@ multi ./node_modules/bootstrap/dist/css/bootstrap.min.css ./node_modules/font-awesome/css/font-awesome.css ./src/styles.css
ERROR in src/app/app.component.html(33,69): : Property 'size' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(43,69): : Property 'size' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(58,65): : Property 'textString' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(96,41): : Property 'url' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(129,147): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(133,146): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(137,147): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(141,139): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(141,139): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(145,142): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(153,31): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(175,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(175,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(176,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(177,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(177,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(183,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(183,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(188,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(188,46): : Property 'textEditor' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(188,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(188,46): : Property 'figureEditor' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(195,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(195,46): : Property 'textEditor' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(219,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(219,46): : Property 'textEditor' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(238,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(238,46): : Property 'textEditor' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(263,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(263,46): : Property 'textEditor' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(268,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(268,46): : Property 'textEditor' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(273,46): : Property 'selected' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(273,46): : Property 'textEditor' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(291,26): : Property 'json' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(33,69): : Property 'size' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(33,94): : Expected 1 arguments, but got 0.
src/app/app.component.html(43,69): : Property 'size' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(43,95): : Expected 1 arguments, but got 0.
src/app/app.component.html(58,65): : Property 'textString' is private and only accessible within class 'AppComponent'.
src/app/app.component.html(102,89): : Property 'url' is private and only accessible within class 'AppComponent'.

kevoj commented

You can download the new version!