Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tns run android --bundle --env.uglify --env.aot --env.snapshot generates ERROR in : 'Image' is not a known element: #3

Open
Abdelkrim opened this issue Nov 18, 2018 · 0 comments

Comments

@Abdelkrim
Copy link
Contributor

  1. git clone https://github.com/ALT-F1/GroceriesList.git
  2. run tns run android --bundle --env.uglify --env.aot --env.snapshot
  3. Error is generated ERROR in : 'Image' is not a known element:

altf1be\GroceriesList>tns run android --bundle --env.uglify --env.aot --env.snapshot
Skipping node_modules folder! Use the syncAllFiles option to sync files from this folder.
Searching for devices...
Executing before-liveSync hook from altf1be\GroceriesList\hooks\before-liveSync\nativescript-angular-sync.js
Executing before-watchPatterns hook from altf1be\GroceriesList\hooks\before-watchPatterns\nativescript-dev-typescript.js
Executing before-watchPatterns hook from altf1be\GroceriesList\hooks\before-watchPatterns\nativescript-dev-webpack.js
Executing before-watch hook from altf1be\GroceriesList\hooks\before-watch\nativescript-dev-typescript.js
Hook skipped because bundling is in progress.
Executing before-watch hook from altf1be\GroceriesList\hooks\before-watch\nativescript-dev-webpack.js
Running webpack for Android...
Stripping the snapshot flag. Bear in mind that snapshot is only available in release builds and is NOT available on Windows systems.
clean-webpack-plugin: altf1be\GroceriesList\platforms\android\app\src\main\assets\app*** has been removed.
File change detected. Starting incremental webpack compilation...

webpack is watching the files…

Hash: 8db118618f5092039338
Version: webpack 4.24.0
Time: 20874ms
Built at: 2018-11-18 13:03:19
2 assets
Entrypoint bundle = vendor.js bundle.js
[4] ../node_modules/rxjs/_esm5/internal/Observable.js + 1 modules 4.55 KiB {1} [built]
| 2 modules
[14] ../node_modules/rxjs/_esm5/internal/observable/from.js + 5 modules 6.17 KiB {1} [built]
| 6 modules
[64] ../node_modules/rxjs/_esm5/index.js + 17 modules 31.8 KiB {1} [built]
| 18 modules
[92] ../node_modules/rxjs/_esm5/internal/scheduler/asap.js + 3 modules 3.44 KiB {1} [built]
| 4 modules
[101] ../node_modules/rxjs/_esm5/operators/index.js + 84 modules 155 KiB {1} [built]
| 85 modules
[122] ../node_modules/rxjs/_esm5/internal/scheduler/queue.js + 2 modules 2.19 KiB {1} [built]
| 3 modules
[158] ./package.json 165 bytes {0} [optional] [built]
[225] ../$$_lazy_route_resource lazy namespace object 160 bytes {0} [built]
[242] ./main.ts 1.44 KiB {0} [built]
[276] ./app.css 333 bytes {0} [built]
[290] ./app.module.ts 3.25 KiB {0} [built]
[312] ./app.component.ts 1.14 KiB {0} [built]
[313] ./app.routing.ts 1.42 KiB {0} [built]
[314] ./login/login.component.ts 6.55 KiB {0} [built]
[317] ./list/list.component.ts 9.59 KiB {0} [built]
+ 307 hidden modules

ERROR in : 'Image' is not a known element:

  1. If 'Image' is an Angular component, then verify that it is part of this module.

  2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
    <StackLayout class="form" [class.dark]="!isLoggingIn">
    [ERROR ->]

     <TextField hint="Email Address" keyboardType="emai")
    

: Can't bind to 'text' since it isn't a known property of 'Button'. ("" [(ngModel)]="user.password"
class="input input-border">
<Button [ERROR ->][text]="isLoggingIn ? 'Sign in' : 'Sign up'" class="btn btn-primary"
(tap)="submit()"></")
: Can't bind to 'text' since it isn't a known property of 'Button'. ("n in' : 'Sign up'" class="btn btn-primary"
(tap)="submit()">
<Button [ERROR ->][text]="isLoggingIn ? 'Sign up' : 'Back to login'" (tap)="toggleDisplay()">
</StackLayo")
: 'StackLayout' is not a known element:

  1. If 'StackLayout' is an Angular component, then verify that it is part of this module.
  2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
    [ERROR ->]<StackLayout class="form" [class.dark]="!isLoggingIn">
    </Imag")
    : 'FlexboxLayout' is not a known element:
  3. If 'FlexboxLayout' is an Angular component, then verify that it is part of this module.
  4. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("[ERROR ->]
    <StackLayout class="form" [class.dark]="!isLoggingIn">
    <Image src="~/im")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant