Problem with dependency d3
See original GitHub issueHello,
I would like to use your library from NPM, but when i’m cmpiling with webpack.encore (because i’m working on symfony 4 project), i have this error :
Running webpack ...
ERROR Failed to compile with 1 errors 14:50:55
This dependency was not found:
* d3 in ./assets/js/deepskymap.js
My script deepskymap.js is like this (it’s a resume) :
import Celestial from 'd3-celestial';
export default function skymap()
{
let config = {...};
Celestial.add({...});
Celestial.display(config);
}
And app.js :
import skymap from './deepskymap'
skymap();
Do i need to install/import d3 package NPM too ? Is something wrong ? Thank you 😃
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Some devDependencies should be dependencies? #3 - GitHub
I noticed that d3-interpolate and d3-format are listed under devDependencies rather than dependencies in package.json, however they are hard ...
Read more >d3.js Typescript Dependency Compilation Errors
These properties seem to be working fine, but the typescript compiler doesn't recognize them, indicating that there's something wrong with my @ ...
Read more >d3 - npm
D3 (or D3.js) is a JavaScript library for visualizing data using web standards. D3 helps you bring data to life using SVG, Canvas...
Read more >The awkward valley to ESM: Node.js, Victory, and D3
The big question after deciding that we'd vendor in Victory's D3 dependencies confronted us — how should we technologically accomplish this? One ...
Read more >DependenTree, Graph Visualization Library - Square Developer
When trying to display larger dependency trees, my browser tab would frequently crash. Once, I was lucky enough to see an “out of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ah, so that doesn’t work automatically. Oops. Updated
Sorry for the late comment, I was terribly busy for the last few months. I have now exported the entire Celestial object in case it was invoked via require. I think that may be what you wanted.