msavin
December 13, 2025, 6:00pm
1
Hey folks, I have an old app that is crippled by meteor-desktop - I haven’t been able to release any updates in years and that kind of work is out of my depth haha.
Would anyone be interested in doing a community barter? If they can build meteor-desktop up to build a signed/notarized build for Mac/Windows, I could modernize the best parts of Meteor Toys and release them as an open source package.
Anyone interested?
harry97
December 14, 2025, 10:38am
2
Didn’t the latest PRs from @awatson1978 and @dd137
Meteor-Community-Packages:master ← Meteor-Community-Packages:release/4.0
opened 11:35AM - 01 Apr 25 UTC
Meteor-Community-Packages:fix/bug-12 ← Meteor-Community-Packages:fix/postinstall
opened 10:27AM - 17 Oct 23 UTC
As noted [here](https://github.com/Meteor-Community-Packages/meteor-desktop/pull… /13#issuecomment-1748450031), adding the meteor-desktop package to an npm project produces a `sh: babel: command not found` error. Full log:
```
$ npm i --save-dev @meteor-community/meteor-desktop@preview
> @meteor-community/meteor-desktop@3.1.1-rc.1 postinstall /.../proj/node_modules/@meteor-community/meteor-desktop
> npm run build && node dist/scripts/addToScripts || echo
> @meteor-community/meteor-desktop@3.1.1-rc.1 build /.../proj/node_modules/@meteor-community/meteor-desktop
> babel lib --out-dir dist --source-maps inline --copy-files
sh: babel: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! @meteor-community/meteor-desktop@3.1.1-rc.1 build: `babel lib --out-dir dist --source-maps inline --copy-files`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @meteor-community/meteor-desktop@3.1.1-rc.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /.../.npm/_logs/2023-10-17T10_11_11_853Z-debug.log
npm WARN @meteor-community/meteor-desktop@3.1.1-rc.1 requires a peer of app-builder-lib@* but none is installed. You must install peer dependencies yourself.
npm WARN @meteor-community/meteor-desktop@3.1.1-rc.1 requires a peer of electron-builder@* but none is installed. You must install peer dependencies yourself.
npm WARN @meteor-community/meteor-desktop@3.1.1-rc.1 requires a peer of electron-packager@* but none is installed. You must install peer dependencies yourself.
npm WARN empty-proj@1.0.0 No description
npm WARN empty-proj@1.0.0 No repository field.
+ @meteor-community/meteor-desktop@3.1.1-rc.1
added 311 packages from 107 contributors and audited 311 packages in 16.57s
24 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
```
#### commit 1:
While this doesn't prevent the installation of the package, it is annoying. This happens since 3.1.1-rc.0. I believe it is due to 1d04a581 which added `npm run build` to the `postinstall` script. I don't think this is correct – `build` should run before publishing or after changes in dev, not after a normal package installation. I propose to revert this change.
#### commit 2:
`postinstall`'s `npm run build` allowed `addToScripts.js` to run even after a simple `npm i` inside meteor-desktop/ (for dev purpose). But as far as I can see, it doesn't make sense to run `addToScripts.js` in such cases, because if we're not adding meteor-desktop to another project, there's no `package.json` `addToScripts.js` needs to modify.
That being said, a side benefit was also to prevent `postinstall` from logging a `MODULE_NOT_FOUND` error when running `npm i` inside meteor-desktop/ for the first time. So to keep that behavior while avoiding `run build`s in normal package installs, the 2nd commit simply checks for `addToScripts.js`'s existence before running it (at the cost of an additional prod dependency).
Already fixed the issues with Electron? Is there an issue that describes the problem you’re still having?
msavin
December 14, 2025, 2:34pm
3
Hmm well then I made a very bad deal but as long as it works I’m okay with that.
That PR has been sitting his April so I have no idea what is going on with it, or maybe it runs, but does it build for Mac/Win targets?
harry97
December 14, 2025, 2:34pm
4
Give it a run locally and try. @storyteller has been overlooking the repo for a while
Sorry about that. There just wasn’t enough time to get back to it. If people are fine with it I can release things as they are.
msavin
December 19, 2025, 1:18am
6
I mean, is it fully working and building??
Will @storyteller bring back Meteor Toys?
harry97
December 19, 2025, 9:53am
7
lol if you still hitting problems with Electron, state them in clear ticket on GH and I’ll get to it