je n arrive pas a deploiyer mon site husky not found
derimer
TRIALOP

a year ago

//package.json client

{

"name": "stephphotos",

"version": "1.0.0",

"description": "Client-side application for Steph Photos project",

"author": "Jean René",

"license": "MIT",

"private": true,

"type": "module",

"scripts": {

"prepare": "husky install",

"start": "node server/index.js",

"dev": "vite",

"build": "vite build",

"preview": "vite preview",

"format": "prettier --write .",

"lint": "eslint src --ext .js,.jsx --report-unused-disable-directives --max-warnings 0",

"lint:fix": "eslint src --ext .js,.jsx --fix"

},

"dependencies": {

"prop-types": "^15.8.1",

"react": "^18.2.0",

"react-dom": "^18.2.0",

"react-medium-image-zoom": "^4.3.5",

"react-router-dom": "^6.23.0",

"@vitejs/plugin-react": "^4.2.1",

"vite": "^5.2.11"

},

"workspaces": ["client", "server"],

"devDependencies": {

"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^9.1.7",
"lint-staged": "^15.2.0",
"prettier": "^3.2.5"

},

"lint-staged": {

".js": "eslint --fix", ".css": "prettier --write"

}

}

//package.json server

{

"main": "index.js",

"homepage": "https://github.com/WildCodeSchool/stephphotos#readme",

"bugs": {

"url": "https://github.com/WildCodeSchool/stephphotos/issues"

},

"repository": {

"type": "git",

"url": "git+https://github.com/WildCodeSchool/stephphotos.git"

},

"workspaces": [

"client",

"server"

],

"scripts": {

"start": "node index.js",

"postinstall": "husky install || true",

"db:migrate": "npm run db:migrate --workspace=server",

"db:seed": "npm run db:seed --workspace=server",

"dev": "concurrently -c green,yellow -t "HH:mm:ss" -p "{name} {time}" "npm:dev:*"",

"dev:client": "npm run dev --workspace=client",

"dev:server": "npm run dev --workspace=server",

"lint": "lint-staged",

"test": "npm run test --workspaces --if-present",

"clean": "cross-env-shell "rm -rf ./client/node_modules ./server/node_modules ./node_modules ./package-lock.json"",

"prepare": "husky install"

},

"keywords": [],

"author": "WildCodeSchool",

"license": "MIT",

"devDependencies": {

"@commitlint/cli": "^19.2.2",

"@commitlint/config-conventional": "^19.2.2",

"concurrently": "^8.2.2",

"cross-env": "^7.0.3",

"eslint-plugin-react-refresh": "^0.4.16",

"husky": "^8.0.0",

"lint-staged": "^15.2.2"

},

"dependencies": {

"bcrypt": "^5.1.1",

"cors": "^2.8.5",

"esbuild": "^0.24.1",

"express": "^4.x.x",

"jsonwebtoken": "^9.0.2",

"vite": "^4.4.0"

},

"engines": {

"node": "22.x"

}

}

/home/jeanrene/stephphotos/.husky/pre-commit

#!/usr/bin/env sh

. "$(dirname -- "$0")/_/husky.sh"

npm test

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Closed

1 Replies

a year ago

Hello,

Apologies but we can only do support in English. Please re-submit this ticket using the english language.

Best,

The Railway Team


Status changed to Closed brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...