Skip to main content

How to fix Vite build errors when using the Memberstack React package?

I have a React application using Vite. I am getting issues when I try to use memberstack react package 

 X [ERROR] Failed to resolve entry for package "@memberstack/react". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-scan]

    node_modules/esbuild/lib/main.js:1360:21:

do you know how to solve this issue? 

Thank you  for your help.

13 comments

  • Duncan from Memberstack
    Duncan from Memberstack

    Let me check with the dev team on this one for you 👍

    0
  • HyeonMin Kim
    HyeonMin Kim

    I have same issue, wondering too.

    0
  • Duncan from Memberstack
    Duncan from Memberstack

    Update: We are working on getting a solid response to this. Wrapping up a few other tasks, then we'll have something for you. Thanks for the patience 🙏

    0
  • Dimitry Lvovsky | StepAlong
    Dimitry Lvovsky | StepAlong Edited

    Any news on this?

     

    Thanks

    1
  • Duncan from Memberstack
    Duncan from Memberstack

    Thank you for flagging. I dropped the ball on this - working on finding a solution again now. 

    0
  • Anil  Araganji
    Anil Araganji

    Any Updates on this?

     

    0
  • Frederick Hill
    Frederick Hill

    Any Updates?

    0
  • Charlie Maloney
    Charlie Maloney

    Hi -- I am customer trying to integrate as well. Running into this issue with vite. Any updates?

    0
  • Jayess
    Jayess

    Current Progress: We're currently actively hiring a React expert who can help us answer these questions more effectively. Thank you for your patience! 

    0
  • Zhitomir Nedyalkow
    Zhitomir Nedyalkow

    1 year later ... any updates? It looks like the issue still exists ...

    0
  • Josh Lopez
    Josh Lopez

    Hey Zhitomir Nedyalkow

    We have updated the React Package so please make sure its updated. I have seen other customers who have used the React package without an error recently. If you are still having issues can you please provide more info? If you dont want it to be public you can submit a support ticket here.

    0
  • Angelo Sadeghpour
    Angelo Sadeghpour

    Hi,

    I’m considering integrating Memberstack on a non-Webflow site built with React. I understand there may be compatibility challenges, as I’ve seen with Framer (which we’ve moved away from). Before diving in, I’d like to confirm:

    • Is Memberstack fully compatible with React-based sites?
    • Are there any known limitations or workarounds required for React integration?

    We have a significant number of React-based components, so I want to assess whether it’s worth the effort to explore this alternative.

    Thanks!

    0
  • Raquel  Lopez
    Raquel Lopez

    Yes, it’s compatible with React. Or any JavaScript library like Vue or Svelte.

    0

Please sign in to leave a comment.

Sitemap