-
-
Notifications
You must be signed in to change notification settings - Fork 56
Fish shell #65
Comments
In what way does it fail? Please provide details (e.g. CLI logs, error logs). Does it fail at build-time or run-time? |
Both build time and run time, I can try and get an error log for you both later tonight |
Yes please! Otherwise I've got nothing to go on. |
Hey, sorry for the late response @shirakaba . Here is the output of This might be a problem with |
Update: this definitely seems like a problem with |
@ghostdevv thanks for the details. It looks like bundling failed because the What happens when you do a fresh clone of the starter template (in Fish) and follow the instructions up to and including the run |
I think running |
@ghostdevv I've just updated the starter template because the package-lock had a possible version mismatch with the package.json. If you could please try starting a project afresh from that, I'd be interested to know the outcome. |
@ghostdevv Also, what version of Node are you using? |
This is odd, I managed to sort out the version issue using a port of nvm for fish and installing worked fine however I am still getting the error, here is a fresh copy in case it's different: https://sourceb.in/KYdP9NaeoV The same error happens when running Both bash and fish are showing the same node version so I tried to do a fresh install via bash and it did not work. |
I'm (successfully) using Node v14.6.0 myself, so I think we're onto something. What npm version is referenced? I'm on npm v6.14.7.
The error in your paste indicates that both Webpack and ts-loader are failing to resolve The key thing I do know that changed since npm v6 (which was contemporary with Node v14) is how peer dependencies are handled. If you're using npm v7 or higher, you could try Could you provide full logs of what happens following a fresh |
I am on npm 6.14.13, here are logs from |
I am not sure this is just fish, I just tried in only bash and it still can't find svelte-nodegui. Which is making me confused. I tried just basic node gui and it worked fine so I think that rules out possible system requirement errors? (Works in both fish and bash) |
I have a suspicion. As far as I can see (I’m on my phone), the The Rollup bundle I believe is outputting to svelte-nodegui/rollup.config.js Line 55 in 1ce01eb
Could you try manually patching that package.json to set the |
Okay after many red herrings, I've found the problem. In (at least) the last release of Svelte NodeGUI, I clearly ran I'll republish it this evening (or during my lunch break in the next couple of hours if I have time). I don't know which was the last working release of Svelte NodeGUI, unfortunately, but it's worth waiting for this one because the last few releases fixed some significant things. |
Until I have a moment to republish the package, your best option is to try downgrading through each different version of The last versions are:
|
I've republished it; should be fixed in version npm install --save "@nodegui/[email protected]" |
In But as you say, if the
As I neither use Manjaro Linux nor Fish shell, I don't have much to go on. That The screenshot of the running app is disheartening. Although the elements are all there, it looks like Flexbox layout is not very happy at all. Unfortunately that's out of my expertise – it's the parent project, NodeGUI, that implemented the lower-level features like that. The fact that the app appears to be generally working otherwise makes me think this is primarily an issue of Linux support. But maybe it is something to do with the build going wrong in some way. |
Hey sorry for the late reply. If it doesn't work in fish it doesn't, I could make a issue in NodeGUI but I would need to do some testing to see if it's my setup or other setups. As long as I can run it in bash that is no problem |
I won't be working on fish shell support, so I'm afraid I will be closing this issue; all I can recommend is to use The layout problem is another matter: discussion moving to #72. |
This doesn't seem to work for me using fish, I had to switch to bash. While this isn't a problem it would be nice to support it.
OS: Manjaro Linux
Fish: 3.2.1
Node: 12 (latest)
Node gui: Starter template
The text was updated successfully, but these errors were encountered: