Skip to content
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

No Flatpak manifest found in this workspace #229

Closed
mijorus opened this issue Dec 29, 2023 · 10 comments
Closed

No Flatpak manifest found in this workspace #229

mijorus opened this issue Dec 29, 2023 · 10 comments

Comments

@mijorus
Copy link

mijorus commented Dec 29, 2023

2023-12-29 20:02:10.883 [error] Error: No Flatpak manifest found in this workspace.
	at ManifestManager.<anonymous> (/home/lorenzo/.vscode/extensions/bilelmoussaoui.flatpak-vscode-0.0.36/out/manifestManager.js:214:23)
	at Generator.next (<anonymous>)
	at fulfilled (/home/lorenzo/.vscode/extensions/bilelmoussaoui.flatpak-vscode-0.0.36/out/manifestManager.js:5:58) flatpak-vscode.build-and-run {"value":"bilelmoussaoui.flatpak-vscode","_lower":"bilelmoussaoui.flatpak-vscode"}

From the same folder, GNOME Builder runs just file

@mijorus
Copy link
Author

mijorus commented Dec 30, 2023

I dug a little deeper on this.
Apparently, the issue seems to be the fact that, for some reason, Code is not activating the extension:

bilelmoussaoui.flatpak-vscode, startup: false, activationEvent: 'workspaceContains:**/*.{json,yaml,yml}'

@SeaDve
Copy link
Collaborator

SeaDve commented Dec 31, 2023

The manifest may also be a good start. Is it possible to show it here, including the file name?

@bilelmoussaoui
Copy link
Owner

Any updates on this one?

@mijorus
Copy link
Author

mijorus commented Jan 23, 2024

Any updates on this one?

Not really, it still happens but I don't know why

@bilelmoussaoui
Copy link
Owner

Yes but we would need a way to reproduce it like sharing the manifest with us or the project itself if it is open source.

@sonnyp
Copy link

sonnyp commented Mar 16, 2024

FYI I am experiencing this on a clone of https://github.com/sonnyp/Workbench
But I can't reproduce with a new fresh clone

@vixalien
Copy link

I'm having this issue persistently too. I don't know what exactly I changed. but Flatpak VSCode will now consistently ignore my build manifest until I move it to a separate directory and then move it back while VSCode is running.

This is extremely challenging because it means that Flatpak VSCode will now then recompile everything.

This could potentially be fixed by adding a command to manually re-lookup manifests in the project.

@mijorus
Copy link
Author

mijorus commented Jul 15, 2024

I realized that simply by renaming the file is enough to trigger a rescan

@vixalien
Copy link

vixalien commented Jul 15, 2024 via email

@bilelmoussaoui
Copy link
Owner

I think #239 should fix the issue for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants