Skip to content

Can`t resolve #app in a nuxt project since v3.1.1 #117

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
apss-pohl opened this issue Jun 28, 2022 · 2 comments
Closed

Can`t resolve #app in a nuxt project since v3.1.1 #117

apss-pohl opened this issue Jun 28, 2022 · 2 comments

Comments

@apss-pohl
Copy link

Hi,
since v3 my nuxt3 projects breaks:
error Unable to resolve path to module '#app' import/no-unresolved
Also the IDE complains. If i go back to v2.7.0 everything works as expected.

The tsconfig gets extended with the generated tsconfig which has the path definition for #app
tsconfig.json
"extends": "./.nuxt/tsconfig.json",

/.nuxt/tsconfig.json"

"paths": {
      "#app/*": [
        "../../node_modules/nuxt/dist/app/*"
      ],
}

.eslintrc

 import/resolver:
    typescript:
      project: 
        - ./tsconfig.json
        - apps/*/tsconfig.json
        - apps/render/.nuxt/tsconfig.json

I hope this enough information provided. Let me know if i can help.
Thank you!

@JounQin
Copy link
Collaborator

JounQin commented Jun 28, 2022

A runnable reproduction is required, thanks.

@JounQin
Copy link
Collaborator

JounQin commented Jun 30, 2022

Close due to lack of reproduction.

@JounQin JounQin closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants