File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 12
12
- [ Installing] ( #installing )
13
13
- [ Troubleshooting] ( #troubleshooting )
14
14
- [ Issues with Node.js after version upgrades] ( #issues-with-nodejs-after-version-upgrades )
15
+ - [ Debugging install issues with npm] ( #debugging-install-issues-with-npm )
15
16
16
17
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
17
18
@@ -132,3 +133,15 @@ A step-by-step example of how you might do this is:
132
133
2 . Navigate into the directory: ` cd /usr/local/Cellar/code-server/<version>/libexec/lib/vscode/ `
133
134
3 . Recompile the native modules: ` npm rebuild `
134
135
4 . Restart code-server
136
+
137
+ ### Debugging install issues with npm
138
+
139
+ Unfortunately, ` yarn ` swallows all logs on ` yarn global add ` so instead you can install with ` npm ` and see the logs:
140
+
141
+ ``` shell
142
+ # Uninstall
143
+ npm uninstall -g --unsafe-perm code-server > /dev/null 2>&1
144
+
145
+ # Install with logging
146
+ npm install --loglevel verbose -g --unsafe-perm code-server
147
+ ```
You can’t perform that action at this time.
0 commit comments