GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Element] is not a known element · Issue #2374 · NativeScript/nativescript-angular

[Element] is not a known element #2374

New issue
Copy link
New issue
Copy link
Open
Open
[Element] is not a known element#2374
Copy link

Description

@paul-castro
paul-castro
opened on Jan 12, 2022
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.

Activity

  1. RazerPride commented on Aug 17, 2022

    @RazerPride
    RazerPride
    on Aug 17, 2022
    More actions

    I have the same problem on Angular v13.0.0, I tried creating a shared module which exports the desired component but does not work either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.