-
Notifications
You must be signed in to change notification settings - Fork 46
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
[8.0.1] Cannot find module 'ng-intercom' #99
Comments
@scott-wyatt – I encountered this trying to upgrade this morning, looks like the src folder was published instead of the built dist |
Getting a similar issue: Cannot use namespace 'Intercom' as a type. Was on 8.0.0 beta then today it was automatically updated to 8.0.1 and now all the builds break. |
The issue seems to be fact that the
The directory doesn't exist though; thus the whole module isn't properly recognized by TypeScript's resolution algorithm. The previous version of this package (8.0.0) had a different folder structure altogether, with proper mappings provided in |
@scott-wyatt, @wbhob – I appreciate your work on this package, and again, I hate to nag, but when can we expect to have this resolved? As far as I can see this just needs republishing using the correct dist directory. |
Hi all, forgot to read my own documentation, I apologize for that. Typically the CI/CD takes care of publishing, but there is an unrelated to the library error that is making the tests fail, and we are pretty swamped. I'll be publishing 8.0.2 in a few moments. |
Versions
Description
Typescript is unable to resolve the module when importing from
"ng-intercom"
Repro:
ng new ng-intercom-repro
npm install --save ng-intercom
import { IntercomModule } from "ng-intercom"
andIntercomModule.forRoot({appId: ''})
to imports in app.module.tsng build
If I then install 8.0.0 with
npm install ng-intercom@8.0.0
it then works.The text was updated successfully, but these errors were encountered: