antvis / Graphin

A React toolkit for graph visualization based on G6
https://graphin.antv.antgroup.com
MIT License
982 stars 263 forks source link

missing script: bootstrap #243

Closed afuyo closed 1 year ago

afuyo commented 3 years ago

Describe the bug npm run bootstrap returns error: missing script: bootstrap

To Reproduce I follow the readme in order to run graphin studio. Shouldn't it be defined in package.json?

npm run bootstrap

pomelo-nwu commented 3 years ago

@afuyo https://github.com/antvis/Graphin/blob/master/package.json#L14

afuyo commented 3 years ago

@pomelo-nwu Thanks, it was very helpful. Still getting some errors when running npm run studio: Error: Cannot find module 'C:\github\Graphin\packages\graphin-studio\node_modules\webpack-dev-server\bin\webpack-dev-server.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15) at Function.Module._load (internal/modules/cjs/loader.js:725:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: []

pomelo-nwu commented 3 years ago

@afuyo studio is still being refactored, please run npm run docs to view the dumi docs

mamonaabdullah122 commented 2 years ago

Same issue here any solution for that.

jannikstdl commented 1 year ago

Same, still no solution?

pomelo-nwu commented 1 year ago

Same, still no solution?

npm run bootstrap:ci

or

npx lerna bootstrap