Skip to content

Commit 5f529fe

Browse files
authored
Prepend sudo to the NPM install global command
npm install -g does noit work on most systems if you are not root.
1 parent 69adca3 commit 5f529fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/en/getting-started/1-quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ But if [you already have your system ready for native development](/en/docs/gett
1717
> **Note**: If you choose to install DevTools, you won't be able to use `tns preview`, as the Preview app doesn't support one of the plugins DevTools uses.
1818
1919
```shell
20-
$ npm install -g @vue/cli @vue/cli-init
20+
$ sudo npm install -g @vue/cli @vue/cli-init
2121
$ vue init nativescript-vue/vue-cli-template <project-name>
2222
$ cd <project-name>
2323
$

0 commit comments

Comments
 (0)