-
-
Notifications
You must be signed in to change notification settings - Fork 6
Cannot find module '@nodegui/svelte-nodegui' or its corresponding type declarations. #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Try to run: |
Yes, thank you. Now it works, but Gui is messed up. I hope this project is alive and we will see new versions |
Yeah, I just found this project myself and had the same issue as you. |
package-lock.json is old
should be 0.1.2 |
This issue is a duplicate of nodegui/svelte-nodegui#67. As for the layout issue, moving discussion to nodegui/svelte-nodegui#72. |
From the very scratch:
npx degit ....
npm run dev
assets by status 58.1 KiB [cached] 1 asset
asset nodegui_core-71e80e7a0d4c8202eac6ca8d0e0c6d25.node 7.41 MiB [compared for emit] (auxiliary name: main)
asset index.js 1.39 MiB [compared for emit] (name: main) 1 related asset
runtime modules 21.9 KiB 10 modules
modules by path ./node_modules/@nodegui/nodegui/ 510 KiB 212 modules
modules by path ./node_modules/postcss/lib/.js 479 KiB 25 modules
modules by path ./node_modules/source-map/ 99.4 KiB 11 modules
modules by path ./src/ 10.8 KiB
modules by path ./src/components/ 6.85 KiB 3 modules
2 modules
modules by path ./node_modules/cuid/ 2.88 KiB 4 modules
modules by path ./node_modules/webpack/hot/.js 3.75 KiB 3 modules
modules by path ./node_modules/chalk/ 12.1 KiB 3 modules
modules by path ./node_modules/color-convert/*.js 20.3 KiB 3 modules
modules by path ./node_modules/svelte/ 54.1 KiB
./node_modules/svelte/internal/index.mjs 53.9 KiB [built] [code generated]
./node_modules/svelte/index.mjs 212 bytes [built] [code generated]
18 modules
ERROR in ./src/app.ts 1:0-56
Module not found: Error: Can't resolve '@nodegui/svelte-nodegui' in '/home/michael/d-nodegui/sns/src'
...
etc
what does this mean?
what should be done?
The text was updated successfully, but these errors were encountered: