nextron
nextron copied to clipboard
shamefully-hoist vs pnpm add
Switching to pnpm
, I faced the issue mentioned in #278.
In order to fix it, I used pnpm add @babel/runtime-corejs3
mentioned here. However, there seems to be another solution, which is to use --shamefully-hoist
flag (which is mentioned here but not in the main README).
I'm wondering what's the correct way and what's the difference?
I didn't have to install @babel/runtime-corejs3
when using npm and things worked fine, but now - with pnpm- it's a dependency in my project 🤔
You can add a .npmrc
in the root directory
shamefully-hoist=true
work fine after set shamefully-hoist=true node-linker=hoisted
into .npmrc