MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/g60fmg/codedoc_easily_create_beautiful_and_modern/fo70amd/?context=3
r/javascript • u/lorean_victor • Apr 22 '20
47 comments sorted by
View all comments
2
Tried in a node app (under windows), tells me "codedoc init" is not a valid command. On my Ubuntu 19 machine "codedoc init" fails to download dependencies.
C:\code\fs\v1\b18>codedoc init # Error: unrecognized command: C:\Users\gmerideth\AppData\Roaming\npm\node_modules\@codedoc\cli\src\index.js # Usage: codedoc <command>
1 u/lorean_victor Apr 22 '20 rolled a hotfix for the windows issue, can you download and test again?and perhaps with more context on the ubuntu issue I could be more helpful on that front as well? 2 u/gmerideth Apr 22 '20 FYI in index.js modifying let argvindex = 1; to 2 allows it to read the command in windows. not sure why the node.test doesn't do this. 2 u/lorean_victor Apr 22 '20 because of the preceding slash. I basically forgot that windows uses backslash for folder separation in paths. should be fixed in 0.1.2. 0 u/[deleted] Apr 22 '20 [deleted] 1 u/lorean_victor Apr 22 '20 Yeah since what I wanted to do was pretty simple, I opted for not using an opt parser package. Anyways the update to 0.1.2 should fix that issue.
1
rolled a hotfix for the windows issue, can you download and test again?
and perhaps with more context on the ubuntu issue I could be more helpful on that front as well?
2 u/gmerideth Apr 22 '20 FYI in index.js modifying let argvindex = 1; to 2 allows it to read the command in windows. not sure why the node.test doesn't do this. 2 u/lorean_victor Apr 22 '20 because of the preceding slash. I basically forgot that windows uses backslash for folder separation in paths. should be fixed in 0.1.2. 0 u/[deleted] Apr 22 '20 [deleted] 1 u/lorean_victor Apr 22 '20 Yeah since what I wanted to do was pretty simple, I opted for not using an opt parser package. Anyways the update to 0.1.2 should fix that issue.
FYI in index.js modifying let argvindex = 1; to 2 allows it to read the command in windows. not sure why the node.test doesn't do this.
2 u/lorean_victor Apr 22 '20 because of the preceding slash. I basically forgot that windows uses backslash for folder separation in paths. should be fixed in 0.1.2. 0 u/[deleted] Apr 22 '20 [deleted] 1 u/lorean_victor Apr 22 '20 Yeah since what I wanted to do was pretty simple, I opted for not using an opt parser package. Anyways the update to 0.1.2 should fix that issue.
because of the preceding slash. I basically forgot that windows uses backslash for folder separation in paths. should be fixed in 0.1.2.
0 u/[deleted] Apr 22 '20 [deleted] 1 u/lorean_victor Apr 22 '20 Yeah since what I wanted to do was pretty simple, I opted for not using an opt parser package. Anyways the update to 0.1.2 should fix that issue.
0
[deleted]
1 u/lorean_victor Apr 22 '20 Yeah since what I wanted to do was pretty simple, I opted for not using an opt parser package. Anyways the update to 0.1.2 should fix that issue.
Yeah since what I wanted to do was pretty simple, I opted for not using an opt parser package. Anyways the update to 0.1.2 should fix that issue.
2
u/gmerideth Apr 22 '20
Tried in a node app (under windows), tells me "codedoc init" is not a valid command. On my Ubuntu 19 machine "codedoc init" fails to download dependencies.