admin管理员组文章数量:1297050
I have my package.json file and if I'm installing all dependencies with npm i
- everything is ok, but if I'm using pnpm i
I have exception
TypeError: Cannot read property 'uid' of undefined.
I do not use this library, I tried to install it manually but with pnpm i uid
it does not work, only with npm i uid
I have my package.json file and if I'm installing all dependencies with npm i
- everything is ok, but if I'm using pnpm i
I have exception
TypeError: Cannot read property 'uid' of undefined.
I do not use this library, I tried to install it manually but with pnpm i uid
it does not work, only with npm i uid
- 1 adding shamefully-hoist=true to my npmrc fixed it for me – crh225 Commented Jan 31, 2022 at 22:41
1 Answer
Reset to default 9Use the shamefully-hoist
flag set to true
.
pnpm i --shamefully-hoist=true
Or simply have this file in the same directory as your package.json
or .npmrc
file.
shamefully-hoist=true
shamefully-hoist
docs.
本文标签: javascriptpnpm does not resolve dependenciesStack Overflow
版权声明:本文标题:javascript - pnpm does not resolve dependencies - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741643108a2390032.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论