DEV Community

Discussion on: Introducing Yarn 2 ! 🧢🌟

gugadev profile image
Gustavo Garsaky

I have a doubt with PnP. How handle compatibility with frameworks, like Angular. For example, a standard Angular project has a angular.json file with this content:

  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "version": 1,
  "newProjectRoot": "projects",
Enter fullscreen mode Exit fullscreen mode

Note that $schema is pointing to node_modules folder. With what URL should I change this line?


mburszley profile image
Maximilian Burszley

Super late to this thread, but you can use the unplug command and point at that. There's a bug with Typescript 3.6.5 that breaks angular packages with pnp, however. They're working on adding support in v10 this summer, but that may be pushed back to v11.