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

Does not work with tanstack start #259

Closed
paulm17 opened this issue Oct 3, 2024 · 4 comments
Closed

Does not work with tanstack start #259

paulm17 opened this issue Oct 3, 2024 · 4 comments
Assignees
Labels
package: system Specific to @mui/system

Comments

@paulm17
Copy link

paulm17 commented Oct 3, 2024

Steps to reproduce

  1. Follow the instructions: https://tanstack.com/router/latest/docs/framework/react/start/getting-started
  2. Follow the instructions to setup pigment-css with vite.
  3. Create style in app/routes/index.tsx.
10:59:37 [vite] Error when evaluating SSR module /app/routes/index.tsx?tsr-split:
|- Error: @pigment-css/react: You were trying to call "css" function without configuring your bundler. Make sure to install the bundler specific plugin and use it. @pigment-css/vite-plugin for Vite integration or @pigment-css/nextjs-plugin for Next.js integration.
    at Module.css (file:///Users/paul/development/src/github/test/raikou_tanstack_pigment_css/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@pigment-css/react/build/chunk-LPZ6XF43.mjs:15:9)
    at eval (/Users/paul/development/src/github/test/raikou_tanstack_pigment_css/apps/start/app/routes/index.tsx?tsr-split:33:42)
    at async instantiateModule (file:///Users/paul/development/src/github/test/raikou_tanstack_pigment_css/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/vite/dist/node/chunks/dep-CDnG8rE7.js:52915:5)

Current behavior

No response

Expected behavior

No response

Context

No response

Your environment

Search keywords: tanstack start

@paulm17 paulm17 added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Oct 3, 2024
@paulm17
Copy link
Author

paulm17 commented Oct 3, 2024

This problem doesn't occur with electron-vite. Which is actually my use case.

Ideally if I can, I want to use electron + transtack start + vite.

I'm not sure when you guys will take a look. But at any point: Tanstack Start Alpha, Beta (expected at thanksgiving) or released version. I'm more than happy to wait! Thanks

@zannager zannager added the package: system Specific to @mui/system label Oct 3, 2024
@paulm17
Copy link
Author

paulm17 commented Oct 6, 2024

#257 (comment)

fixes this issue.

@mnajdova
Copy link
Member

mnajdova commented Oct 7, 2024

Thanks, for linking the issue, I am closing so we can keep all conversation in one place.

@mnajdova mnajdova closed this as completed Oct 7, 2024
Copy link

github-actions bot commented Oct 7, 2024

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

Note

@paulm17 How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

@github-actions github-actions bot removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: system Specific to @mui/system
Projects
None yet
Development

No branches or pull requests

4 participants