You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting this error after installing theo using npm install -g theo. Tried it using node v6.14.4, node 8.12.0, node 9.11.2, node 10.11.0.
$ theo --version
💩 Oops, something went wrong: Error: EISDIR: illegal operation on a directory, read
update
I did some digging around. Turns out, the cli expects a source file as its first argument always. When that's not provided, like in case of theo --version(this command doesn't exist, I now learned) it converts an undefined value to '' and then to process.cwd(). Throws this error when it tries to run a file operation on a directory.
The text was updated successfully, but these errors were encountered:
Getting this error after installing
theo
usingnpm install -g theo
. Tried it usingnode v6.14.4
,node 8.12.0
,node 9.11.2
,node 10.11.0
.update
I did some digging around. Turns out, the cli expects a source file as its first argument always. When that's not provided, like in case of
theo --version
(this command doesn't exist, I now learned) it converts anundefined
value to''
and then toprocess.cwd()
. Throws this error when it tries to run a file operation on a directory.The text was updated successfully, but these errors were encountered: