• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue NodeJS Extension/IISNode Module [Why do I see "DeprecationWarning: Buffer() is deprecated due to security and usability issues."?]

f1fty

New Pleskian
Server operating system version
Windows Server 2023
Plesk version and microupdate number
Obsidian Latest
Hello, i am trying to setup my nodejs application but i get the following error:

node:6612) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `node --trace-deprecation ...` to show where the warning was created)

I think this is because iisnode file interceptor.js uses new Buffer().

I dont know what i should do…
 
Code:
You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.
 
Back
Top