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
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: zhuox-wap-zofmall@1.0.0
npm ERR! Found: @tarojs/components@3.5.3
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/nutui-taro@3.3.8
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:
相关平台
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: zhuox-wap-zofmall@1.0.0
npm ERR! Found: @tarojs/components@3.5.3
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/nutui-taro@3.3.8
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: