Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some difficulties with the recommended way #13

Closed
Nammalvar opened this issue Jul 22, 2017 · 1 comment
Closed

some difficulties with the recommended way #13

Nammalvar opened this issue Jul 22, 2017 · 1 comment

Comments

@Nammalvar
Copy link
Contributor

(following the README)

at "compile and migrate the contracts" stage :

╭─vagrant@asseth ~/projects/dao1901/protocol ‹master›
╰─➤ npm install
npm WARN dao1901-contracts@1.0.0 No repository field.

A bit later and in a new separate tab :

╭─vagrant@asseth ~/projects/dao1901/protocol ‹master›
╰─➤ npm run dev
npm ERR! Linux 3.13.0-123-generic
npm ERR! argv "/opt/node-v7.10.0-linux-x64/bin/node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v7.10.0
npm ERR! npm v4.2.0

npm ERR! missing script: dev
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

Maybe needs to be launched one directory up ?

seems to work but I have a big doubt :

ERROR in ./node_modules/dao1901-contracts/index.js
Module not found: Error: Can't resolve './build/contracts/Dao1901Members.json' in '/home/vagrant/projects/dao1901/node_modules/dao1901-contracts'
@ ./node_modules/dao1901-contracts/index.js 3:32-80
@ ./ui/redux/createStore.js
@ ./ui/index.js
@ multi (webpack)-dev-server/client?http://localhost:8085 webpack/hot/dev-server babel-polyfill react-hot-loader/patch webpack-dev-server/client?http://localhost:8085 webpack/hot/only-dev-server ./ui/index.js

ERROR in ./node_modules/dao1901-contracts/index.js
Module not found: Error: Can't resolve './build/contracts/Dao1901Votes.json' in '/home/vagrant/projects/dao1901/node_modules/dao1901-contracts'
@ ./node_modules/dao1901-contracts/index.js 4:30-76
@ ./ui/redux/createStore.js
@ ./ui/index.js
@ multi (webpack)-dev-server/client?http://localhost:8085 webpack/hot/dev-server babel-polyfill react-hot-loader/patch webpack-dev-server/client?http://localhost:8085 webpack/hot/only-dev-server ./ui/index.js

ERROR in ./node_modules/dao1901-contracts/index.js
Module not found: Error: Can't resolve './build/contracts/Owned.json' in '/home/vagrant/projects/dao1901/node_modules/dao1901-contracts'
@ ./node_modules/dao1901-contracts/index.js 5:23-62
@ ./ui/redux/createStore.js
@ ./ui/index.js
@ multi (webpack)-dev-server/client?http://localhost:8085 webpack/hot/dev-server babel-polyfill react-hot-loader/patch webpack-dev-server/client?http://localhost:8085 webpack/hot/only-dev-server ./ui/index.js

@Nammalvar
Copy link
Contributor Author

npm run linkprotocol must be performed first with root privileges ("npm un dao1901-contracts; cd protocol; sudo npm link; cd ..; sudo npm link dao1901-contracts")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant