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

Failed to import - Cloudscape components #829

Open
SeanAWS opened this issue May 13, 2024 · 0 comments
Open

Failed to import - Cloudscape components #829

SeanAWS opened this issue May 13, 2024 · 0 comments
Labels
browser Not working in Browser

Comments

@SeanAWS
Copy link

SeanAWS commented May 13, 2024

Failing module - Cloudscape

import React from "https://esm.sh/[email protected]"
import Button from "https://esm.sh/@cloudscape-design/components/button";

const App = () => {
  return (
    <div>
      <h1>Example Runtime MFE</h1>
      <Button>test</Button>
    </div>
  )
  
}

export default App

Error message

Seems trying to import the button yields:

GET https://esm.sh/v135/@cloudscape-design/[email protected]/es2022/button/internal.development.js net::ERR_ABORTED 404 (Not Found)
esm.sh/@cloudscape-design/[email protected]/button?dev:4 
        
GET https://esm.sh/v135/@cloudscape-design/[email protected]/es2022/internal/base-component.development.js net::ERR_ABORTED 404 (Not Found)
esm.sh/@cloudscape-design/[email protected]/button?dev:6 
        
GET https://esm.sh/v135/@cloudscape-design/[email protected]/es2022/internal/utils/apply-display-name.development.js net::ERR_ABORTED 404 (Not Found)
esm.sh/@cloudscape-design/[email protected]/button?dev:7 
        
GET https://esm.sh/v135/@cloudscape-design/[email protected]/es2022/internal/hooks/use-base-component.development.js net::ERR_ABORTED 404 (Not Found)

Additional info

  • esm.sh version: v135
  • Browser version: Chrome 124.0.6367.201 (Official Build) (arm64)

cc @just-boris

@SeanAWS SeanAWS added the browser Not working in Browser label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser Not working in Browser
Projects
None yet
Development

No branches or pull requests

1 participant