Md Rashed
Md Rashed
BBuildShip
Created by Md Rashed on 3/20/2024 in #❓・buildship-help
Assistant Node failed - URGENT
No description
13 replies
BBuildShip
Created by Md Rashed on 3/19/2024 in #❓・buildship-help
Getting error for resizing images
import sharp from 'sharp';
export default async function resizeImage({
imagePath
}) {
const resizedImagePath = ${process.env.BUCKET_FOLDER_PATH}/${Date.now()}_resized.png;
await sharp(${process.env.BUCKET_FOLDER_PATH}/${imagePath}).resize(40, 40).toFile(resizedImagePath);
return resizedImagePath;
}
import sharp from 'sharp';
export default async function resizeImage({
imagePath
}) {
const resizedImagePath = ${process.env.BUCKET_FOLDER_PATH}/${Date.now()}_resized.png;
await sharp(${process.env.BUCKET_FOLDER_PATH}/${imagePath}).resize(40, 40).toFile(resizedImagePath);
return resizedImagePath;
}
Error: Could not load the "sharp" module using the linuxmusl-x64 runtime Possible solutions: - Ensure optional dependencies can be installed: npm install --include=optional sharp yarn add sharp --ignore-engines - Ensure your package manager supports multi-platform installation: See https://sharp.pixelplumbing.com/install#cross-platform - Add platform-specific dependencies: npm install --os=linux --libc=musl --cpu=x64 sharp - Consult the installation documentation: See https://sharp.pixelplumbing.com/install
4 replies
BBuildShip
Created by Md Rashed on 3/11/2024 in #❓・buildship-help
How to set document reference in Firebase Node
No description
2 replies
BBuildShip
Created by Md Rashed on 2/20/2024 in #❓・buildship-help
Can't create new user in firebase
I am trying to create new user in firebase. It was worked before but now showing error.
{
"uid": null,
"success": false,
"error": "Credential implementation provided to initializeApp() via the \"credential\" property has insufficient permission to access the requested resource. See https://firebase.google.com/docs/admin/setup for details on how to authenticate this SDK with appropriate permissions."
}
{
"uid": null,
"success": false,
"error": "Credential implementation provided to initializeApp() via the \"credential\" property has insufficient permission to access the requested resource. See https://firebase.google.com/docs/admin/setup for details on how to authenticate this SDK with appropriate permissions."
}
2 replies
BBuildShip
Created by Md Rashed on 9/27/2023 in #❓・buildship-help
How to fix Error 429?
No description
6 replies
BBuildShip
Created by Md Rashed on 9/26/2023 in #❓・buildship-help
REST API endpoint not working
No description
5 replies