I'm trying to use sequelize in my react-app, and already added sequelize, sequelize-cli and pg through yarn add, but when trying to add pg-hstore this error appears:
yarn add v1.22.18
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error /Users/currentuser/Desktop/project/node_modules/underscore: Command failed.
Exit code: 127
Command: patch-package
Arguments:
Directory: /Users/currentuser/Desktop/project/node_modules/underscore
Output:
/bin/sh: patch-package: command not found
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
I have no idea how to solve this, any help would be deeply appreciated.