You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install the library on a mongodb realm nodejs-serverless environment
How did you attempt to do it?
install module via the installer
What actually happened?
Failed to install dependencies
failed to transpile node_modules/pdf-lib/dist/pdf-lib.esm.min.js. "pdf-lib" is likely not supported yet. unknown: Exporting local "wn", which is not declared.
What did you expect to happen?
The lib to be installed, e.g. when using the same to install other libs such as uuid, nodemailer etc in the serverless backend, dont give any errors and then they can used inside the serveless functions.
How can we reproduce the issue?
Create a MongoDB Project - this will be the Atlas Database
Once database created, please switch to Realm Tab and follow the dialog to create any realm-application
Select the functions tab from the left side menu
Switch to Dependencies and Click the Add Dependency
Add the lib / npm module - it will try to install and then gives the following error (bottom left)
Version
1.17.1
What environment are you running pdf-lib in?
Node, Other
Checklist
My report includes a Short, Self Contained, Correct (Compilable) Example.
I have attached all PDFs, images, and other files needed to run my SSCCE.
Additional Notes
node-serverless environment with mongo-db realm
The text was updated successfully, but these errors were encountered:
What were you trying to do?
Install the library on a mongodb realm nodejs-serverless environment
How did you attempt to do it?
install module via the installer
What actually happened?
Failed to install dependencies
failed to transpile node_modules/pdf-lib/dist/pdf-lib.esm.min.js. "pdf-lib" is likely not supported yet. unknown: Exporting local "wn", which is not declared.
What did you expect to happen?
The lib to be installed, e.g. when using the same to install other libs such as uuid, nodemailer etc in the serverless backend, dont give any errors and then they can used inside the serveless functions.
How can we reproduce the issue?
Create a MongoDB Project - this will be the Atlas Database
Once database created, please switch to Realm Tab and follow the dialog to create any realm-application
Select the functions tab from the left side menu
Switch to Dependencies and Click the Add Dependency
Add the lib / npm module - it will try to install and then gives the following error (bottom left)
Version
1.17.1
What environment are you running pdf-lib in?
Node, Other
Checklist
Additional Notes
node-serverless environment with mongo-db realm
The text was updated successfully, but these errors were encountered: