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

Module not found: Error: Can't resolve './Button' #94

Open
JulienPeloton opened this issue Jun 28, 2024 · 0 comments
Open

Module not found: Error: Can't resolve './Button' #94

JulienPeloton opened this issue Jun 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JulienPeloton
Copy link
Collaborator

ERROR in ./static/js/components/widget/SourceStatus.jsx 11:0-30
Module not found: Error: Can't resolve './Button' in '/pdisk/htdocs/skyportal/deployment/grandma_skyportal/patched_skyportal/static/js/components/widget'
resolve './Button' in '/pdisk/htdocs/skyportal/deployment/grandma_skyportal/patched_skyportal/static/js/components/widget'
  using description file: /pdisk/htdocs/skyportal/deployment/grandma_skyportal/patched_skyportal/package.json (relative path: ./static/js/components/widget)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /pdisk/htdocs/skyportal/deployment/grandma_skyportal/patched_skyportal/package.json (relative path: ./static/js/components/widget/Button)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /pdisk/htdocs/skyportal/deployment/grandma_skyportal/patched_skyportal/static/js/components/widget/Button doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /pdisk/htdocs/skyportal/deployment/grandma_skyportal/patched_skyportal/static/js/components/widget/Button.js doesn't exist
      .jsx
        Field 'browser' doesn't contain a valid alias configuration
        /pdisk/htdocs/skyportal/deployment/grandma_skyportal/patched_skyportal/static/js/components/widget/Button.jsx doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /pdisk/htdocs/skyportal/deployment/grandma_skyportal/patched_skyportal/static/js/components/widget/Button.json doesn't exist
      as directory
        /pdisk/htdocs/skyportal/deployment/grandma_skyportal/patched_skyportal/static/js/components/widget/Button doesn't exist
 @ ./static/js/components/widget/RecentSources.jsx 35:0-42 464:99-111
 @ ./static/js/components/templates/DashboardGrandma.jsx 15:0-52 279:38-51
 @ ./static/js/components/templates/Main.jsx

webpack 5.89.0 compiled with 1 error in 131150 ms

@Theodlz -- an idea? This was after applying #93

@JulienPeloton JulienPeloton added the bug Something isn't working label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant