-
Notifications
You must be signed in to change notification settings - Fork 1
Unexpected identifier error #4
Comments
I'm using Node v17.3.0. |
If that's the case, i think we should mention that in the readme, to use node >17 |
Does using node >17 fix the problem? |
yes it is, but if you want to support other node version, i suggest to delete the assert. import options from '../options.json'; I'll gladly open PR for this |
I tried using it without, but without it, it didn't let me access the .json without doing a couple of other things. Probably should support the LTS version of node so that's probably a good idea. |
@jumpyjacko have you tried switching node version before tried to import options without assert? |
No, I should probably do that, sorry about that. Completely forgot about trying that. |
Fixed the issue because I used node 16 and removed assert |
I got an error at this line, saying it's a SyntaxError, this probably due to my version of node, i'm using node 14.17.6
https://github.com/JumpyJacko/manga-cli/blob/f8c70013f23d87c6f187b6c75a18d5a1644fb53c/src/modules/fetch-manga-by-title.js#L17
What version of node did you use?
The text was updated successfully, but these errors were encountered: