We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ERR spawn pnpm ENOENT
我是 yarn1 用户,yarn upgradePeerdeps 后出现 ERR spawn pnpm ENOENT。
yarn upgradePeerdeps
看了下 https://www.npmjs.com/package/install-peerdeps 才知道原来 -P 是用 pnpm,我电脑没装 pnpm 就报错了。
pnpm
https://github.com/NervJS/taro-project-templates/blob/55bc21804af5025da0089bff10cce200fa5e9e97/react-native/package.json.tmpl#L35C9-L35C9
"upgradePeerdeps": "install-peerdeps @tarojs/taro-rn@{{ version }} -o -P && install-peerdeps @tarojs/components-rn@{{ version }} -o -P && install-peerdeps @tarojs/router-rn@{{ version }} -o -P && pod-install"
考虑到是 beta,我就不 PR 了,如果需要的话,回头可以匹配一下用户的安装环境。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我是 yarn1 用户,
yarn upgradePeerdeps
后出现 ERR spawn pnpm ENOENT。看了下 https://www.npmjs.com/package/install-peerdeps 才知道原来 -P 是用
pnpm
,我电脑没装pnpm
就报错了。https://github.com/NervJS/taro-project-templates/blob/55bc21804af5025da0089bff10cce200fa5e9e97/react-native/package.json.tmpl#L35C9-L35C9
考虑到是 beta,我就不 PR 了,如果需要的话,回头可以匹配一下用户的安装环境。
The text was updated successfully, but these errors were encountered: