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

bug: Karma UI doesn't fully work in an Ionic Angular application #29963

Open
3 tasks done
davidkron opened this issue Oct 23, 2024 · 0 comments
Open
3 tasks done

bug: Karma UI doesn't fully work in an Ionic Angular application #29963

davidkron opened this issue Oct 23, 2024 · 0 comments
Labels

Comments

@davidkron
Copy link

davidkron commented Oct 23, 2024

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

Jasmine part of the Karma UI doesn't show. This screenshot is from a newly created Ionic application using the CLI.
ionic-karma-problem

Expected Behavior

Jasmine part of the Karma UI should show. This screenshot is from a newly created Angular application (without Ionic) using the CLI.
ionic-karma-expected

Steps to Reproduce

  1. npm install -g @ionic/cli@latest
  2. ionic start my-app blank --type=angular-standalone
  3. cd my-app/
  4. npm run test

Note: didn't provide a reproduction URL, as the problem is shown in a newly generated Ionic application.

Code Reproduction URL

https://github.com

Ionic Info

[WARN] Error loading @capacitor/ios package.json: Error: Cannot find module
'@capacitor/ios/package.json'

   Require stack:
   -
   /home/vagrant/.npm-global/lib/node_modules/@ionic/cli/lib/project/index.js
   - /home/vagrant/.npm-global/lib/node_modules/@ionic/cli/lib/index.js
   - /home/vagrant/.npm-global/lib/node_modules/@ionic/cli/index.js
   - /home/vagrant/.npm-global/lib/node_modules/@ionic/cli/bin/ionic

[WARN] Error loading @capacitor/android package.json: Error: Cannot find module
'@capacitor/android/package.json'

   Require stack:
   -
   /home/vagrant/.npm-global/lib/node_modules/@ionic/cli/lib/project/index.js
   - /home/vagrant/.npm-global/lib/node_modules/@ionic/cli/lib/index.js
   - /home/vagrant/.npm-global/lib/node_modules/@ionic/cli/index.js
   - /home/vagrant/.npm-global/lib/node_modules/@ionic/cli/bin/ionic

Ionic:

Ionic CLI : 7.2.0 (/home/vagrant/.npm-global/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 8.3.3
@angular-devkit/build-angular : 18.2.9
@angular-devkit/schematics : 18.2.9
@angular/cli : 18.2.9
@ionic/angular-toolkit : 11.0.1

Capacitor:

Capacitor CLI : 6.1.2
@capacitor/android : not installed
@capacitor/core : 6.1.2
@capacitor/ios : not installed

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v20.17.0 (/usr/bin/node)
npm : 10.8.3
OS : Linux 5.15

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant