Closed rmcsharry closed 4 days ago
Closing.
Root Cause:
I copied code from the QuickStart (for SolidStart) and modified it to be a client-side only appp (eg. Vite instead of Vixni).
I realised that that QuickStart used:
"@ark-ui/solid": "4.3.0"
When I updated to 4.4.0 it worked. So then I updated to latest 4.5.1 and that also works.
I setup a project today using Vite and SolidJs (not SolidStart)
Everything works fine until I added the Button component.
Button now depends on Spinner, so you have to add that also (which I did using the cli method as shown in the docs).
Everything builds, but when the project runs it throws this error in the console, and nothing is rendered:
Uncaught SyntaxError: The requested module '/node_modules/tree-visit/lib/index.js?v=20ca53f9' does not provide an export named 'access' (at index.mjs:2:10)
If I remove the Button component, then it renders and there is no syntax error.
I checked tree-visit, it is version 0.42.0 (the latest) and it DOES export "access" module, so I can only guess this error has been introduced by the new Spinner component?