mindsphere / node-red-contrib-mindconnect

Node-RED Agent for the MindConnect API (community driven project)
https://opensource.mindsphere.io/docs/node-red-contrib-mindconnect/index.html
MIT License
48 stars 1 forks source link

mindconnect not compatible with node version node:20.2.0-buster-slim #178

Open SurajBKamble opened 1 year ago

SurajBKamble commented 1 year ago

Describe the bug I'm trying to upgrade my node version from 14 to 20, when I did that and tried to build, it shows me the following error:

npm ERR!   The file is in the program because:
 npm ERR!     Entry point of type library 'normalize-package-data' specified in compilerOptions
 npm ERR! error TS2688: Cannot find type definition file for 'parse-json'.
 npm ERR!   The file is in the program because:
 npm ERR!     Entry point of type library 'parse-json' specified in compilerOptions
 npm ERR! error TS2688: Cannot find type definition file for 'vinyl'.
 npm ERR!   The file is in the program because:
 npm ERR!     Entry point of type library 'vinyl' specified in compilerOptions

 npm ERR! A complete log of this run can be found in: /home/node-red/.npm/_logs/2023-05-24T12_14_16_868Z-debug-0.log

To Reproduce Steps to reproduce the behavior: version issue

Expected behavior needs to support in version 16 or higher

Screenshots image

Desktop (please complete the following information):

Smartphone (please complete the following information):

MindSphere Plan

Additional context Add any other context about the problem here.