Newest node LTS not supported
mbrachner opened this issue · 5 comments
Expected behavior
The documentation states that the newest node.js version should be used. This is at the time being version v18.13.0. When generating a template with yo office
, choosing Excel Custom Functions using a JavaScript-only Runtime and JavaScript a empty template should be generated.
Current behavior
Outputs the following error:
npm WARN config cache-min This option has been deprecated in favor of `--prefer-offline`.
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: excel-custom-functions-js@0.0.1
npm ERR! notsup Not compatible with your version of node/npm: excel-custom-functions-js@0.0.1
npm ERR! notsup Required: {"node":">=14 <17","npm":">=6 <9"}
npm ERR! notsup Actual: {"npm":"8.19.3","node":"v18.13.0"}
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\markusb\AppData\Local\npm-cache\_logs\2023-01-11T12_06_01_050Z-debug-0.log
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
- Install Node js version v18.13.0
- yo office
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
- Operating System: Win64
- Node version: v18.13.0
Failure Logs
We are currently in the process of validating the script and templates continue to work with the new LST version of node.
v19 is the current version of node while the LTS version of node is v18 (https://nodejs.org/en/). We support v18.
I look forward to a version for 19 -- do you know when it might be supported? Is Scriptlab itself being actively supported? I want to make more use of it but I'm wary.
According nodejs.org the even numbered versions are promote to LTS and the odd number versions are not. They release a new LTS version (the next one being v20) in the fall and that's when we will look at moving forward.