Created
January 14, 2023 13:46
-
-
Save ztl8702/5d9b0652d9a692b68f08a86694c2c82c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> taro build --type weapp | |
👽 Taro v3.5.11 | |
Tips: | |
1. 建议开启持久化缓存功能,能有效提升二次编译速度,详情请参考: https://docs.taro.zone/docs/config-detail#cache。 | |
node:internal/modules/cjs/loader:985 | |
const err = new Error(message); | |
^ | |
Error: Cannot find module '@babel/traverse' | |
Require stack: | |
- /workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+helper@3.5.11/node_modules/@tarojs/helper/dist/utils.js | |
- /workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+helper@3.5.11/node_modules/@tarojs/helper/dist/npm.js | |
- /workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+helper@3.5.11/node_modules/@tarojs/helper/dist/index.js | |
- /workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+helper@3.5.11/node_modules/@tarojs/helper/index.js | |
- /workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+cli@3.5.11_@types+react@18.0.26/node_modules/@tarojs/cli/dist/util/index.js | |
- /workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+cli@3.5.11_@types+react@18.0.26/node_modules/@tarojs/cli/bin/taro | |
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15) | |
at Function.Module._load (node:internal/modules/cjs/loader:833:27) | |
at Module.require (node:internal/modules/cjs/loader:1057:19) | |
at require (node:internal/modules/cjs/helpers:103:18) | |
at analyzeImport (/workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+helper@3.5.11/node_modules/@tarojs/helper/src/utils.ts:497:20) | |
at readConfig (/workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+helper@3.5.11/node_modules/@tarojs/helper/src/utils.ts:645:56) | |
at MiniSplitChunksPlugin.getSubpackageConfig (/workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+webpack5-runner@3.5.11_6de4gl2kzfodpu77a2cpyaf2ye/node_modules/@tarojs/webpack5-runner/src/plugins/MiniSplitChunksPlugin.ts:593:44) | |
at MiniSplitChunksPlugin.apply (/workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+webpack5-runner@3.5.11_6de4gl2kzfodpu77a2cpyaf2ye/node_modules/@tarojs/webpack5-runner/src/plugins/MiniSplitChunksPlugin.ts:330:29) | |
at createCompiler (/workspaces/taro-new/new2/node_modules/.pnpm/webpack@5.69.0/node_modules/webpack/lib/webpack.js:73:12) | |
at create (/workspaces/taro-new/new2/node_modules/.pnpm/webpack@5.69.0/node_modules/webpack/lib/webpack.js:134:16) { | |
code: 'MODULE_NOT_FOUND', | |
requireStack: [ | |
'/workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+helper@3.5.11/node_modules/@tarojs/helper/dist/utils.js', | |
'/workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+helper@3.5.11/node_modules/@tarojs/helper/dist/npm.js', | |
'/workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+helper@3.5.11/node_modules/@tarojs/helper/dist/index.js', | |
'/workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+helper@3.5.11/node_modules/@tarojs/helper/index.js', | |
'/workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+cli@3.5.11_@types+react@18.0.26/node_modules/@tarojs/cli/dist/util/index.js', | |
'/workspaces/taro-new/new2/node_modules/.pnpm/@tarojs+cli@3.5.11_@types+react@18.0.26/node_modules/@tarojs/cli/bin/taro' | |
] | |
} | |
ELIFECYCLE Command failed with exit code 1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment