-
Notifications
You must be signed in to change notification settings - Fork 19
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 - Module not found #53
Comments
@edwardkeay I'm happy to take a look. Is it possible to put your code in a repository so that I can take a look at it myself? |
@edwardkeay - I had the same issue but was able to fix it by installing core-js (https://www.npmjs.com/package/core-js). |
@milespratt I have shared my respository with you. thanks for your help |
@edwardkeay any chance you've taken a look at @byronthe123 's suggestion? |
I was having this issue and @byronthe123's suggestion worked for me. I'm also in the SPFx environment. What I'm finding now is that I cannot pan the map by clicking & dragging. Middle clicks and double clicks will center and zoom, but clicking & dragging does this instead: |
@dwarthen-tnn would you mind sharing your code? |
Thanks for the quick response. I just realized the problem. I had implemented a Office UI Fabric List at nearly the same time I impemented the React Bingmap and it looks like some styling on the List component replaced the click & drag functionality on the whole page. I'm all set for now. Installing the core-js package does seem to resolve the module not found error reported here. Thanks again :) |
HI,
I am building a spfx react webpart and have installed using npm install bingmaps-react
I have imported using the below
![Image 104](https://user-images.githubusercontent.com/67664032/164120307-a73670b7-1d64-4cd2-99f9-301a454dcd5f.png)
Added the following into the component
![Image 105](https://user-images.githubusercontent.com/67664032/164120770-53535a74-fe4b-4efb-aea6-091af6facaf0.png)
however when I run gulp serve I get the follow error
![Image 102](https://user-images.githubusercontent.com/67664032/164120601-18cbb510-74bc-4995-8526-fba57297dba5.png)
Please advise a resolution or guidance
Thanks in advance
The text was updated successfully, but these errors were encountered: