DEV Community

Discussion on: Learning webpack Step By Step

Collapse
 
slashgear_ profile image
Antoine Caron

You can't use NPM here because we need the workspace feature which is not available with NPM.

Collapse
 
0xkoji profile image
0xkoji • Edited

???
I mean this(yarnpkg.com/en/docs/install#altern...)

Note: Installation of Yarn via npm is generally not recommended. When installing Yarn with Node-based package managers, the package is not signed, and the only integrity check performed is a basic SHA1 hash, which is a security risk when installing system-wide apps.

For these reasons, it is highly recommended that you install Yarn through the installation method best suited to your operating system.

npm i -g yarn isn't recommended to install yarn.

Thread Thread
 
slashgear_ profile image
Antoine Caron

Aaaah, ok, will update that soon.

Thanks