Erroring...

📅 2022-09-30T15:55:50.536Z
👁️ 195 katselukertaa
🔓 Julkinen



> mantine-next-template@1.0.0 build
> next build

info  - Linting and checking validity of types .Failed to compile.

./pages/index.tsx:109:11
Type error: Type '{ value: string; language: string; placeholder: string; onChange: (evn: any) => void; padding: number; minHeight: number; style: { fontSize: number; backgroundColor: string; fontFamily: string; }; }' is not assignable to type 'IntrinsicAttributes'.
  Property 'value' does not exist on type 'IntrinsicAttributes'.

  107 |         <Space h="xl" />
  108 |         <CodeEditor
> 109 |           value={pasteValue}
      |           ^
  110 |           language={languageValue}
  111 |           placeholder="Syötä lokitiedostosi / koodipätkäsi / äidinkielen esseesi tähän kenttään jakaaksesi sen muille..."
  112 |           onChange={(evn: any) => onPasteChange(evn.target.value)}

> Build error occurred
Error: Call retries were exceeded
    at ChildProcessWorker.initialize (/Users/roy/Desktop/pastebin/pastebinUI/node_modules/next/dist/compiled/jest-worker/index.js:1:11661)
    at ChildProcessWorker._onExit (/Users/roy/Desktop/pastebin/pastebinUI/node_modules/next/dist/compiled/jest-worker/index.js:1:12599)
    at ChildProcess.emit (node:events:513:28)
    at ChildProcess._handle.onexit (node:internal/child_process:291:12) {
  type: 'WorkerError'
}