Closed TechDufus closed 9 months ago
Odd, I removed husky and all lint packages and this seems to be resolved.
git diff package.json
diff --git a/package.json b/package.json
index 07c3100..8ae4883 100644
--- a/package.json
+++ b/package.json
@@ -7,10 +7,8 @@
"build": "blitz build",
"start": "blitz start",
"studio": "blitz prisma studio",
- "lint": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .",
"test": "vitest run --passWithNoTests",
- "test:watch": "vitest",
- "prepare": "husky install"
+ "test:watch": "vitest"
},
"prisma": {
"schema": "db/schema.prisma"
@@ -19,15 +17,12 @@
"semi": false,
"printWidth": 100
},
- "lint-staged": {
- "*.{js,ts,tsx}": [
- "eslint --fix"
- ]
- },
"dependencies": {
"@blitzjs/auth": "2.0.3",
"@blitzjs/next": "2.0.3",
"@blitzjs/rpc": "2.0.3",
+ "@hookform/error-message": "2.0.1",
+ "@hookform/resolvers": "2.9.11",
"@prisma/client": "5.4.2",
"blitz": "2.0.3",
"formik": "2.4.5",
@@ -35,11 +30,9 @@
"prisma": "5.4.2",
"react": "18.2.0",
"react-dom": "18.2.0",
- "secure-password": "4.0.0",
- "zod": "3.22.4",
"react-hook-form": "7.50.0",
- "@hookform/resolvers": "2.9.11",
- "@hookform/error-message": "2.0.1"
+ "secure-password": "4.0.0",
+ "zod": "3.22.4"
},
"devDependencies": {
"@next/env": "13.4.19",
@@ -51,12 +44,7 @@
"@types/react": "18.0.25",
"@typescript-eslint/eslint-plugin": "5.42.1",
"@vitejs/plugin-react": "2.2.0",
- "eslint": "8.27.0",
- "eslint-config-next": "12.3.1",
- "eslint-config-prettier": "8.5.0",
- "husky": "8.0.2",
"jsdom": "20.0.3",
- "lint-staged": "13.0.3",
"prettier": "^2.7.1",
"prettier-plugin-prisma": "4.4.0",
"pretty-quick": "3.1.3",
What is the problem?
Upon generating a new project scaffolding, running
dev
gives this error:Paste all your error logs here:
Paste all relevant code snippets here:
What are detailed steps to reproduce this?
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
No response