Closed akobelan closed 6 months ago
I just hit tihs issue :(
@luixal @akobelan
Can you not upgrade to Node 18?
Node 16 is End Of Life as of 11-Sept-2023
Ah. That's the issue. So obvious I missed it. Thanks for pointing that out. I will certainly upgrade Node to 18.
Version 0.12.1 of the MSSQL module is identical on both systems except the one we are trying to load on the hub is dependant on a later version of @azure/core-rest-pipeline. Version 1.13.0. Running on a different machine 0.12.1 is dependant on version 1.12.2 of @azure/core/rest-pipeline.
The later version 1.13.0 requires a more recent version of node (>=18.0.0).
The installation log probably explains it better.
2023-12-21T02:39:23.877Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-mssql-plus@0.12.1 2023-12-21T02:39:24.557Z [err] npm 2023-12-21T02:39:24.557Z [err] WARN 2023-12-21T02:39:24.557Z [err] config production Use
--omit=dev
instead. 2023-12-21T02:39:28.977Z [err] npm ERR! code 2023-12-21T02:39:28.977Z [err] EBADENGINE 2023-12-21T02:39:28.978Z [err] npm ERR! 2023-12-21T02:39:28.978Z [err] engine Unsupported engine 2023-12-21T02:39:28.978Z [err] npm ERR! engine 2023-12-21T02:39:28.978Z [err] Not compatible with your version of node/npm: @azure/core-rest-pipeline@1.13.0 2023-12-21T02:39:28.978Z [err] npm ERR! notsup Not compatible with your version of node/npm: @azure/core-rest-pipeline@1.13.0 2023-12-21T02:39:28.978Z [err] npm ERR! 2023-12-21T02:39:28.978Z [err] notsup Required: {"node":">=18.0.0"} 2023-12-21T02:39:28.978Z [err] npm ERR! notsup Actual: {"npm":"8.19.4","node":"v16.20.2"} 2023-12-21T02:39:28.980Z [err] 2023-12-21T02:39:28.980Z [err] npm ERR! 2023-12-21T02:39:28.980Z [err] A complete log of this run can be found in: 2023-12-21T02:39:28.980Z [err] npm ERR! /data/.npm/_logs/2023-12-21T02_39_24_472Z-debug-0.log 2023-12-21T02:39:28.989Z rc=1