Using a javascript npm module (@gradio/client) in a javascript action

Hi everyone, I am a new user of Mendix, and have some but not too much javascript experience.   I want to use the @gradio/client npm module to connect a javascript action to  a huggingface space to use a chatbot (minicpm-llama3).  I installed Node.js and installed the package in the actions folder with  npm i -D @gradio/client And I added the import in the javascript action.  However once I do this,  I get  :  "[webpack-cli] ModuleNotFoundError: Module not found: Error: Can't resolve 'path' " and "BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. "   I tried  "npm install path", but then I get a new error : " Can't resolve 'fs/promises' "  (but no error message about polyfills). I found discusions about polyfills and browserify on stackoverflow, but nothing specific about fs/promises, and nothing about mendix.   Thanks in advance for your help.  
0 answers