-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
riot-desktop: mkdirp
is not recognized as an internal or external command,
#14056
Comments
Sounds like you didn't install the dependencies as mkdirp is one of them: https://github.com/vector-im/riot-desktop/blob/develop/package.json#L52 Try run |
I'm not familiar with yarn, so I didn't know that was a prerequisite. That should be added to the README. I can make a PR to add it, once I get things building. Doing [7:25:15 PM] D:/Code/Riot/riot-desktop> yarn run fetch --noverify --cfgdir ''
yarn run v1.22.4
$ yarn run mkdirs && node scripts/fetch-package.js --noverify --cfgdir
$ mkdirp packages deploys
No config directory set
Specify a config directory with --cfgdir or -d
To build with no config (and no auto-update), pass the empty string (-d '')
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[7:25:44 PM] D:/Code/Riot/riot-desktop> If I use D:\Code\Riot\riot-desktop>yarn run fetch --noverify --cfgdir ''
yarn run v1.22.4
$ yarn run mkdirs && node scripts/fetch-package.js --noverify --cfgdir ''
$ mkdirp packages deploys
Downloading https://github.com/vector-im/riot-web/releases/download/v1.6.5/riot-v1.6.5.tar.gz...
Failed to download https://github.com/vector-im/riot-web/releases/download/v1.6.5/riot-v1.6.5.tar.gz Error: Remote end closed socket abruptly.
at TLSSocket.on_socket_end (D:\Code\Riot\riot-desktop\node_modules\needle\lib\needle.js:479:17)
at processTicksAndRejections (internal/process/task_queues.js:79:11)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
D:\Code\Riot\riot-desktop> This appears to be caused by a bug in a package called needle: tomas/needle#312 |
The dependency specified of needle is |
As I said, I'm not very well versed in Javascript development, and I'm not familiar with Yarn at all, but doesn't this mean it will prefer v2.3.2: https://github.com/vector-im/riot-desktop/blob/develop/yarn.lock#L3056-L3063 I thought |
Fair point, anyhow element-hq/element-desktop#101 will fix it. |
Description
According to the install instructions at https://github.com/vector-im/riot-desktop, the following command must be run to "Fetch the prebuilt release Riot package":
Steps to reproduce
https://github.com/vector-im/riot-desktop
yarn run fetch --noverify --cfgdir ''
If there are additional steps that must be run, they should be indicated.
Logs being sent: kinda?
The text was updated successfully, but these errors were encountered: