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
js/app.js from Terser TypeError: t.replace is not a function at Array.forEach (<anonymous>) #15528
Comments
taro-bot2
bot
added
F-vue3
Framework - Vue 3
T-h5
Target - 编译到 H5
V-3
Version - 3.x
labels
Apr 18, 2024
This was referenced Apr 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
H5
浏览器版本: zhen
使用框架: Vue 3
复现步骤
在dev环境正常,执行build 就会出现异常,有同事电脑正常,通过虚拟机新部署的全新环境故障依旧
无论是build小程序还是H5依旧
期望结果
正常执行build构建生产包
实际结果
zhen@zhendeiMac 职工商城 % npm run build:h5
👽 Taro v3.6.26
🙅 Failed to compile.
js/app.js from Terser
TypeError: t.replace is not a function
at Array.forEach ()
环境信息
补充信息
tarojs最开始3.5.3 发现异常
install提示依赖冲突,后升级3.6.26 install不再提示依赖冲突
旧版本信息
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @tarojs/[email protected]
npm ERR! node_modules/@tarojs/components
npm ERR! @tarojs/components@"3.5.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @tarojs/components@"^3.5.6" from @nutui/[email protected]
npm ERR! node_modules/@nutui/nutui-taro
npm ERR! @nutui/nutui-taro@"^3.3.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/zhen/.npm/eresolve-report.txt for a full report.
,升级3.6.26依然存在
The text was updated successfully, but these errors were encountered: