Replies: 3 comments 1 reply
-
依赖不是执行npm install命令吗?我执行了。
…------------------------------------------------------------------
发件人:chenjiajian ***@***.***>
发送时间:2021年6月21日(星期一) 10:37
收件人:NervJS/taro ***@***.***>
抄 送:刘乾儒-前端开发工程师 ***@***.***>; Author ***@***.***>
主 题:Re: [NervJS/taro] yarn dev:weapp命令执行后报错,刚接触taro,菜鸟一枚,请大神指教 (#9575)
依赖没装好吧
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
谢谢,已经解决了,是因为taro的版本装的太高了。
…------------------------------------------------------------------
发件人:chenjiajian ***@***.***>
发送时间:2021年6月24日(星期四) 13:08
收件人:NervJS/taro ***@***.***>
抄 送:刘乾儒-前端开发工程师 ***@***.***>; Author ***@***.***>
主 题:Re: [NervJS/taro] yarn dev:weapp命令执行后报错,刚接触taro,菜鸟一枚,请大神指教 (#9575)
lock file 都删了后重装试试,另外 CLI 和依赖版本也要保持一致。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Chen-jj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Taro v3.2.13
(node:16992) UnhandledPromiseRejectionWarning: Error: Cannot find module '@tarojs/plugin-platform-weapp' from 'D:\projects-app\TYDWX'
at Function.resolveSync [as sync] (C:\Users\User\AppData\Local\Yarn\Data\global\node_modules@tarojs\service\node_modules\resolve\lib\sync.js:81:15)
at C:\Users\User\AppData\Local\Yarn\Data\global\node_modules@tarojs\service\dist\utils\index.js:46:31
at Object.resolvePresetsOrPlugins (C:\Users\User\AppData\Local\Yarn\Data\global\node_modules@tarojs\service\dist\utils\index.js:45:30)
at Kernel.resolvePlugins (C:\Users\User\AppData\Local\Yarn\Data\global\node_modules@tarojs\service\dist\Kernel.js:90:36)
at Kernel.initPresetsAndPlugins (C:\Users\User\AppData\Local\Yarn\Data\global\node_modules@tarojs\service\dist\Kernel.js:81:14)
at Kernel. (C:\Users\User\AppData\Local\Yarn\Data\global\node_modules@tarojs\service\dist\Kernel.js:40:18)
at Generator.next ()
at C:\Users\User\AppData\Local\Yarn\Data\global\node_modules@tarojs\service\dist\Kernel.js:8:71
at new Promise ()
(node:16992) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without 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:16992) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Beta Was this translation helpful? Give feedback.
All reactions