sveltejs / svelte-devtools

A browser extension to inspect Svelte application by extending your browser devtools capabilities
https://chromewebstore.google.com/detail/svelte-devtools/kfidecgcdjjfpeckbblhmfkhmlgecoff
MIT License
1.45k stars 77 forks source link

The extension doesn't connects to Svelte (3.12.1) #4

Closed brunetton closed 5 years ago

brunetton commented 5 years ago

Steps to reproduce:

I tested on Chrome and FIrefox, the result is the same

Did I missed something ? Any help would be really welcome ! Thanks

RedHatter commented 5 years ago

I believe this is caused by attempting to use an old version of svelte-devtools with the newer svelte. Try the latest release.

brunetton commented 5 years ago

Thanks for your answer. As I said in the first step I installed svelte-devtools from https://github.com/RedHatter/svelte-devtools/releases/tag/v0.2.0. Is this the last version ? I'll try with the version from git repo

brunetton commented 5 years ago

I tried to build the extension from master and appart from a SyntaxError: The requested module 'fs' does not provide an export named 'promises' that I solved following this, I succeded using it.

So you were right, the issue were a the "v2" release doesn't seems to work well with Svelte 3.12.1.

Maybe you should publish a new release to match what it's said in README ?

Thanks

cbenz commented 5 years ago

@brunetton I solved the error with promises by using node 12 (nvm use 12)

RedHatter commented 5 years ago

@brunetton I already did publish a new release. version 1.0.0

brunetton commented 4 years ago

@RedHatter thanks ! It works great with Chrome and Firefox 👍