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

Error when evaluating SSR module in remix-create@latest #459

Open
nikolailehbrink opened this issue Apr 2, 2024 · 4 comments
Open

Error when evaluating SSR module in remix-create@latest #459

nikolailehbrink opened this issue Apr 2, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@nikolailehbrink
Copy link

Describe the bug

Wanted to integrate the icons in a remix project with their latest vite setup. After importing icons from the ssr package, vite has an Error when evaluating SSR module /app/routes/_index.tsx: failed to import "@phosphor-icons/react/dist/ssr". After importing it with the standard package, there is an Internal server error: Cannot find package

Steps to Reproduce

Create a new project with pnpm dlx create-remix@latest or npx create-remix@latest and try to import an icon with either the normal react or the ssr package.

Expected behavior
I am able to import the icons.

Context (please complete the following information):

@nikolailehbrink nikolailehbrink added the bug Something isn't working label Apr 2, 2024
@rektdeckard
Copy link
Member

Looking into it. In future please leave issues related to the React library over at https://github.com/phosphor-icons/react.

@rektdeckard
Copy link
Member

Confirmed locally, this stems from the same root cause as phosphor-icons/react#90. Fix incoming.

@nikolailehbrink
Copy link
Author

Looking into it. In future please leave issues related to the React library over at https://github.com/phosphor-icons/react.

Will do, sorry for the inconvenience!

@nikolailehbrink
Copy link
Author

Confirmed locally, this stems from the same root cause as phosphor-icons/react#90. Fix incoming.

Okay, just saw that you release a fix, I will try it out tomorrow and test it! Thanks!

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

2 participants