Skip to content

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

@PawelWelsbergAtBerryWorld

Description

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

> rocket-hydration-starter@0.0.1 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

> rocket-hydration-starter@0.0.1 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions