ionic-team / ionic-team/angular-toolkit

An unhandled exception occurred: context.getProjectMetadata is not a function

Open
#215 6 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
73
Forks
34
Avg merge
6m
Merged PRs (30d)
5

Description

I get this error message, when I try to run my ionic app in the simulator.

`An unhandled exception occurred: context.getProjectMetadata is not a function`

The command I'm using to run my project (works fine on angular 8, and angular toolkit 2.1)

`ionic cordova run ios --livereload --target '...'`

-------------
Ionic info

`Ionic:

Ionic CLI : 6.1.0 (/Users/user/.nvm/versions/node/v10.19.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.0.1
@angular-devkit/build-angular : 0.900.3
@angular-devkit/schematics : 9.0.3
@angular/cli : 9.0.3
@ionic/angular-toolkit : 2.2.0

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-webview 4.1.3, (and 14 other plugins)

Utility:

cordova-res : not installed
native-run : 0.3.0

System:

ios-deploy : 1.10.0
ios-sim : 8.0.2
NodeJS : v10.19.0 (/Users/user/.nvm/versions/node/v10.19.0/bin/node)
npm : 6.13.7
OS : macOS Catalina
Xcode : Xcode 11.3.1 Build version 11C504 `

-----------
ng version

`Angular CLI: 9.0.3
Node: 10.19.0
OS: darwin x64

Angular: 9.0.2
... common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.