DOkwufulueze / eth-vue

Featured in Awesome Vue [https://github.com/vuejs/awesome-vue], a curated list maintained by vuejs of awesome things related to the Vue.js framework, and Awesome List [https://awesomelists.net/150-Vue.js/3863-Open+Source/18749-DOkwufulueze-eth-vue], this Truffle Box provides everything you need to quickly build Ethereum dApps that have authentication features with vue, including configuration for easy deployment to the Ropsten Network. It's also Gravatar-enabled. Connecting to a running Ganache blockchain network from Truffle is also possible -- for fast development and testing purposes. Built on Truffle 5 and Vue 3, eth-vue uses vuex for state management, vuex-persist for local storage of app state, and vue-router for routing. Authentication functionalities are handled by Smart Contracts running on the Ethereum blockchain.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

truffle unbox issue

adamskrodzki opened this issue · comments

Hello,

I've run following commands
truffle unbox DOkwufulueze/eth-vue truffle compile

and i get an error

Error: Cannot find module 'ethereumjs-wallet/hdkey'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
at Function.Module._load (internal/modules/cjs/loader.js:520:25)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/media/adam/Projekty/KATA/truffle.js:2:13)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)

my versions are:
Truffle v4.1.12 (core: 4.1.12)
Solidity v0.4.24 (solc-js)

Is this also related to the version of truffle?

ethereumjs-wallet is in node_modules and dist folder contains hdkey.js

Hi, @adamskrodzki

I have copied your unbox command as typed and pasted same on my terminal, everything worked fine and as expected. I'll share a screenshot of my terminal after executing the command you wrote above.

screen shot 2018-08-05 at 11 54 37 am

So, I guess it's probably the same version issue, not very sure yet as we haven't upgraded. We should be doing that by next 2 weekends.

If there's any other issue you'll like us to know about, please write again, and if you fixed this issue by going down to Solidity v0.4.18, also let us know.

Have a blessed day!

Going down to Solidity v0.4.18

fixes the issue.

Best Regards

Adam

Thanks a lot for the feedback, @adamskrodzki

Highly appreciated.

I think it's safe to close this issue now.