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
D:\codes\work\user\taro-user\node_modules@tarojs\cli\bin\taro
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (D:\codes\work\user\taro-user\node_modules@tarojs\webpack-runner\node_modules\csso-webpack-plugin\lib\index.js:6:1)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Module._compile (D:\codes\work\user\taro-user\node_modules\pirates\lib\index.js:99:24)
at Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Object.newLoader [as .js] (D:\codes\work\user\taro-user\node_modules\pirates\lib\index.js:104:7)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (D:\codes\work\user\taro-user\node_modules@tarojs\webpack-runner\dist\util\chain.js:5:31)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Module._compile (D:\codes\work\user\taro-user\node_modules\pirates\lib\index.js:99:24)
(node:4688) 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:4688) [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.
Done in 12.00s.
相关平台
H5
浏览器版本: Google Chrome 88.0.4324.182
使用框架: React
复现步骤
taro cli版本升级至 2.2.15
npm run build:h5
期望结果
打包成功
实际结果
👽 Taro v2.2.15
(node:4688) UnhandledPromiseRejectionWarning: Error: Cannot find module 'core-js/modules/es.string.replace.js'
Require stack:
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (D:\codes\work\user\taro-user\node_modules@tarojs\webpack-runner\node_modules\csso-webpack-plugin\lib\index.js:6:1)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Module._compile (D:\codes\work\user\taro-user\node_modules\pirates\lib\index.js:99:24)
at Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Object.newLoader [as .js] (D:\codes\work\user\taro-user\node_modules\pirates\lib\index.js:104:7)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (D:\codes\work\user\taro-user\node_modules@tarojs\webpack-runner\dist\util\chain.js:5:31)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Module._compile (D:\codes\work\user\taro-user\node_modules\pirates\lib\index.js:99:24)
(node:4688) 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:4688) [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.
Done in 12.00s.
环境信息
The text was updated successfully, but these errors were encountered: