Truffle: unable to install Truffle Webpack

Created on 24 Jun 2017  路  8Comments  路  Source: trufflesuite/truffle

Issue

Not sure how actively Truffle Webpack starter is being maintained, but as it is referenced in the Truffle docs (and there is no issues tab available in the truffle-init-webpack repo) I thought I would post this here. I'm unable to successfully install or truffle compile the Webpack version of Truffle.

Steps to Reproduce

truffle init webpack

Actual Results

Downloading project... Installing dependencies... Error: Command failed: npm install babel-cli@^6.22.2 babel-core@^6.22.1 babel-eslint@^6.1.2 babel-loader@^6.2.10 babel-plugin-transform-runtime@^6.22.0 babel-preset-env@^1.1.8 babel-preset-es2015@^6.22.0 babel-register@^6.22.0 copy-webpack-plugin@^4.0.1 css-loader@^0.26.1 eslint@^3.14.0 eslint-config-standard@^6.0.0 eslint-plugin-babel@^4.0.0 eslint-plugin-mocha@^4.8.0 eslint-plugin-promise@^3.0.0 eslint-plugin-standard@^2.0.0 html-webpack-plugin@^2.28.0 json-loader@^0.5.4 style-loader@^0.13.1 truffle-contract@^1.1.6 web3@^0.18.2 webpack@^2.2.1 webpack-dev-server@^2.3.0

Note, installing Babel globally is specifically not encouraged in the Babel docs.

There also seems to no longer be a git file/repo for bignumber.js. I get this bignumber error also when trying to install truffle-default-builder.

npm ERR! git fetch -a origin (https://github.com/debris/bignumber.js.git) remote: Repository not found. npm ERR! git fetch -a origin (https://github.com/debris/bignumber.js.git) fatal: repository 'https://github.com/debris/bignumber.js.git/' not found

Environment

Truffle 3.2.8
Darwin 16.6.0
node v6.11.0
npm v3.10.10

Most helpful comment

I can install with npm install -g truffle@beta but yet truffle init webpack fails with same issue

All 8 comments

https://github.com/npm/npm/issues/17413
https://github.com/ethereum/web3.js/issues/904

The bignumber problem seems to be related to a few other issues

I am having the same problem. Prompted with GitHub login, and https://github.com/debris/bignumber.js cannot be found.

As a workaround, move to beta:
npm install -g truffle@beta

@beaini yes, I am using truffle@beta

I can install with npm install -g truffle@beta but yet truffle init webpack fails with same issue

The same problem here. Installed truffle@beta, didn't help. testrpc doesn't install as well, but testrpc@beta worked well. How long do we need to wait for the fix?

Closing as duplicate. Using trufflesuite/truffle#485 to track. Thanks!

Was this page helpful?
0 / 5 - 0 ratings