Comments (9)
It may be because we have not add three as dependency in package.json, we may try it in ten hours, I hope it can work.
from giojs.
@BoTime, do you mean after you run the command "npm install giojs --save", you can immediately receive the message, or after installing, then run some js code with the giojs, you get the warning?
from giojs.
@syt123450 For sure, it's from the package.json. Now in the package.json, the dependencies is empty, like:
... "dependencies": {}, ...
I think someone modified the package.json, since when I first publish "gio.js", the "dependencies" is fine, i.e. contains "three.js".
from giojs.
When I add three and stats dependencies to giojs, it still can not be automatically install when I install giojs @zchholmes
from giojs.
I just tried on my test project, there's no problem about the dependency, i.e. three and stats can be imported the same as the giojs installed.
@syt123450 Can you check the "package.json" of "giojs" in the "node_modules" directory?
from giojs.
try it in our react-giojs folder, if we remove the "three" and "stats.js" dependencies from our package, when we run npm install, they will not be install to node_module
from giojs.
I think that's what suppose happened, since you removed from the package.json.
Any time you want to include and dependencies, you have to make sure you include it in the package.json "dependencies".
We should consider "giojs" and "react-giojs" as two separated npm projects, which means we need two package.json files to manage each of them.
from giojs.
I have no dependency issue when I npm install "giojs" or "react-giojs"
from giojs.
Add dependencies can solve this problem.
from giojs.
Related Issues (20)
- Hello, can I rotate automatically? HOT 2
- How to change giojs to transparent background HOT 6
- Line connect should use in and out longitude and latitude instead of country
- Performs really well, but doesn't look better than Googles webgl-globe 10 years ago! HOT 3
- Globe not showing up for examples
- Change color of ocean HOT 3
- expand between provinces within one country
- Want to change the mentioned brightness by different country.
- Expose CountryData
- Trigger onCountryPicked() when switchCountry() is called HOT 1
- Smooth rotation in mobile view
- Rotate globe on web HOT 2
- 有vue版吗 HOT 1
- Error: Element ref was specified as a string (container) but no owner was set.
- Error on Setup HOT 1
- Please Update the Source Code HOT 5
- Different color for mentioned countries
- Error on `npm start`
- Cannot read property 'center' of undefined HOT 1
- Cannot use v2 functions (i.e. Transparent Background)
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 giojs.