How do I get support here Wappler team?
I’m trying to build 3 modules, that I’ll happily share with the community (JSON > plain text, pdfmake, pdf parsing, chatgpt) but I am unable to get any support regarding the npm issue above.
This is a huge problem with Wappler, not the product, but if the community, or team doesn’t provide support we are stuck and have no where to go. Right now, development of this area of the product stops as we have no way to solve the issue without perhaps starting a brand new project and copying everything over.
If it helps at all, the Node and NPM versions I have are:
NPM = 9.6.6
Node = 20.2.0
I still have the existing issue with ERR and UNMET DEPENDENCY for all packages.
Yet, I have just tried installing another package this morning. It appears to install, but then is not included in the package.json file. I add it there manually with the latest version of that package from npm’s website.
Trying to run the extension that needs this file resulted in two different errors:
The first one:
Cannot find module 'json-stringify-pretty-compact'\nRequire stack:\n- /opt/node_app/extensions/server_connect/modules/JsonToText.js\n- /opt/node_app/lib/core/app.js\n- /opt/node_app/lib/core/middleware.js\n- /opt/node_app/lib/setup/routes.js\n- /opt/node_app/lib/server.js\n- /opt/node_app/index.js
The second one:
require() of ES Module /opt/node_app/node_modules/json-stringify-pretty-compact/index.js from /opt/node_app/extensions/server_connect/modules/JsonToText.js not supported.\nInstead change the require of index.js in /opt/node_app/extensions/server_connect/modules/JsonToText.js to a dynamic import() which is available in all CommonJS modules.
The second appeared after I did another install from the UI of all node packages, and then deployed again.
Noting if I do NPM List I still get the same list of errors:
I also provided the error log in the original post.
I am here ready to provide any additional feedback, or code you need to help solve this. I can create vids and send privately if that helps even more, or we can screen share on a call.
Sorry for the tags, but we need some support. @George @Teodor