简体   繁体   中英

How do I make my environment use current(ish) node?

Node Sass could not find a binding for your current environment: 
OS X 64-bit with Node.js 4.x

Found bindings for the following environments:
  - OS X 64-bit with Node.js 6.x

I get that. Sort of. Except: node -v => v6.9.2

So what is it getting my current environment from? I'm using nvm to manage node versions.. but I'm getting conflicting information about what version of node I'm running.

I also followed these instructions to upgrade

How to I just use v6.9.2 everywhere?

NVM manages node versions separately by shell and doesn't persist a set version. You can set the default version by using nvm alias default v6.9.2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM