-
Notifications
You must be signed in to change notification settings - Fork 27
Update so that we can build with Node 10.x #24
Comments
Hi @yaweiw , Has this worked before for you? You could try the following to insulate the problem: $> npm init -y
$> npm install nsfw --add-dep This should pull |
yes i think it's mentioned in this issue eclipse-theia/theia#2009. Node 10.* isn't supported. |
Hi @yaweiw
That was true until yesterday, when support for Node 10.x has been merged in the main Theia repo. So it works now for I just tried to build using Node 10 and it failed, like you on the Re-opening this issue. |
so that latest "@theia/*" extensions are pulled Problem: Following the Theia update to support Node 10.x, I tried to test if there were impacts on this repo here. However I noticed that older @theia/* extensions were being pulled, from a couple of releases ago. I think it's because we had stepped the "minor" versions vs what was in yarn.lock. In this case, yarn will not automatically pull the new version for these packages, as they may be incompatible. I first attempted to run "yarn upgrade-interactive" to update the "@theia/*" extensions but it crashed before being done. So in the end I just removed all references to these extensions from "yarn.lock" and it did the trick. Fixes #24 Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
so that latest "@theia/*" extensions are pulled Problem: Following the Theia update to support Node 10.x, I tried to test if there were impacts on this repo here. However I noticed that older @theia/* extensions were being pulled, from a couple of releases ago. I think it's because we had stepped the "minor" versions vs what was in yarn.lock. In this case, yarn will not automatically pull the new version for these packages, as they may be incompatible. I first attempted to run "yarn upgrade-interactive" to update the "@theia/*" extensions but it crashed before being done. So in the end I just removed all references to these extensions from "yarn.lock" and it did the trick. Fixes #24 Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
Try to run 'yarn' on root to build the app but failed with interesting error.
The text was updated successfully, but these errors were encountered: