You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.
While trying to do AOT for my app the cli was throwing the below error
ERROR in Unexpected value 'undefined' exported by the module 'FileUploaderModule in /node_modules/@uniprank/ngx-file-uploader/typings/index.d.ts'
Issue Description
The command that I used to run AOT node_modules/.bin/ngc -p tsconfig-aot.json
File content for tsconfig-aot.json
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"lib": [
"es2015", "dom"
],
"module": "es2015"
},
"files": [
"src/app/app.module.ts",
"src/main.ts"
],
thanks for your message, please try the new uploader from me. It's working like this one but it's builded for angular 2 and all newer versions. It used UMD files for the integration. ngx-file-uploader. This is an old version and it's deprecated.
I am using the uploader of ngx-file-uploader and it fails when trying to do AOT compilation. The error thrown is the same that @born4thrill reflected here. Any ideas on how to fix this?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue Overview
While trying to do AOT for my app the cli was throwing the below error
ERROR in Unexpected value 'undefined' exported by the module 'FileUploaderModule in /node_modules/@uniprank/ngx-file-uploader/typings/index.d.ts'
Issue Description
The command that I used to run AOT node_modules/.bin/ngc -p tsconfig-aot.json
File content for tsconfig-aot.json
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"lib": [
"es2015", "dom"
],
"module": "es2015"
},
"files": [
"src/app/app.module.ts",
"src/main.ts"
],
"angularCompilerOptions": {
"genDir": "aot",
"skipMetadataEmit" : true
}
}
The text was updated successfully, but these errors were encountered: