platformatic: React is not defined (running dashboard development server)
By running the dashboard development server:
pnpm run dashboard:start
I get “Uncaught ReferenceError: React is not defined” errors on my browser (see attachment)

About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (21 by maintainers)
Couldn’t reproduce it on latest
main. Can you please give some more infos?Try to delete vite cache with
rm -rf node_modules/.viteWe had this problem in another internal project, and solved with the explicit import.
Problem is: I still don’t have this on this dashboard and that’s a mystery. I am running Node
v18but I don’t think that’s it.Anyway soon we’ll migrate very soon to a dashboard built with
@platformatic/ui-componentsand problem will be solved, hopefully 😃