Skip to content

run dev:alipay Execution error #4552

Closed as not planned
Closed as not planned
@wanwan002

Description

@wanwan002

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

  • I have looked for issues that already exist before submitting this
  • My issue follows the guidelines in the README file, and follows the 'How to ask a good question' guide at https://stackoverflow.com/help/how-to-ask

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions