fxpio / foxy

A fast, reliable, and secure NPM/Yarn/pnpm bridge for Composer
https://foxypkg.com
MIT License
173 stars 21 forks source link

Make compatible with Yarn 2 #40

Closed umer936 closed 3 years ago

umer936 commented 3 years ago

I decided to try Yarn 2 instead of npm and found that Yarn 2 does not work with foxy.

Yarn 2 has done away with node_modules folder, which is why it looked appealing.

Running composer update returns:

Installing yarn dependencies
➤ YN0050: The --non-interactive option is deprecated
Fallback to previous state for the Asset package
Fallback to previous state for Composer
Installing dependencies from lock file (including require-dev)

  [RuntimeException]
  The asset manager ended with an error
francoispluchino commented 3 years ago

Compatibility added with a3ad5d853e36d0b79f5fd0b2265192d31681b085.