Andrew Fletcher published: 19 July 2022 1 minute read
In Xcode and executing a run command, the response error was:
{
"name": "NullInjectorError",
"ngTempTokenPath": null,
"ngTokenPath": ["Ee", "fe", "Ne", "Ne", "Ne"]
}
This was a result of me attempting to incorrectly import the AppComponent from inside a service.
import { AppComponent } from './app.component';
Solution
Remove from the service files any requests made for the AppComponent.
Related articles
Andrew Fletcher
•
17 Dec 2023
Ignoring ffi-1.16.3 because its extensions are not built. Try: gem pristine ffi --version 1.16.3
The error you're encountering indicates an issue with the ffi gem during the CocoaPods update. The error message suggests trying to run the gem pristine command to fix it.Using terminal - run the following command:gem pristine ffi --version 1.16.3This command will attempt to restore the ffi gem to...
Andrew Fletcher
•
11 Oct 2023
Launching app code in a simulator like Xcode or Android Studio
Loading the code in a platform - in this article, I'll be focusing on Android and iOS. Ionic app shell prompts for iOS and Android devices. Here's a breakdown of the commands:npm run buildThis command is used to build your web app. It's typically associated with web development frameworks...
Andrew Fletcher
•
29 Sep 2023
Setting up an ionic app
Recently a client handed me code that runs an app through iOS and Android. No details about whether native or otherwise. Once I had the opportunity to crawl through the code, definitely not native. Typescript, Angular, Cordova... etc.Glancing at the modification dates, the last...