nodegui / svelte-nodegui-starter

55 stars 8 forks source link

package.json update #8

Open taw opened 2 years ago

taw commented 2 years ago

OK, so there are two problems with this repo:

This PR fixes the first issue so it runs at all (by simple version bump in package.json). It still needs the second version fixed:

Issue 1 error message:

ERROR in src/app.ts:1:31
TS2307: Cannot find module '@nodegui/svelte-nodegui' or its corresponding type declarations.
  > 1 | import { svelteNodeGUI } from "@nodegui/svelte-nodegui";
      |                               ^^^^^^^^^^^^^^^^^^^^^^^^^
    2 |
    3 | import App from "./App.svelte";
    4 | svelteNodeGUI(App, {});

Screenshot 2021-11-15 at 11 23 17

Issue 2 has been reported before (https://github.com/nodegui/svelte-nodegui/issues/70 etc.). I don't know what's the fix for that, as I don't know how to debug NodeGui, but better fix one thing than zero.