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 "id" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:387:5)
at validateString (node:internal/validators:162:11)
at Module.require (node:internal/modules/cjs/loader:1093:3)
at require (node:internal/modules/cjs/helpers:119:18)
at Object. (C:\Users\asus\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\helper\src\npm.ts:184:17)
at Generator.next ()
at C:\Users\asus\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\helper\dist\npm.js:31:71
at new Promise ()
at __awaiter (C:\Users\asus\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\helper\dist\npm.js:27:12)
at Object.getNpmPkg (C:\Users\asus\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\helper\dist\npm.js:174:12) {
code: 'ERR_INVALID_ARG_TYPE'
}
Output
No response
Before You Submit
I have looked for issues that already exist before submitting this
Hi! It would be a lot easier to reproduce this issue if you could provide some example code, preferably in a version of Node.js that is not EoL. Could you please provide this so it can be easier to identify the issue at hand?
Node.js Version
v16.20.2
NPM Version
v9.7.2
Operating System
windows 11
Subsystem
assert
Description
react Alipay applet starts
Minimal Reproduction
node:internal/errors:478
ErrorCaptureStackTrace(err);
^
TypeError: The "id" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:387:5)
at validateString (node:internal/validators:162:11)
at Module.require (node:internal/modules/cjs/loader:1093:3)
at require (node:internal/modules/cjs/helpers:119:18)
at Object. (C:\Users\asus\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\helper\src\npm.ts:184:17)
at Generator.next ()
at C:\Users\asus\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\helper\dist\npm.js:31:71
at new Promise ()
at __awaiter (C:\Users\asus\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\helper\dist\npm.js:27:12)
at Object.getNpmPkg (C:\Users\asus\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules@tarojs\helper\dist\npm.js:174:12) {
code: 'ERR_INVALID_ARG_TYPE'
}
Output
No response
Before You Submit
The text was updated successfully, but these errors were encountered: