You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: The argument 'id' must be a non-empty string. Received ''
at new NodeError (node:internal/errors:399:5)
at Module.require (node:internal/modules/cjs/loader:1136:11)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/home/yswtrue/Code/shiwen-app/shiwen-app/src/app.config.ts:5:1)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._compile (/home/yswtrue/Code/shiwen-app/shiwen-app/node_modules/pirates/lib/index.js:136:24)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Object.newLoader [as .ts] (/home/yswtrue/Code/shiwen-app/shiwen-app/node_modules/pirates/lib/index.js:141:7)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12) {
code: 'ERR_INVALID_ARG_VALUE'
}
相关平台
微信小程序
小程序基础库: 2.30.4
使用框架: Vue 3
复现步骤
用 vue3, typescript,NutUI4,npm模板新建项目
然后执行
npm run build:weapp -- --watch
期望结果
可以正常运行
实际结果
👽 Taro v3.6.2
Tips:
$ NODE_ENV=production taro build --type weapp --watch
node:internal/errors:490
ErrorCaptureStackTrace(err);
^
TypeError: The argument 'id' must be a non-empty string. Received ''
at new NodeError (node:internal/errors:399:5)
at Module.require (node:internal/modules/cjs/loader:1136:11)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/home/yswtrue/Code/shiwen-app/shiwen-app/src/app.config.ts:5:1)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._compile (/home/yswtrue/Code/shiwen-app/shiwen-app/node_modules/pirates/lib/index.js:136:24)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Object.newLoader [as .ts] (/home/yswtrue/Code/shiwen-app/shiwen-app/node_modules/pirates/lib/index.js:141:7)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12) {
code: 'ERR_INVALID_ARG_VALUE'
}
环境信息
补充信息
再次运行返回这个错误
The text was updated successfully, but these errors were encountered: