[INFO] - Installing the required dependencies...
[INFO] - Building web application...
[ERROR] - An error occured while building the web application, please try again.
later Error: Command failed: yarn build
Failed to compile.
./src/lib/hooks/useAuth.tsx:1:15
Type error: Module '"@prisma/client"' has no exported member 'User'.
> 1 | import type { User } from "@prisma/client";
| ^
2 | import React, { useState, useContext, createContext, useEffect } from "react";
3 | import { fetch, getCancelToken } from "../fetch";
4 |
at ChildProcess.exithandler (node:child_process:398:12)
at ChildProcess.emit (node:events:527:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
code: 1,
killed: false,
signal: null,
cmd: 'yarn build'
}
Not sure whether it's a problem with my VPS, because this hasn't happened before.
Strange.