Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ionic cordova build android --prod
- Running app-scripts build: --prod --platform android --target cordova
- [11:01:56] build prod started ...
- [11:01:56] clean started ...
- [11:01:56] clean finished in 30 ms
- [11:01:56] copy started ...
- [11:01:56] deeplinks started ...
- [11:01:56] deeplinks finished in 127 ms
- [11:01:56] ngc started ...
- [11:02:02] ngc finished in 6.45 s
- [11:02:02] preprocess started ...
- [11:02:02] preprocess finished in less than 1 ms
- [11:02:02] webpack started ...
- [11:02:06] copy finished in 10.18 s
- Error: ./node_modules/tslib/tslib.es6.js
- Module build failed: TypeError: Cannot read property 'type' of undefined
- at Object.getEffectiveTypeAnnotationNode (C:\gitlab\veneto-app\node_modules\typescript\lib\typescript.js:9341:18)
- at assignContextualParameterTypes (C:\gitlab\veneto-app\node_modules\typescript\lib\typescript.js:41652:25)
- at checkFunctionExpressionOrObjectLiteralMethod (C:\gitlab\veneto-app\node_modules\typescript\lib\typescript.js:41948:29)
- at checkExpressionWorker (C:\gitlab\veneto-app\node_modules\typescript\lib\typescript.js:42959:28)
- at checkExpression (C:\gitlab\veneto-app\node_modules\typescript\lib\typescript.js:42898:42)
- at checkBinaryLikeExpression (C:\gitlab\veneto-app\node_modules\typescript\lib\typescript.js:42475:29)
- at checkBinaryExpression (C:\gitlab\veneto-app\node_modules\typescript\lib\typescript.js:42467:20)
- at checkExpressionWorker (C:\gitlab\veneto-app\node_modules\typescript\lib\typescript.js:42980:28)
- at checkExpression (C:\gitlab\veneto-app\node_modules\typescript\lib\typescript.js:42898:42)
- at checkBinaryLikeExpression (C:\gitlab\veneto-app\node_modules\typescript\lib\typescript.js:42475:29)
- @ ./node_modules/@angular/platform-browser/esm5/platform-browser.js 9:0-44
- @ ./src/app/main.ts,./src/app/main.ts
- Module not found: Error: Can't resolve './app.module.ngfactory' in 'C:\gitlab\veneto-app\src\app'
- resolve './app.module.ngfactory' in 'C:\gitlab\veneto-app\src\app'
- using description file: C:\gitlab\veneto-app\package.json (relative path: ./src/app)
- Field 'browser' doesn't contain a valid alias configuration
- after using description file: C:\gitlab\veneto-app\package.json (relative path: ./src/app)
- using description file: C:\gitlab\veneto-app\package.json (relative path: ./src/app/app.module.ngfactory)
- no extension
- Field 'browser' doesn't contain a valid alias configuration
- C:\gitlab\veneto-app\src\app\app.module.ngfactory doesn't exist
- .ts
- Field 'browser' doesn't contain a valid alias configuration
- C:\gitlab\veneto-app\src\app\app.module.ngfactory.ts doesn't exist
- .js
- Field 'browser' doesn't contain a valid alias configuration
- C:\gitlab\veneto-app\src\app\app.module.ngfactory.js doesn't exist
- .json
- Field 'browser' doesn't contain a valid alias configuration
- C:\gitlab\veneto-app\src\app\app.module.ngfactory.json doesn't exist
- as directory
- C:\gitlab\veneto-app\src\app\app.module.ngfactory doesn't exist
- [C:\gitlab\veneto-app\src\app\app.module.ngfactory]
- [C:\gitlab\veneto-app\src\app\app.module.ngfactory.ts]
- [C:\gitlab\veneto-app\src\app\app.module.ngfactory.js]
- [C:\gitlab\veneto-app\src\app\app.module.ngfactory.json]
- [C:\gitlab\veneto-app\src\app\app.module.ngfactory]
- @ ./src/app/main.ts 2:0-60
- at new BuildError (C:\gitlab\veneto-app\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28)
- at callback (C:\gitlab\veneto-app\node_modules\@ionic\app-scripts\dist\webpack.js:121:28)
- at emitRecords.err (C:\gitlab\veneto-app\node_modules\webpack\lib\Compiler.js:265:13)
- at Compiler.emitRecords (C:\gitlab\veneto-app\node_modules\webpack\lib\Compiler.js:371:38)
- at emitAssets.err (C:\gitlab\veneto-app\node_modules\webpack\lib\Compiler.js:258:10)
- at applyPluginsAsyncSeries1.err (C:\gitlab\veneto-app\node_modules\webpack\lib\Compiler.js:364:12)
- at next (C:\gitlab\veneto-app\node_modules\tapable\lib\Tapable.js:218:11)
- at Compiler.compiler.plugin (C:\gitlab\veneto-app\node_modules\webpack\lib\performance\SizeLimitsPlugin.js:99:4)
- at Compiler.applyPluginsAsyncSeries1 (C:\gitlab\veneto-app\node_modules\tapable\lib\Tapable.js:222:13)
- at Compiler.afterEmit (C:\gitlab\veneto-app\node_modules\webpack\lib\Compiler.js:361:9)
Advertisement
Add Comment
Please, Sign In to add comment