【发布时间】:2021-12-29 00:37:41
【问题描述】:
大家好,我是 Parcel 的新手,我正在尝试使用 Parcel 在其上构建我的网站。我安装了包裹使用
npm install --save-dev parcel
但没用。然后我运行 parcel index.html 并返回
parcel : The term 'parcel' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name,
or if a path was included, verify that the path is correct and try again.
我尝试卸载包裹并重新安装,但没有成功。任何想法为什么会发生这种情况?先感谢您。 下面是我的 package.json
package.json
{
"dependencies": {
"dat.gui": "^0.7.7",
"gsap": "^3.6.0",
"load-asset": "^1.2.0",
"nice-color-palettes": "^3.0.0",
"three": "^0.126.1",
"vec2": "^1.6.1"
},
"devDependencies": {
"glslify-bundle": "^5.1.1",
"glslify-deps": "^1.3.2",
"parcel": "^2.0.1",
"parcel-bundler": "^1.12.5"
}
}
【问题讨论】:
标签: parceljs