codetheweb / serverless-step-functions-local

Run AWS step functions offline with Serverless
MIT License
17 stars 17 forks source link

rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported #27

Closed subhamsingh123 closed 4 months ago

subhamsingh123 commented 4 months ago

facing the below error while installing the using the below command npm i serverless-step-functions-local

npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported npm error code 127 npm error path /Users/subhams/Desktop/PushCode/TPMS/sls-tpms/node_modules/zlib npm error command failed npm error command sh -c node-waf clean || true; node-waf configure build npm error sh: node-waf: command not found npm error sh: node-waf: command not found npm error A complete log of this run can be found in: /Users/subhams/.npm/_logs/2024-07-19T11_41_08_494Z-debug-0.log

current serverless framework version u am using is >3.0

subhamsingh123 commented 4 months ago

the issue was observed with node version 22, changed node version to 16 and it is working fine.