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

Install issue #2

Open
generalsvr opened this issue Sep 6, 2018 · 0 comments
Open

Install issue #2

generalsvr opened this issue Sep 6, 2018 · 0 comments

Comments

@generalsvr
Copy link

Hello! I tried to run eosic but got an error.
eosic init output:
(node:1196) [MODULE_NOT_FOUND] Error Plugin: eosic: Cannot find module 'mocha'
module: @oclif/config@1.7.4
task: toCached
plugin: eosic
root: /usr/lib/node_modules/eosic
See more details with DEBUG=*
(node:1196) Error Plugin: @oclif/plugin-help: files attribute must be specified in /usr/lib/node_modules/eosic/node_modules/@oclif/plugin-help/package.json
module: @oclif/config@1.7.4
plugin: @oclif/plugin-help
root: /usr/lib/node_modules/eosic/node_modules/@oclif/plugin-help
See more details with DEBUG=*
? Project name ducatur-tutorial
? Project description Generic EOSIC project
? Add default EOS contracts to project? yes
Error: ENOENT: no such file or directory, lstat '/usr/lib/node_modules/eosic/templates/project'

Mocha seems to be missing, npm install mocha output:

npm WARN saveError ENOENT: no such file or directory, open '/home/artyem/ducatur-tutorial/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/artyem/ducatur-tutorial/package.json'
npm WARN ducatur-tutorial No description
npm WARN ducatur-tutorial No repository field.
npm WARN ducatur-tutorial No README data
npm WARN ducatur-tutorial No license field.

eosic -v output:

(node:2510) [MODULE_NOT_FOUND] Error Plugin: eosic: Cannot find module 'mocha'
module: @oclif/config@1.7.4
task: toCached
plugin: eosic
root: /usr/lib/node_modules/eosic
See more details with DEBUG=*
(node:2510) Error Plugin: @oclif/plugin-help: files attribute must be specified in /usr/lib/node_modules/eosic/node_modules/@oclif/plugin-help/package.json
module: @oclif/config@1.7.4
plugin: @oclif/plugin-help
root: /usr/lib/node_modules/eosic/node_modules/@oclif/plugin-help
See more details with DEBUG=*
eosic/0.0.4 linux-x64 node-v8.11.4

Ubuntu 16.04, node v8.11.4

BTW code links in README are broken

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