Parcel.js 调用 "watch" 时出现命令行界面错误
Parcel.js Command Line Interface error when "watch" is invoked
我在尝试使用包裹查看 html 文件的更改时收到以下错误:
C:\Users\sjsui\Desktop\git_workshop\MoonMachineOpenSource\MoonMachine\MoonMachine2\Front\templates>parcel watch index.html
× C:\Users\sjsui\Desktop\git_workshop\MoonMachineOpenSource\MoonMachine\MoonMachine2\Front\templates\index.html: URI malformed
at decodeURIComponent (<anonymous>)
at HTMLAsset.addURLDependency (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\src\Asset.js:93:7)
at HTMLAsset.processSingleDependency (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\src\assets\HTMLAsset.js:90:26)
at ast.walk.node (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\src\assets\HTMLAsset.js:139:43)
at traverse (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\posthtml\lib\api.js:105:26)
at traverse (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\posthtml\lib\api.js:111:5)
at traverse (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\posthtml\lib\api.js:105:17)
at traverse (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\posthtml\lib\api.js:111:5)
at traverse (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\posthtml\lib\api.js:105:17)
at Array.walk (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\posthtml\lib\api.js:39:10)
我应该尝试什么?
这是在 parcel 遍历 html 文档以获取要捆绑的链接时引起的。当它遇到正在跟踪此问题的 templating syntax of the django framework, it throws a fit! Here is the github ticket 时。
我在尝试使用包裹查看 html 文件的更改时收到以下错误:
C:\Users\sjsui\Desktop\git_workshop\MoonMachineOpenSource\MoonMachine\MoonMachine2\Front\templates>parcel watch index.html
× C:\Users\sjsui\Desktop\git_workshop\MoonMachineOpenSource\MoonMachine\MoonMachine2\Front\templates\index.html: URI malformed
at decodeURIComponent (<anonymous>)
at HTMLAsset.addURLDependency (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\src\Asset.js:93:7)
at HTMLAsset.processSingleDependency (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\src\assets\HTMLAsset.js:90:26)
at ast.walk.node (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\src\assets\HTMLAsset.js:139:43)
at traverse (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\posthtml\lib\api.js:105:26)
at traverse (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\posthtml\lib\api.js:111:5)
at traverse (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\posthtml\lib\api.js:105:17)
at traverse (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\posthtml\lib\api.js:111:5)
at traverse (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\posthtml\lib\api.js:105:17)
at Array.walk (C:\Users\sjsui\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\posthtml\lib\api.js:39:10)
我应该尝试什么?
这是在 parcel 遍历 html 文档以获取要捆绑的链接时引起的。当它遇到正在跟踪此问题的 templating syntax of the django framework, it throws a fit! Here is the github ticket 时。