-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
Description
Current Behavior
When importing the SimpleButton into my project following your tutorial, it gives me the error linked below.
Expected Behavior
Is not expected to give me an error and show the Button properly.
Steps To Reproduce
Follow the tutorial at this link "https://terrestris.github.io/react-geo-ws/latest/react-geo-ws/first-steps/erste-komponente.html" where you try to add the related component to your project.
Version
16.2.0
What browsers are you seeing the problem on?
No response
Relevant log output
ERROR in ./node_modules/@terrestris/react-geo/dist/Button/SimpleButton/SimpleButton.js 3:0-45
Module not found: Error: Can't resolve '../../constants' in 'D:\CodingWorkspace\myproj\my-app\node_modules\@terrestris\react-geo\dist\Button\SimpleButton'
Did you mean 'constants.js'?
BREAKING CHANGE: The request '../../constants' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.Anything else?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct