rocket
rocket copied to clipboard
Folowing Getting started leads to error on Windows when running npm start
Folowing Getting started leads to error on Windows when running npm start. On Windows:
C:/rocket-test/>node --version
v18.14.2
C:/rocket-test/>npm --version
9.5.1
I am following the guide: https://rocket.modern-web.dev/docs/setup/getting-started/ and continuing with: https://rocket.modern-web.dev/docs/setup/adding-pages/
I do the following:
- I choose the hydration starter using the following. It runs OK:
C:/rocket-test/>npx @rocket/create@latest
- Then got error running:
C:/rocket-test/>npm start
> [email protected] start
> NODE_DEBUG=engine:rendering rocket start --open
'NODE_DEBUG' is not recognized as an internal or external command,
operable program or batch file.
- I add "SET " in front of the "start" in package.json and re-try. It doesn't do anything interesting:
C:/rocket-test/>npm start
> [email protected] start
> SET NODE_DEBUG=engine:rendering rocket start --open
The page: https://rocket.modern-web.dev/docs/setup/adding-pages/ is saying:
This will start rocket in development mode and you will see your site running in your browser.
But this command doesn't do anything.
+1