sqlhabit / sql_schema_visualizer

SQL schema visualisation built with ReactFlow.
https://sqlhabit.github.io/sql_schema_visualizer/
MIT License
167 stars 33 forks source link

Error while running "npm run reset" #11

Closed dilkushpatel closed 6 months ago

dilkushpatel commented 6 months ago

When I run npm run reset I get below error

sql_schema_visualizer@1.3.2 reset bin/reset

'bin' is not recognized as an internal or external command, operable program or batch file.

I'm running this on windows 11 cmd prompt

I tried changing bin/reset to bin\reset but error remains same

dilkushpatel commented 6 months ago

@makaroni4 I was able to fix the issue updated package.json with below details

"scripts": { "start": "react-scripts start", "build": "react-scripts build && node ./bin/create_db_pages", "predeploy": "npm run build", "deploy": "gh-pages -d build", "test": "react-scripts test", "eject": "react-scripts eject", "reset": "node ./bin/reset", "import": "node ./bin/import" }

makaroni4 commented 6 months ago

Awesome, thank you for posting the solution @dilkushpatel 🙌