Skip to content

Commit 67bd4fd

Browse files
author
Dave Conway-Jones
committed
ensure --unsafe-perm in azure and aws install docs
1 parent 28f0fbd commit 67bd4fd

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/faq/interacting-with-arduino.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You then need to install the Node-RED Arduino nodes into the palette.
4444
<div class="doc-callout">Please check that `npm -v` is at least version 2.x
4545
- if not - update it using
4646

47-
sudo npm i -g npm@2.x
47+
sudo npm i -g npm@latest
4848
hash -r
4949
</div>
5050

docs/getting-started/aws.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Once logged in you need to install node.js and Node-RED
137137

138138
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
139139
sudo apt-get install -y nodejs build-essential
140-
sudo npm install -g node-red
140+
sudo npm install -g --unsafe-perm node-red
141141

142142

143143
At this point you can test your instance by running `node-red`. *Note*: you may
@@ -149,7 +149,7 @@ Once started, you can access the editor at `http://<your-instance-ip>:1880/`.
149149
To get Node-RED to start automatically whenever your instance is restarted, you
150150
can use pm2:
151151

152-
sudo npm install -g pm2
152+
sudo npm install -g --unsafe-perm pm2
153153
pm2 start `which node-red` -- -v
154154
pm2 save
155155
pm2 startup

docs/getting-started/azure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Once logged in you need to install node.js and Node-RED
4949

5050
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
5151
sudo apt-get install -y nodejs build-essential
52-
sudo npm install -g node-red
52+
sudo npm install -g --unsafe-perm node-red
5353

5454

5555
At this point you can test your instance by running `node-red`. *Note*: you may
@@ -61,7 +61,7 @@ Once started, you can access the editor at `http://<your-instance-ip>:1880/`.
6161
To get Node-RED to start automatically whenever your instance is restarted, you
6262
can use pm2:
6363

64-
sudo npm install -g pm2
64+
sudo npm install -g --unsafe-perm pm2
6565
pm2 start `which node-red` -- -v
6666
pm2 save
6767
pm2 startup

docs/user-guide/node-red-admin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ instance.
1515
Install this globally to make the `node-red-admin` command available on
1616
your path:
1717

18-
npm install -g node-red-admin
18+
npm install -g --unsafe-perm node-red-admin
1919

2020
<div class="doc-callout">
2121
<em>Note</em> : <code>sudo</code> is required if running as a non-root user on Linux/OS X. If

0 commit comments

Comments
 (0)