执行不npm run dev之后,微信开发工具打开example报错"./dist/uploader/demo/index" 未找到 #5665
Unanswered
liangyuhong160
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
下载项目,安装依赖之后执行npm run dev,控制台出现:
[14:19:16]
'compileTs' errored after 5.53 s
[14:19:16] Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
at readWasm (D:\repo\lyh\vant-weapp\node_modules\gulp-typescript\node_modules\source-map\lib\read-wasm.js:8:13)
at wasm (D:\repo\lyh\vant-weapp\node_modules\gulp-typescript\node_modules\source-map\lib\wasm.js:25:16)
at D:\repo\lyh\vant-weapp\node_modules\gulp-typescript\node_modules\source-map\lib\source-map-consumer.js:264:14
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[14:19:16] 'buildExample' errored after 7.22 s
example目录的dist/uploader/demo下面是空的,还有几个组件的demo目录也是空的
vant-weapp版本: "version": "1.11.2",
node版本:v18.18.0
Beta Was this translation helpful? Give feedback.
All reactions