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

Cannot import / require json files in javascript projects with checkJs enabled #16588

Closed
mjbvz opened this issue Jun 16, 2017 · 1 comment
Closed
Assignees
Labels
Duplicate An existing issue was already created VS Code Tracked There is a VS Code equivalent to this issue

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Jun 16, 2017

From @lekhnath on June 15, 2017 7:33

  • VSCode Version: v1.13.0
  • OS Version: Ubuntu 16.04

Steps to Reproduce:

  1. Create a project with the files provided in this gist.

  2. Open project in VSCode

  3. Open file index.js

Screenshot attached

cannot-require-json

Copied from original issue: microsoft/vscode#28787

@mjbvz mjbvz self-assigned this Jun 16, 2017
@mjbvz mjbvz added VS Code Tracked There is a VS Code equivalent to this issue Duplicate An existing issue was already created and removed javascript labels Jun 16, 2017
@mjbvz
Copy link
Contributor Author

mjbvz commented Jun 16, 2017

I believe is a duplicate of #7071

When you enable checkJs, the missing import becomes an error

@mjbvz mjbvz closed this as completed Jun 16, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created VS Code Tracked There is a VS Code equivalent to this issue
Projects
None yet
Development

No branches or pull requests

1 participant