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
Okay, just found out that it fails with node v8.2.1 but with node v8.3.0 it does work. Maybe the docs should actually refer that the minimum node version is 8.3.0?
Considering that Node.js 8.x LTS is at 8.11.3 now and 8.3.0 was released almost a year ago (2017-08-09) before 8.x entered LTS, I think it's acceptable to require our users to use 8.3.0 or newer.
I am proposing to update our docs and mention 8.9.0 as the minimum required version (8.9.0 was the first 8.x version covered by LTS). As part of this change, we should also update all of our package.json files and modify engines section to use >=8.9 instead of current >=8 version spec for Node.
Reacted by Cristiano Santos, Taranveer Virk and Biniam Admikew
Activity
raymondfeng commentedon Jun 9, 2018
Hmm, it seems to be an issue related to TypeScript 2.9 (https://blogs.msdn.microsoft.com/typescript/2018/05/31/announcing-typescript-2-9/#import-types).
Running
npm run buildforloopback-next/packages/contextproduces an invalidkey.d.tsfromsrc/key.ts:Please note the relative import is invalid outside the monorepo.
chore(build): pin typescript version to 2.8.x
raymondfeng commentedon Jun 9, 2018
I'm proposing a workaround at #1406.
chore(build): pin typescript version to 2.8.x
raymondfeng commentedon Jun 9, 2018
Please try
npm i -g @loopback/[email protected]tapas4java commentedon Jun 10, 2018
Thanks @raymondfeng
@loopback/[email protected]looks fine.reyalpsirc commentedon Jul 26, 2018
Its failing again on
@loopback/[email protected]but with a different error now:reyalpsirc commentedon Jul 26, 2018
Okay, just found out that it fails with
node v8.2.1but withnode v8.3.0it does work. Maybe the docs should actually refer that the minimum node version is 8.3.0?shimks commentedon Jul 27, 2018
I've been able to reproduce the problem.
I see two options:
Object.assignWhat do you think @strongloop/sq-lb-apex, @bajtos, @raymondfeng?
bajtos commentedon Jul 30, 2018
Considering that Node.js 8.x LTS is at 8.11.3 now and 8.3.0 was released almost a year ago (2017-08-09) before 8.x entered LTS, I think it's acceptable to require our users to use 8.3.0 or newer.
I am proposing to update our docs and mention
8.9.0as the minimum required version (8.9.0was the first 8.x version covered by LTS). As part of this change, we should also update all of ourpackage.jsonfiles and modifyenginessection to use>=8.9instead of current>=8version spec for Node.