MauritsWilke / mcpfp

A website to generate Minecraft profile pictures
https://minecraftpfp.com/
MIT License
158 stars 31 forks source link

what happen? #38

Open Dnyo666 opened 2 months ago

Dnyo666 commented 2 months ago

image i try to install but,there is another problem image if i use node 20~,it will notice me to use 17.4.0 and if i use node 17.4.0,it's a same problem

uwuv3 commented 6 days ago

Webserver is set to nodejs version 17 to use nodejs 17, there may be minor errors, change package.json to this code (removed engines);

{
    "name": "mcpfp",
    "version": "0.0.1",
    "scripts": {
        "dev": "svelte-kit dev --host",
        "build": "svelte-kit build",
        "package": "svelte-kit package",
        "preview": "svelte-kit preview --host",
        "check": "svelte-check --tsconfig ./tsconfig.json",
        "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
        "lint": "eslint --ignore-path .gitignore ."
    },
    "devDependencies": {
        "@commitlint/cli": "^16.2.1",
        "@commitlint/config-conventional": "^16.2.1",
        "@sveltejs/adapter-auto": "next",
        "@sveltejs/adapter-static": "^1.0.0-next.28",
        "@sveltejs/kit": "next",
        "@typescript-eslint/eslint-plugin": "^5.13.0",
        "@typescript-eslint/parser": "^5.13.0",
        "eslint": "^7.32.0",
        "eslint-plugin-svelte3": "^3.2.1",
        "husky": "^7.0.4",
        "sass": "^1.49.9",
        "svelte": "^3.44.0",
        "svelte-check": "^2.2.6",
        "svelte-preprocess": "^4.10.1",
        "tslib": "^2.3.1",
        "typescript": "~4.5.4"
    },
    "type": "module",
    "commitlint": {
        "extends": [
            "@commitlint/config-conventional"
        ]
    },
    "dependencies": {
        "@sveltejs/adapter-node": "^1.0.0-next.70",
        "canvas": "^2.9.0",
        "skia-canvas": "^0.9.29"
    }
}