尝试使用parcel
尝试观看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)
我该怎么办?
答案 0 :(得分:0)
这是在包裹遍历html文档以链接到捆绑的时间点造成的。当遇到templating syntax of the django framework时,它会飞散!这是github ticket所跟踪的问题。