resolve 'react' in 'D:\workplace\taro\hooks-demo\node_modules\@taro-hooks\plugin-react\dist'
Parsed request is a module
using description file: D:\workplace\taro\hooks-demo\node_modules\@taro-hooks\plugin-react\package.json (relative path: ./dist)
aliased with mapping 'react': 'cjs/react.production.min.js' to 'cjs/react.production.min.js'
Parsed request is a module
using description file: D:\workplace\taro\hooks-demo\node_modules\@taro-hooks\plugin-react\package.json (relative path: ./dist)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
D:\workplace\taro\hooks-demo\node_modules\@taro-hooks\plugin-react\dist\node_modules doesn't exist or is not a directory
looking for modules in D:\workplace\taro\hooks-demo\node_modules\@taro-hooks\plugin-react\node_modules
D:\workplace\taro\hooks-demo\node_modules\@taro-hooks\plugin-react\node_modules\cjs doesn't exist
D:\workplace\taro\hooks-demo\node_modules\@taro-hooks\node_modules doesn't exist or is not a directory
D:\workplace\taro\hooks-demo\node_modules\node_modules doesn't exist or is not a directory
looking for modules in D:\workplace\taro\hooks-demo\node_modules
D:\workplace\taro\hooks-demo\node_modules\cjs doesn't exist
D:\workplace\taro\node_modules doesn't exist or is not a directory
D:\workplace\node_modules doesn't exist or is not a directory
D:\node_modules doesn't exist or is not a directory
[UnhandledPromiseRejection: 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(). The promise rejected with the reason "[object Array]".] {
code: 'ERR_UNHANDLED_REJECTION'
}
版本
复现步骤
yarn dev:weapp
你期望的现象?
运行成功
现有的现象?
运行失败 h5端可以正常运行
复现 repo(最好可以提供一个复现的 repo)