rocket icon indicating copy to clipboard operation
rocket copied to clipboard

Folowing Getting started leads to error on Windows when running npm start

Open PawelWelsbergAtBerryWorld opened this issue 2 years ago • 1 comments

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:

  1. I choose the hydration starter using the following. It runs OK:
C:/rocket-test/>npx @rocket/create@latest
  1. 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.
  1. 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

proweb avatar May 19 '23 07:05 proweb