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

ERROR in ./node_modules/@aws-amplify/api-graphql/node_modules/graphql/language/printer.mjs 7:0-34 #3898

Closed
ndilanwil opened this issue May 16, 2023 · 1 comment

Comments

@ndilanwil
Copy link

I am using the latest version of npm, graphql and react. but when starting my program I get a bunch of errors(all of them are as follows)

ERROR in ./node_modules/@aws-amplify/api-graphql/node_modules/graphql/language/printer.mjs 7:0-34
Module not found: Error: Can't resolve './visitor' in 'C:\Users\Dilan\Desktop\qwasar\my_yelp\node_modules@aws-amplify\api-graphql\node_modules\graphql\language'
Did you mean 'visitor.mjs'?

When checking the index.mjs file I see that all the files from which it is importing has the following tag
"Could not find a declaration file for module './printLocation.mjs'. 'c:/Users/Dilan/Desktop/qwasar/my_yelp/node_modules/graphql/language/printLocation.mjs' implicitly has an 'any' type."

@yaacovCR
Copy link
Contributor

yaacovCR commented Oct 1, 2024

we would need a minimum reproduction to investigate further. If this is still an issue, please consider providing one. I am closing this for now, but please feel free to reopen.

@yaacovCR yaacovCR closed this as completed Oct 1, 2024
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

3 participants
@yaacovCR @ndilanwil and others