NativeScript/nativescript-sdk-examples-ng

Webpack bundling issue

dennis-montana opened this issue · 2 comments

When running npm run build-android-bundle we get the following error:

ERROR in Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in /Users/dennis/Desktop/nativescript-sdk-examples-ng/node_modules/nativescript-angular/node_modules/@angular/core/core.d.ts, resolving symbol ɵf in /Users/dennis/Desktop/nativescript-sdk-examples-ng/node_modules/nativescript-angular/node_modules/@angular/core/core.d.ts, resolving symbol ɵf in /Users/dennis/Desktop/nativescript-sdk-examples-ng/node_modules/nativescript-angular/node_modules/@angular/core/core.d.ts

ERROR in ./main.aot.ts
Module not found: Error: Can't resolve './app.module.ngfactory' in '/Users/dennis/Desktop/nativescript-sdk-examples-ng/app'
@ ./main.aot.ts 2:0-60

same issue i am also facing when i am running npm run build-android-bundle
with a reference project https://github.com/TeamMaestro/angular-native-seed , i build my own project here in reference project i am able run the above cmd and get the build ,but in my project i am getting error as shown below

ERROR in Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported.
Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in native -seed-app/node_modules/@angular/core/core.d.ts, resolving symbol ɵe in native-seed-app/node_modules/@angular/core/core.d.
ts, resolving symbol ɵe in app/node_modules/@angular/core/core.d.ts

ERROR in ./main.aot.ts
Module not found: Error: Can't resolve './app/app.module.ngfactory'
@ ./main.aot.ts

lock commented

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.