Cant use 'npm init' in Glitch Console

Hello, when i type ‘npm init’ in Glitch console its respond me “-su: npm: command not found
Can I get somes helps please ?
I drop a screenshot here:

1 Like

now you have a chicken-and-egg problem ):

  1. glitch won’t set up node and npm in PATH unless there’s already a package.json (otherwise it’s a static site with no nodejs “installed”)
  2. you were gonna make the package.json with npm init

Ooh, i see. Thanks you so much its work with package.json file.