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
I know very little about Github so I am not sure how to get started with this library and need some very basic helps.
1) How can I directly use this on a browser?
I downloaded the zip file and extracted them to a word folder, and then under the same folder, I create a test.html file:
The browserify.js file will generate an error. I understand it can only be used under nodejs environment. But how can I directly use it on my webpage?
2) How to install the library through npm?
I also tried installing it on my linux server. Again, I extracted the downloaded .zip file to a word folder, and under this folder I ran npm i d3-cloud
However, this is what I got:
the log says:
verbose stack Error: Refusing to install d3-cloud as a dependency of itself
UPDATE
OK. I have been able to install the package by running npm i
under the word folder. Still the question is, how can I use this library on my webpage?
The text was updated successfully, but these errors were encountered:
I know very little about Github so I am not sure how to get started with this library and need some very basic helps.
1) How can I directly use this on a browser?
I downloaded the zip file and extracted them to a word folder, and then under the same folder, I create a test.html file:
The browserify.js file will generate an error. I understand it can only be used under nodejs environment. But how can I directly use it on my webpage?
2) How to install the library through npm?
I also tried installing it on my linux server. Again, I extracted the downloaded .zip file to a
word
folder, and under this folder I rannpm i d3-cloud
However, this is what I got:
the log says:
UPDATE
OK. I have been able to install the package by running
npm i
under the
word
folder. Still the question is, how can I use this library on my webpage?The text was updated successfully, but these errors were encountered: