https://www.activepieces.com logo
Sharp no longer works inside of Code
# 🙋|requests
m
I get "Error: Could not load the \"sharp\" module using the linux-x64 runtime\nPossible solutions:\n- Ensure optional dependencies can be installed:\n npm install --include=optional sharp\n- Ensure your package manager supports multi-platform installation:\n See https://sharp.pixelplumbing.com/install#cross-platform\n- Add platform-specific dependencies:\n npm install --os=linux --cpu=x64 sharp\n- Consult the installation documentation:\n See https://sharp.pixelplumbing.com/install\n at /codes/62YlRUg4d4k7fEpxjMWAY/step_13/index.js:10:2550\n at /codes/62YlRUg4d4k7fEpxjMWAY/step_13/index.js:1:390\n at /codes/62YlRUg4d4k7fEpxjMWAY/step_13/index.js:14:64\n at /codes/62YlRUg4d4k7fEpxjMWAY/step_13/index.js:1:390\n at /codes/62YlRUg4d4k7fEpxjMWAY/step_13/index.js:41:9\n at /codes/62YlRUg4d4k7fEpxjMWAY/step_13/index.js:1:390\n at Object. (/codes/62YlRUg4d4k7fEpxjMWAY/step_13/index.js:41:153)\n at Module._compile (node:internal/modules/cjs/loader:1521:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)\n at Module.load (node:internal/modules/cjs/loader:1266:32)"
m
Native models are disabled in activepieces due to the security reason for while, specially they have prevented recent attacks like the axiom one. Did you try to use jimp instead of sharp?
m
I did not never heard of jimp
2 Views