瀏覽代碼

tweak: add boot error help

KernelDeimos 9 月之前
父節點
當前提交
c97688706e
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      tools/run-selfhosted.js

+ 9 - 0
tools/run-selfhosted.js

@@ -121,6 +121,15 @@ const early_init_errors = [
         suggestions: [
             'try running `npm install`'
         ],
+    },
+    {
+        text: 'Cannot write to path',
+        notes: [
+            'this usually happens when /var/puter isn\'t chown\'d to the right UID'
+        ],
+        suggestions: [
+            'check issue #645 on our github'
+        ]
     }
 ];