vasturiano / d3-force-3d

Force-directed graph layout in 1D, 2D or 3D using velocity Verlet integration.
https://observablehq.com/@vasturiano/multi-dimensional-d3-force-simulation
MIT License
369 stars 52 forks source link

Cannot compile #20

Open urbanhop opened 1 year ago

urbanhop commented 1 year ago
  1. The prepare script does not run on windows.

  2. After yarn install I run rollup -c which complains:

import meta from './package.json' assert { type: 'json' };

What does the assert mean ? After removing it the bundles were built.

vasturiano commented 1 year ago

@urbanhop perhaps it's related to your version of node. See this: https://stackoverflow.com/questions/60205891/import-json-extension-in-es6-node-js-throws-an-error