![](/img/trans.png)
[英]In Svelte and Vite, error "HTMLElement is not defined" shows up after running "npm run dev"
[英]Npm not running in terminal vite
我輸入的內容: Npm run dev
錯誤:
npm ERR! Missing script: "dev"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\andre\AppData\Local\npm-cache\_logs\2021-11-12T04_58_51_898Z-debug.log
傑森:
{
"name": "port",
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"serve": "vite preview"
},
"devDependencies": {
"vite": "^2.6.4"
},
"dependencies": {
"three": "^0.134.0"
}
}
如果你能幫忙,謝謝你,如果不能,謝謝你閱讀這篇文章並抽出你一天的時間
通過cd your-project-name
轉到您的項目目錄。 運行npm run dev
命令npm run dev
試(在你的npm命令中,“N”是大寫)。 如果不起作用,請檢查以下鏈接(綠色勾號答案):
你能修好嗎?,在這種情況下我需要你的幫助,我的問題是平等的
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.