You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I want to use angular-d3-word-cloud in my Ionic3 app project but I have difficulties importing the required dependencies.
I want to use the <word-cloud> element simply in my HTML, as described in https://github.com/weihanchen/angular-d3-word-cloud#directive-usage.
I started by installing the module with npm install angular-d3-word-cloud.
Note: I used angular.js, d3.js and angular-word-cloud.js instead of angular.min.js, d3.min.js, angular-word-cloud.min.js because i could not find the respective *.min.js-versions within my node_modules-folder.
However, when launching my app I get the following error:
Error: Template parse errors:
'word-cloud' is not a known element:
1. If 'word-cloud' is an Angular component, then verify that it is part of this module.
2. If 'word-cloud' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("
<ion-card-content>
<div id="wordsCloud">
[ERROR ->]<word-cloud words="allMealNames" width="300px" height="200px" padding="5"
"): ng:///AppModule/HistoryPage.html@37:16
The HTML page where I'm using the <word-cloud> element looks like this:
Hello,
I want to use angular-d3-word-cloud in my Ionic3 app project but I have difficulties importing the required dependencies.
I want to use the
<word-cloud>
element simply in my HTML, as described in https://github.com/weihanchen/angular-d3-word-cloud#directive-usage.npm install angular-d3-word-cloud
.<head>
of my index.html as follows:Note: I used
angular.js
,d3.js
andangular-word-cloud.js
instead ofangular.min.js
,d3.min.js
,angular-word-cloud.min.js
because i could not find the respective*.min.js
-versions within my node_modules-folder.However, when launching my app I get the following error:
The HTML page where I'm using the
<word-cloud>
element looks like this:Has anyone got a suggestion for solving this problem?
Thanks
The text was updated successfully, but these errors were encountered: