Skip to content

Instantly share code, notes, and snippets.

@izaklast
Created August 30, 2020 19:53
Show Gist options
  • Save izaklast/70daf224211c37c4a4c01466d1210ee5 to your computer and use it in GitHub Desktop.
Save izaklast/70daf224211c37c4a4c01466d1210ee5 to your computer and use it in GitHub Desktop.
pi@makerverse:~ $ curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Reading package lists... Done
## Confirming "buster" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/buster/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK
## Creating apt sources list file for the NodeSource Node.js 12.x repo...
+ echo 'deb https://deb.nodesource.com/node_12.x buster main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_12.x buster main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Get:3 https://deb.nodesource.com/node_12.x buster InRelease [4,584 B]
Get:4 https://deb.nodesource.com/node_12.x buster/main armhf Packages [772 B]
Fetched 5,356 B in 3s (1,621 B/s)
Reading package lists... Done
## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
## You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
pi@makerverse:~ $ git clone https://github.com/makermadecnc/makerverse.git
Cloning into 'makerverse'...
remote: Enumerating objects: 62, done.
remote: Counting objects: 100% (62/62), done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 3348 (delta 20), reused 48 (delta 18), pack-reused 3286
Receiving objects: 100% (3348/3348), 77.40 MiB | 4.77 MiB/s, done.
Resolving deltas: 100% (1806/1806), done.
Checking out files: 100% (1838/1838), done.
pi@makerverse:~ $ cd makerverse
pi@makerverse:~/makerverse $ chmod +x ./bin/makerverse
pi@makerverse:~/makerverse $ bash ./bin/makerverse
./bin/makerverse: line 3: syntax error near unexpected token `'@babel/polyfill''
./bin/makerverse: line 3: `require('@babel/polyfill');'
pi@makerverse:~/makerverse $ bash ./bin/makerverse
./bin/makerverse: line 3: syntax error near unexpected token `'@babel/polyfill''
./bin/makerverse: line 3: `require('@babel/polyfill');'
pi@makerverse:~/makerverse $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment