khadidja
khadidja

Reputation: 147

sh: svelte-kit: command not found

I'm following the docs on starting a SvelteKit project.

When I run this:

npm init svelte@next my-app
cd my-app
npm install

Everything looks great. Then I execute this command: npm run dev

And I get sh: svelte-kit: command not found

I'm running node v16.13.1 and npm 8.1.2 -- I updated node yesterday and I'm wondering if that's the cause of my problems, since beforehand I had no problem running a SvelteKit project.

Upvotes: 2

Views: 7854

Answers (1)

Joan Ricart
Joan Ricart

Reputation: 41

Did you actually run npm install?

Upvotes: 4

Related Questions