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

not yet supported outside strict mode #19

Open
staminna opened this issue Dec 1, 2017 · 1 comment
Open

not yet supported outside strict mode #19

staminna opened this issue Dec 1, 2017 · 1 comment

Comments

@staminna
Copy link

staminna commented Dec 1, 2017

Hi

$  npm install blockchain-cli -g
/Users/jorge/.nvm/versions/node/v4.8.0/bin/blockchain -> /Users/jorge/.nvm/versions/node/v4.8.0/lib/node_modules/blockchain-cli/main.js

> [email protected] install /Users/jorge/.nvm/versions/node/v4.8.0/lib/node_modules/blockchain-cli/node_modules/wrtc
> node-pre-gyp install --fallback-to-build

[wrtc] Success: "/Users/jorge/.nvm/versions/node/v4.8.0/lib/node_modules/blockchain-cli/node_modules/wrtc/build/wrtc/v0.0.62/Release/node-v46-darwin-x64/wrtc.node" is installed via remote
+ [email protected]
added 244 packages in 24.765s
Jorges-MBP:website jorge$ blockchain 
/Users/jorge/.nvm/versions/node/v4.8.0/lib/node_modules/blockchain-cli/lib/blockchain/index.js:7
class Blockchain {
^^^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/Users/jorge/.nvm/versions/node/v4.8.0/lib/node_modules/blockchain-cli/lib/cli/command/list-blockchain.js:1:82)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
@ghost
Copy link

ghost commented Apr 13, 2020

Hi,
follow this link to download a problem-free version.
https://github.com/anders94/blockchain-demo/

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