Error: *** Deployment Failed *** "EngineAdapter" ran out of gas (using a value you set in your network config or deployment parameters.) * Block limit: 17592186044415 (0xfffffffffff) * Gas sent: 17592186044415 (0xfffffffffff) at ./node_modules/truffle/build/webpack:/packages/deployer/src/deployment.js:364:1 at process._tickCallback (internal/process/next_tick.js:68:7) Truffle v5.1.25 (core: 5.1.25) Node v10.18.1
allowUnlimetedContractSize: true, gasLimit: 0xfffffffffff,
Hello everyone, I'm trying to install the
solidity-coverage package by using the command
npm install --save-dev solidity-coverage on Windows 10 with Node 12.
However, I'm getting the following error:
C:\Users\jan\dApp-nodeJS-webpack\app>npm install --save-dev solidity-coverage npm WARN deprecated firstname.lastname@example.org: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that. npm WARN deprecated email@example.com: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated firstname.lastname@example.org: this library is no longer supported npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno ENOENT npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t ssh://email@example.com/web3-js/WebSocket-Node.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\jan\AppData\Roaming\npm-cache\_logs\2020-08-04T08_08_54_546Z-debug.log
Steps to reproduce:
initnpm project there
npm install --save-dev solidity-coverage
I'm on Windows 10 with Node 12.
Any help to fix the issue?
TypeError: Function.prototype.apply was called on undefined, which is a undefined and not a function at /home/node/project/node_modules/truffle/build/webpack:/packages/workflow-compile/utils.js:34:1 at new Promise (<anonymous>) at /home/node/project/node_modules/truffle/build/webpack:/packages/workflow-compile/utils.js:27:1 at /home/node/project/node_modules/truffle/build/webpack:/packages/workflow-compile/legacy/index.js:101:1 at Array.map (<anonymous>) at Object.compileSources (/home/node/project/node_modules/truffle/build/webpack:/packages/workflow-compile/legacy/index.js:91:1) at Object.compile (/home/node/project/node_modules/truffle/build/webpack:/packages/workflow-compile/legacy/index.js:54:1) at plugin (/home/node/project/node_modules/solidity-coverage/plugins/truffle.plugin.js:101:29) at processTicksAndRejections (internal/process/task_queues.js:97:5)
I don't know how much it can help, but in anycase, my truffle version is
Truffle v5.1.45 (core: 5.1.45)
Solidity - 0.6.6 (solc-js)
It broken when I migrated from 0.7.4 to 0.7.10.
Further tests I did show that it also breaking when I update other key packages to newer version.
It breaks only for coverage. Tests do continue to works fine.
ganache-clihave a different format than those of
ganache-core(which solidity-coverage uses to launch an in-process server)...