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

Already on GitHub? Sign in to your account

Using yarn causes problems in VSCode #154

Open
toddobryan opened this issue Dec 1, 2024 · 0 comments
Open

Using yarn causes problems in VSCode #154

toddobryan opened this issue Dec 1, 2024 · 0 comments

Comments

@toddobryan
Copy link

Created a new project using yarn following the instructions and VSCode can't find any packages. Pretty much everything in an import in both the server and client folders is underlined in red.

Switched to npm and the errors go away.

Where is the setting that makes it clear that import express from "express"; should actually be looking in "../../node_modules" for express, because it looks like the combination of yarn and VSCode isn't getting the message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant