<p>I'm normally not too brain-dead about this stuff, but I've been unable to force this one through.  I'm trying to install Bitcore (per their <a href="https://bitcore.io/guides/full-node" rel="nofollow noreferrer">instructions here</a>) but and have set <strong>nvm</strong> to the LTS version 4, as directed (v4.9.1), but when I run <strong>npm install -g bitcore</strong> it pukes at me:</p>
<pre><code>/Users/evilg/.nvm/versions/node/v4.9.1/lib/node_modules/npm/bin/npm-cli.js:85
      let notifier = require('update-notifier')({pkg})
      ^^^

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 Function.Module.runMain (module.js:441:10)
    at startup (node.js:140:18)
    at node.js:1043:3
</code></pre>
<p>For what it's worth, my <strong>npm</strong> version is 6.2.0.</p>
<p>Any help much appreciated!</p>

CC BY-SA 4.0
2019-01-14T18:36:13.660Z
You are aware that bitcore is not Bitcoin Core, yes?
Claris
CC BY-SA 4.0
2019-01-15T19:57:20.973Z
Yes, very aware.  :)
Jesse in Oregon
CC BY-SA 4.0
2019-01-16T19:24:28.947Z
**UPDATE:**  Apparently the problem is because Mac OS doesn't support the library libunwind...      https://stackoverflow.com/questions/27842377/building-libunwind-for-mac#27853419 -- but I assume there's gotta be a viable workaround.  Surely all us Mac folks aren't forced to set up virtual boxes just to use Bitcore.io?
Jesse in Oregon
<mac><bitcore>
Installation problem with Bitcore.io on Mac
Jesse in Oregon
# Installation problem with Bitcore.io on Mac

(Asked by: username_0 on 2019-01-14)

I'm normally not too brain-dead about this stuff, but I've been unable to force this one through.  I'm trying to install Bitcore (per their instructions here) but and have set nvm to the LTS version 4, as directed (v4.9.1), but when I run npm install -g bitcore it pukes at me:
/Users/evilg/.nvm/versions/node/v4.9.1/lib/node_modules/npm/bin/npm-cli.js:85
      let notifier = require('update-notifier')({pkg})
      ^^^

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 Function.Module.runMain (module.js:441:10)
    at startup (node.js:140:18)
    at node.js:1043:3

For what it's worth, my npm version is 6.2.0.
Any help much appreciated!

**Tags:** mac, bitcore

> **Comments:**
> **username_1**: You are aware that bitcore is not Bitcoin Core, yes?  
> **username_0**: Yes, very aware.  :)  
> **username_0**: **UPDATE:**  Apparently the problem is because Mac OS doesn't support the library libunwind...      https://stackoverflow.com/questions/27842377/building-libunwind-for-mac#27853419 -- but I assume there's gotta be a viable workaround.  Surely all us Mac folks aren't forced to set up virtual boxes just to use Bitcore.io?  

---

## 0 answers

