Closed StephanPraetsch closed 8 months ago
Hi,
I really like https://bkrem.github.io/react-d3-tree/ and I want to build something similar.
While trying to get the demo running I get an error. What am I doing wrong?
git clone https://github.com/bkrem/react-d3-tree.git cd react-d3-tree/ npm i npm link
then
$ npm run build && npm run build:docs && cd demo && npm run build && npm run deploy > react-d3-tree@3.5.1 build > rimraf lib && npm run build:cjs && npm run build:esm > react-d3-tree@3.5.1 build:cjs > tsc -p tsconfig.json > react-d3-tree@3.5.1 build:esm > tsc -p tsconfig.esm.json > react-d3-tree@3.5.1 build:docs > rimraf ./docs && typedoc Using TypeScript 4.9.4 from /tmp/react-d3-tree/node_modules/typescript/lib Warning: You are running in an unsupported TypeScript version! TypeDoc supports 3.9.x || 4.0.x DeprecationWarning: 'isIdentifierOrPrivateIdentifier' has been deprecated since v4.2.0. Use `isMemberName` instead. Rendering [========================================] 100% Documentation generated at /tmp/react-d3-tree/demo/public/docs > rd3t-demo@0.1.0 build > react-scripts build sh: 1: react-scripts: not found
$ node --version v19.7.0 $ npm --version 9.6.2
Hey, sorry I didn't get back to you here in good time but the issue seems to have been that you also needed to run npm i in the demo directory since it has its own deps/node_modules
npm i
demo
Hi,
I really like https://bkrem.github.io/react-d3-tree/ and I want to build something similar.
While trying to get the demo running I get an error. What am I doing wrong?
then
environment