I am trying to load https://www.npmjs.com/package/tulind this library into a serverless function, but am running into this error:
“message”:“Cannot find module ‘/tmp/Uvkambof/node_modules/tulind/lib/binding/Release/node-v83-linux-x64/tulind.node’ Require stack: - /tmp/Uvkambof/node_modules/tulind/index.js - /tmp/Uvkambof/lib/bots/bless3d.js - /tmp/Uvkambof/index.js”
My best guest is that the OS these functions are running on is not supported by the library, is there any way around this?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $200 of credit to try our products over 60 days!
Can you try deploying the project, using “remote-build” so that the build and runtime environments match:
Otherwise, if you are on a Mac for example, and you run the install locally, the release field will be at
./node_modules/tulind/lib/binding/Release/node-v93-darwin-arm64/tulind.nodebut on a Linux platform the release files are at
Let me know how it goes!