Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

依赖包有问题 跑不起来 #8

Open
Mh2336393 opened this issue Aug 17, 2021 · 0 comments
Open

依赖包有问题 跑不起来 #8

Mh2336393 opened this issue Aug 17, 2021 · 0 comments

Comments

@Mh2336393
Copy link

(node:12832) UnhandledPromiseRejectionWarning: TypeError: Unexpected MODIFIER at 39, expected END
at mustConsume (D:\GitHub\dev-multiport-financial\node_modules@tarojs\plugin-mock\node_modules\path-to-regexp\src\index.ts:157:11)
at parse (D:\GitHub\dev-multiport-financial\node_modules@tarojs\plugin-mock\node_modules\path-to-regexp\src\index.ts:228:5)
at stringToRegexp (D:\GitHub\dev-multiport-financial\node_modules@tarojs\plugin-mock\node_modules\path-to-regexp\src\index.ts:495:25)
at Object.pathToRegexp (D:\GitHub\dev-multiport-financial\node_modules@tarojs\plugin-mock\node_modules\path-to-regexp\src\index.ts:617:10)
at D:\GitHub\dev-multiport-financial\node_modules@tarojs\plugin-mock\src\utils.ts:66:17
at Array.map ()
at parseMockApis (D:\GitHub\dev-multiport-financial\node_modules@tarojs\plugin-mock\src\utils.ts:51:35)
at getMockApis (D:\GitHub\dev-multiport-financial\node_modules@tarojs\plugin-mock\src\utils.ts:79:10)
at Object.createMockMiddleware (D:\GitHub\dev-multiport-financial\node_modules@tarojs\plugin-mock\src\utils.ts:89:18)
at Object.fn (D:\GitHub\dev-multiport-financial\node_modules@tarojs\plugin-mock\src\index.ts:29:11)
at Kernel. (D:\nvm\v14.17.5\node_modules@tarojs\cli\node_modules@tarojs\service\dist\Kernel.js:201:48)
at Generator.next ()
at D:\nvm\v14.17.5\node_modules@tarojs\cli\node_modules@tarojs\service\dist\Kernel.js:8:71
at new Promise ()
at __awaiter (D:\nvm\v14.17.5\node_modules@tarojs\cli\node_modules@tarojs\service\dist\Kernel.js:4:12)
at D:\nvm\v14.17.5\node_modules@tarojs\cli\node_modules@tarojs\service\dist\Kernel.js:200:33
(Use node --trace-warnings ... to show where the warning was created)
(node:12832) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function w
ithout a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection,
use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:12832) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled wil
l terminate the Node.js process with a non-zero exit code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant