Closed jd-apprentice closed 1 week ago
Project won't load CLOUDINARY_URL on ARM64 but works okay in x64
environment variable is fine
cloudinary 2.4.0 - const cloudinary = require("cloudinary").v2; Bun - 1.1.26
const cloudinary = require("cloudinary").v2;
{ "name": "waifuland_api", "version": "1.0.0", "author": "jd-apprentice", "license": "MIT", "main": "dist/index.js", "type": "module", "scripts": { "prebuild": "rm -rf dist", "build": "bun build src/app/index.ts --target=bun --minify --outdir dist", "dev": "NODE_ENV=development bun --watch src/app/index.ts", "start": "NODE_ENV=production bun dist/index.js", "lint": "eslint ./src/**/*.ts", "lint:fix": "eslint ./src/**/*.ts --fix", "format": "prettier --check ./src/**/*.ts", "format:fix": "prettier --write ./src/**/*.ts", "husky": "husky", "test": "bun test --coverage" }, "dependencies": { "@hapi/boom": "^10.0.1", "bcrypt": "^5.1.1", "cloudinary": "^2.4.0", "cors": "^2.8.5", "express": "^4.19.2", "helmet": "^7.1.0", "jsonwebtoken": "^9.0.2", "jwt-decode": "^3.1.2", "mongodb": "^6.8.1", "mongoose": "^8.6.1", "multer": "^1.4.4", "multer-storage-cloudinary": "^4.0.0", "rollbar": "^2.26.4" }, "devDependencies": { "@types/bcrypt": "^5.0.2", "@types/bun": "^1.1.8", "@types/cors": "^2.8.17", "@types/express": "^4.17.21", "@types/jsonwebtoken": "^8.5.9", "@types/morgan": "^1.9.9", "@types/multer": "^1.4.12", "@types/supertest": "^6.0.2", "aws-sdk": "^2.1691.0", "eslint": "9.x", "eslint-config-prettier": "^9.1.0", "eslint-plugin-security": "^3.0.1", "husky": "^9.1.5", "mock-aws-s3": "^4.0.2", "nock": "^13.5.5", "prettier": "^3.3.3", "supertest": "^6.3.4" } }
The repository that I'm using is the following
https://github.com/jd-apprentice/waifuland-api
Also app is published in docker-hub https://hub.docker.com/r/dyallo/waifuland_api
It was a skill issue, I had to literally not use double quotes
My bad, closing this! :)
Describe the bug in a sentence or two.
Project won't load CLOUDINARY_URL on ARM64 but works okay in x64
Steps to reproduce
Error screenshots
Proof
environment variable is fine
Versions and Libraries (fill in the version numbers)
cloudinary 2.4.0 -
const cloudinary = require("cloudinary").v2;
Bun - 1.1.26Config Files (Please paste the following files if possible)
Repository
The repository that I'm using is the following
https://github.com/jd-apprentice/waifuland-api
Also app is published in docker-hub https://hub.docker.com/r/dyallo/waifuland_api