Comments (5)
@scott-wyatt – I encountered this trying to upgrade this morning, looks like the src folder was published instead of the built dist
from ng-intercom.
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.
from ng-intercom.
The issue seems to be fact that the dist
folder isn't published, while package.json
claims the following:
"main": "./dist/ng-intercom.js",
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 package.json
. Simply reverting back to 8.0.0 fixed the issue.
from ng-intercom.
@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.
from ng-intercom.
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.
from ng-intercom.
Related Issues (20)
- Error starting tour HOT 1
- Intercom is not compatible with Angular 9 since .forRoot() got deprecated. HOT 3
- Angular 11 is incompatible HOT 3
- Not showing Intercom(icon widget) before login
- Upgrade to Angular v16 HOT 7
- Breaks under Angular 17 HOT 1
- appId being ignored in boot method HOT 3
- Function calls are not supported in decorators but 'IntercomModule' was called. - Regression in beta.6 HOT 38
- Support for angular 7.0 HOT 2
- Event metadata must be an object HOT 1
- Problems when building HOT 4
- Error with ng build --prod HOT 2
- Function calls are not supported in decorators but 'IntercomModule' was called. HOT 1
- Provider parse errors, Cannot instantiate cyclic dependency HOT 2
- Please ensure your intercomSettings object is formatted correctly: Missing App ID. HOT 8
- [fix] use window.intercomSettings to initiate app ID
- Lib broken in 8.0.0-rc.0 HOT 1
- Star tour function needed HOT 8
- Route performance problems using updateOnRouterChange HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng-intercom.