Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Element] is not a known element #2374

Copy link
Copy link
Open
@paul-castro

Description

@paul-castro
Issue body actions

Package.json

{
"name": [App Name],
"main": "./src/main.ts",
"version": "1.0.0",
"private": true,
"dependencies": {
"@angular/animations": "~13.1.1",
"@angular/common": "~13.1.1",
"@angular/compiler": "~13.1.1",
"@angular/core": "~13.1.1",
"@angular/forms": "~13.1.1",
"@angular/platform-browser": "~13.1.1",
"@angular/platform-browser-dynamic": "~13.1.1",
"@angular/router": "~13.1.1",
"@nativescript/angular": "^13.0.0",
"@nativescript/background-http": "^5.0.2",
"@nativescript/core": "~8.1.1",
"@nativescript/firebase-analytics": "^1.0.0-alpha.0",
"@nativescript/firebase-core": "^1.0.0-alpha.0",
"@nativescript/theme": "~3.0.1",
"@nativescript/webpack": "~5.0.0",
"@nstudio/nativescript-cardview": "^2.0.1",
"@nstudio/nativescript-checkbox": "^2.0.4",
"@nstudio/nativescript-loading-indicator": "^4.1.2",
"moment": "^2.29.1",
"nativescript-appavailability": "^1.3.2",
"nativescript-appversion": "^1.4.4",
"nativescript-exit": "^1.0.1",
"nativescript-fingerprint-auth": "^7.0.2",
"nativescript-geolocation": "^5.1.0",
"nativescript-google-maps-sdk": "^3.0.2",
"nativescript-mediafilepicker": "^4.0.2",
"nativescript-modal-datetimepicker": "^2.1.5",
"nativescript-phone": "^3.0.2",
"node-sass": "^7.0.1",
"rxjs": "~7.4.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.1.1",
"@angular/compiler-cli": "~13.1.1",
"@nativescript/android": "8.1.1",
"@nativescript/types": "~8.1.1",
"@ngtools/webpack": "~13.1.1",
"typescript": "~4.4.4"
}
}

Error:

error NG8001: 'FlexboxLayout' is not a known element:

  1. If 'FlexboxLayout' 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 NG8001: 'CardView' is not a known element:

  1. If 'CardView' 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.

All modules on my project, has @NgModule.schemas: "NO_ERRORS_SCHEMA".
This is a newly generated Nativescript angular app, but I copy paste a "src" folder from my old Nativescript project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.