-
Notifications
You must be signed in to change notification settings - Fork 156
Unable to install dependencies with Node 12 #261
Comments
It would take time and efforts to move to an alternative. IMO the best thing to do is to wait for atom/node-spellchecker#119 to be fixed. Until then I'm afraid you will have to use a prior version of node to build Abricotine. Maybe nvm can be helpful for this. let's keep your recommendation about hunspell-asm in mind anyway. It can be useful in the long term to avoid native modules. |
Rather than opening a new issue related to spellchecker and node-gyp, I'll comment here, even though this one is closed. I am trying to set up the development branch locally and so far have had no success either on Windows 10 or Ubuntu 20.04. The errors are related to node-gyp and spellchecker. Since I am currently on Ubuntu I will detail my attempts related to that. I have tried 3 different node versions, using nvm, and all give me similar errors. Node versions I tried with are: When attempting the install with v14 I get a huge error similar to the one in the issue. When using v15 and v16 though I get
This makes me thing it's an error with Python on Ubuntu.
Which leads me to believe node-gyp (or spellchecker) needs python v2.X when calling In any case... I would say replacing spellchecker as a dependency would be a good idea. I completely understand it won't be a simple undertaking, as a spellchecker is essential in any editing software and is probably used throughout the whole application. Update: After installing Python 2.7.18 and aliasing it to |
I believe this is related to atom/node-spellchecker#119
https://www.npmjs.com/package/hunspell-asm may be a viable alternative.
The text was updated successfully, but these errors were encountered: