I created an astro website from the astro template, but whenever I try to use npm run dev, I get this error:
33 timing command:run Completed in 10ms
34 verbose stack Error: Missing script: "astro dev"
34 verbose stack
34 verbose stack To see a list of scripts, run:
34 verbose stack npm run
34 verbose stack at RunScript.run (/usr/local/share/nvm/versions/node/v20.11.0/lib/node_modules/npm/lib/commands/run-script.js:94:13)
34 verbose stack at async module.exports (/usr/local/share/nvm/versions/node/v20.11.0/lib/node_modules/npm/lib/cli-entry.js:61:5)
35 verbose cwd /workspaces/project-pitch-magic-queries-clone
36 verbose Linux 6.2.0-1018-azure
37 verbose node v20.11.0
38 verbose npm v10.2.4
39 error Missing script: "astro dev"
39 error
39 error To see a list of scripts, run:
39 error npm run
40 verbose exit 1
41 timing npm Completed in 96ms
42 verbose code 1
43 error A complete log of this run can be found in: /home/codespace/.npm/_logs/2024-01-26T02_05_35_342Z-debug-0.log```
I think NPM is failing to find my scripts, but I don't know how to fix the issue.