witchent / matrix-puppet-signal

A Signal bridge for Matrix
35 stars 2 forks source link

Installation fails without `grunt` #13

Closed octos closed 4 years ago

octos commented 4 years ago

On macOS, the installation fails if grunt is missing. It should probably be added to the dependencies.

yarn install v1.22.4
[1/5] 🔍  Resolving packages...
success Already up-to-date.
$ rimraf node_modules/dtrace-provider
✨  Done in 2.12s.
yarn run v1.22.4
$ grunt
/bin/sh: grunt: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! matrix-puppet-signal@2.0.0 postinstall: `cd node_modules/signal-desktop && yarn && yarn grunt`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the matrix-puppet-signal@2.0.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/octos/.npm/_logs/2020-07-04T02_47_09_174Z-debug.log
witchent commented 4 years ago

Did you manually run the commands? And have you tried "yarn grunt" instead? Because this is what is normally run. If that command does not work on mac OS I think I have to add a lot more than just a dependency to the readme because then you can't just run npm install, can you?