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

Package cannot find main.ts as a specified module #109

Open
nana-boateng opened this issue Jan 24, 2025 · 0 comments
Open

Package cannot find main.ts as a specified module #109

nana-boateng opened this issue Jan 24, 2025 · 0 comments

Comments

@nana-boateng
Copy link

nana-boateng commented Jan 24, 2025

I'm using main.ts as my app in configured in standalone mode. When I run ng add ngx-matomo-client regardless of how I specify the module, it does not find it.

This is what I've tried and the corresponding error messages.

  • command: ng add ngx-matomo-client --module ./src/main.ts
    output:
Specified module './src/main.ts' does not exist.
Looked in the following directories:
    /src/app/src/main.ts
    /src/app/src
    /src/app
    /src
  • command: ng add ngx-matomo-client --module main.ts
    output:
Specified module 'main.ts' does not exist.
Looked in the following directories:
    /src/app/main.ts
    /src/app
    /src
  • command: ng add ngx-matomo-client --module /main.ts
    output:
Specified module '/main.ts' does not exist.
Looked in the following directories:
    /src/app/main.ts
    /src/app
    /src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant