Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

No config file for .html files when using Yarn 3 pnp #1940

Open
1 of 2 tasks
wiegell opened this issue Oct 16, 2023 · 0 comments
Open
1 of 2 tasks

No config file for .html files when using Yarn 3 pnp #1940

wiegell opened this issue Oct 16, 2023 · 0 comments
Labels

Comments

@wiegell
Copy link

wiegell commented Oct 16, 2023

馃悶 bug report

Is this a regression?

ALS is not working for .html files with Yarn3 pnp
I think this issue has been present earlier and fixed here: #1748

Description

A clear and concise description of the problem...

I'm getting the exact same error. When installing a repo with yarn 3 (pnp) language server is not working for .html files. The old repro is still valid (= not working): https://github.com/ld210/yarnpnp-storybook-angular-repro

Bug Type

What does this bug affect

  • Angular Language Service VSCode extension
  • Angular Language Service server

Reproduction

Steps to reproduce the behavior:

  1. Clone: Yarn PnP - "No config file" error on a project using Yarn PnP mode聽#1748
  2. yarn
  3. Go to app.component.html
  4. View ALS error output and see that ALS is not working (no cmd-clicking components in template)

Expected behavior

Should work as with node_modules

Logs

[Error - 22:18:59] No config file for <USERPATH>/yarnpnp-storybook-angular-repro/src/app/app.component.html
[Error - 22:22:00] No config file for <USERPATH>/yarnpnp-storybook-angular-repro/src/app/app.component.html
[Error - 22:22:00] No config file for <USERPATH>/yarnpnp-storybook-angular-repro/src/app/app.component.html
[Error - 22:22:00] No config file for <USERPATH>/yarnpnp-storybook-angular-repro/src/app/app.component.html
[Error - 22:22:05] No config file for <USERPATH>/yarnpnp-storybook-angular-repro/src/app/app.component.html

馃實 Your Environment

Angular Version:




Angular CLI: 15.2.1
Node: 18.17.1
Package Manager: yarn 3.2.1
OS: darwin arm64

Angular: 
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1502.1 (cli-only)
@angular-devkit/build-angular   
@angular-devkit/core            15.2.1 (cli-only)
@angular-devkit/schematics      15.2.1 (cli-only)
@angular/cli                    15.2.1 (cli-only)
@schematics/angular             15.2.1 (cli-only)
rxjs                            6.6.7 (cli-only)
typescript                      5.0.2 (cli-only)

Extension Version:




v16.1.8

VSCode Version:




1.83.1 

Operating System:




MacOS 13.4.1 
@wiegell wiegell added the bug label Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant