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

Reference types error of google.maps failing to load map #336

Closed
Pratik21011989 opened this issue Feb 15, 2022 · 5 comments · Fixed by #337
Closed

Reference types error of google.maps failing to load map #336

Pratik21011989 opened this issue Feb 15, 2022 · 5 comments · Fixed by #337
Labels

Comments

@Pratik21011989
Copy link

WARNING in ./node_modules/@googlemaps/react-wrapper/dist/index.umd.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'C:\Github\master\google-maps\node_modules@googlemaps\src\index.tsx' file: Error: ENOENT: no such file or directory, open 'C:\Github\master\google-maps\node_modules@googlemaps\src\index.tsx'
@ ./src/GoogleMaps.js 12:0-60 23:9-23 30:9-23 33:9-23 34:13-27 81:30-37
@ ./src/App.js 5:0-38 13:35-45
@ ./src/index.js 9:0-24 13:33-36

@jpoehnelt
Copy link
Contributor

@Pratik21011989 Thank you for opening this issue. 🙏
Please check out these other resources that might be applicable:

This is an automated message, feel free to ignore.

@Pratik21011989
Copy link
Author

@jpoehnelt I am using @googlemaps/react-wrapper npm package in my React project, but getting above issue while running the project. Please fix it.

Below error I am getting:
Failed to parse source map from 'C:\Github\master\google-maps\node_modules@googlemaps\src\index.tsx' file: Error: ENOENT: no such file or directory, open 'C:\Github\master\google-maps\node_modules@googlemaps\src\index.tsx'

@github-actions
Copy link

🎉 This issue has been resolved in version 1.1.24 🎉

The release is available on:

Your semantic-release bot 📦🚀

@laurmurclar
Copy link

I'm still seeing this error on v1.1.24, can we reopen this @jpoehnelt ?

WARNING in ./node_modules/@googlemaps/react-wrapper/dist/index.umd.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/lauramurphy-clarkin/src/client/node_modules/@googlemaps/src/index.tsx' file: Error: ENOENT: no such file or directory, open '/Users/lauramurphy-clarkin/src/client/node_modules/@googlemaps/src/index.tsx'
 @ ./src/components/Map.jsx 7:0-60 88:17-31 95:17-31 111:30-37
 @ ./src/components/fund/LocationEditor.jsx 5:0-25 45:37-40

Do you need any more info?

@laurmurclar
Copy link

I opened a new issue (#340) since I could reproduce this on a fresh react app with the latest @googlemaps/react-wrapper (v1.1.24)

@jpoehnelt jpoehnelt removed their assignment Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants