thetarnav / solid-devtools

Library of developer tools, reactivity debugger & Devtools Chrome extension for visualizing SolidJS reactivity graph
https://chrome.google.com/webstore/detail/solid-devtools/kmcfjchnmmaeeagadbhoofajiopoceel
MIT License
549 stars 22 forks source link

Error - No matching export in "node_modules/solid-js/web/dist/dev.js" for import "isDev" #228

Closed anton-at-bay closed 1 year ago

anton-at-bay commented 1 year ago

Getting the following error. Followed instruction to install the extension, npm package and added to vite plugins.

✘ [ERROR] No matching export in "node_modules/solid-js/web/dist/dev.js" for import "isDev"

node_modules/@solid-primitives/utils/dist/index.js:3:9:
  3 │ export { isDev, isServer } from 'solid-js/web';
    ╵          ~~~~~

commenting out the plugin in vite.config removes the error and project compiles.

Many thanks for help!

thetarnav commented 1 year ago

You probably need to update solid-js version. isDev export was added in 1.6.12 I think.

anton-at-bay commented 1 year ago

Many thanks! it works now 🙏