We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac36261 + 9e14768 commit 827a598Copy full SHA for 827a598
bin/lib/start.js
@@ -122,7 +122,11 @@ function bin (argv, server) {
122
app = solid.createServer(argv, server)
123
} catch (e) {
124
if (e.code === 'EACCES') {
125
- console.log(colors.red.bold('ERROR'), 'You need root privileges to start on this port')
+ if (e.syscall === 'mkdir') {
126
+ console.log(colors.red.bold('ERROR'), `You need permissions to create '${e.path}' folder`)
127
+ } else {
128
+ console.log(colors.red.bold('ERROR'), 'You need root privileges to start on this port')
129
+ }
130
return 1
131
}
132
if (e.code === 'EADDRINUSE') {
0 commit comments