Comments (3)
See this: https://discord.com/channels/713503345364697088/1135937739217449072/1136038578468683818
from nixpacks.
Thanks for the bug report. Do you have an example repo where this bug is happening? Or could you provide the package.json
file.
from nixpacks.
@coffee-cup I think this is happening because canvas
does not exist in the root package json. I have a mono repo and I have canvas inside the server directory.
Maybe you should scan all package.json in the project folder and include libuuid
if canvas exist in any of those
{
"name": "server",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"build:prod": "yarn prisma generate && yarn prisma migrate deploy && yarn build",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"dev": "nest start --watch --preserveWatchOutput",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"migrate:dev": "yarn prisma migrate dev"
},
"dependencies": {
"@nestjs/axios": "^3.0.0",
"@nestjs/common": "^9.3.9",
"@nestjs/config": "^2.3.1",
"@nestjs/core": "^9.3.9",
"@nestjs/event-emitter": "^1.4.1",
"@nestjs/platform-express": "^9.3.9",
"@nestjs/serve-static": "^3.0.1",
"@nestjs/swagger": "^7.0.3",
"@prisma/client": "^4.11.0",
"@shopify/shopify-api": "^6.2.0",
"aws-sdk": "^2.1239.0",
"canvas": "^2.11.2",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"cookie-parser": "^1.4.6",
"dayjs": "^1.10.6",
"jsbarcode": "^3.11.5",
"liquidjs": "^10.8.3",
"nodemailer": "^6.9.3",
"prisma": "^4.11.0",
"qrcode": "^1.5.3",
"reflect-metadata": "^0.1.13",
"rimraf": "^4.4.0",
"rxjs": "^7.8.0",
"shopify-api-node": "^3.12.5"
},
"devDependencies": {
"@nestjs/cli": "^9.2.0",
"@nestjs/devtools-integration": "^0.1.3",
"@nestjs/schematics": "^9.0.4",
"@nestjs/testing": "^9.3.9",
"@types/cookie-parser": "^1.4.3",
"@types/express": "^4.17.17",
"@types/jest": "29.4.0",
"@types/mime-types": "^2.1.1",
"@types/multer": "^1.4.7",
"@types/node": "^18.15.0",
"@types/supertest": "^2.0.12",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "29.5.0",
"prettier": "^2.8.4",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"ts-jest": "29.0.5",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"tsconfig-paths": "4.1.2",
"typescript": "^4.9.5"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}
from nixpacks.
Related Issues (20)
- Nixpacks config 'onlyIncludeFiles' should support custom destination paths HOT 2
- Issue building multi-arch platform images HOT 7
- Support specific node versions instead of just majors HOT 5
- Unable to get prisma 5 with nixpacks openssl HOT 21
- SIGINT not passed to application HOT 5
- "Error: Cannot find module './pnpm.cjs'" when building Nx monorepo with NIXPACKS_NX_APP_NAME set HOT 2
- Running commands in Python container throws errors for incompatible ldd version HOT 1
- Option to skip `COPY . /app` HOT 6
- PHP 8.0 default Laravel build failing HOT 5
- add asdf support to python + poetry HOT 7
- Stream did not contain valid UTF-8 HOT 3
- Able to set Docker network and custom hosts during build HOT 7
- error: undefined variable 'pnpm-8_x' HOT 1
- Output environment variables during build
- Add NIXPACKS_VERSION to environment
- Nixpacks Bug Report HOT 1
- Springboot application fails to start with default configuration from version >= 2.5 HOT 1
- Support running as non root user
- nixpacks cargo workspaces problem HOT 1
- Force nixpack. to use latest version of Bun? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixpacks.