compound-finance / compound-protocol

The Compound On-Chain Protocol
https://compound.finance/developers
BSD 3-Clause "New" or "Revised" License
1.88k stars 1.2k forks source link

Rollup command not found #101

Open v-stickykeys opened 3 years ago

v-stickykeys commented 3 years ago

Trying to install this as a npm dependency like so with Node.js v12.19.0 on MacOS

"dependencies": {
    "compound": "git@github.com:compound-finance/compound-protocol.git"
  },

but this results in the following error

npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.

> @solidity-parser/parser@0.11.0 prepack /Users/user/.npm/_cacache/tmp/git-clone-8d928a59
> npm run build && npm run generate-types

> @solidity-parser/parser@0.11.0 build /Users/user/.npm/_cacache/tmp/git-clone-8d928a59
> rollup -c rollup.config.js

sh: rollup: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! @solidity-parser/parser@0.11.0 build: `rollup -c rollup.config.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the @solidity-parser/parser@0.11.0 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!     /Users/user/.npm/_logs/2021-02-14T20_45_12_695Z-debug.log
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! premature close

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/user/.npm/_logs/2021-02-14T20_45_13_185Z-debug.log