Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

update to node 12 mac

// Fix node not found first	
sudo chown -R `whoami`:admin /usr/local/include/node
    sudo chown -R `whoami`:admin /usr/local/bin
    sudo chown -R `whoami`:admin /usr/local/share
    sudo chown -R `whoami`:admin /usr/local/lib/dtrace 

 brew link --overwrite node
 
// Then: 
sudo npm cache clean -f 
sudo npm install -g n 
sudo n stable/lts
Source by bytearcher.com #
 
PREVIOUS NEXT
Tagged: #update #node #mac
ADD COMMENT
Topic
Name
6+4 =