These kinds of errors typically happen because of a missing package in package.json.…
- User
These kinds of errors typically happen because of a missing package in package.json. Help me figure out what is causing it. This could also be partly @eslint-config and @eslint.config.js related too. Help me fix it.
[{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@eslint+markdown@6.4.0/node_modules/@eslint/markdown/dist/esm/index.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 135, "startColumn": 5, "endLineNumber": 135, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@eslint+markdown@6.4.0/node_modules/@eslint/markdown/dist/esm/index.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 314, "startColumn": 5, "endLineNumber": 314, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@eslint+plugin-kit@0.2.8/node_modules/@eslint/plugin-kit/dist/esm/index.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 91, "startColumn": 5, "endLineNumber": 91, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@eslint+plugin-kit@0.2.8/node_modules/@eslint/plugin-kit/dist/esm/index.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 211, "startColumn": 5, "endLineNumber": 211, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@typescript-eslint+scope-manager@8.32.0/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 11, "startColumn": 5, "endLineNumber": 11, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@typescript-eslint+scope-manager@8.32.0/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 22, "startColumn": 5, "endLineNumber": 22, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@typescript-eslint+scope-manager@8.32.0/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 13, "startColumn": 5, "endLineNumber": 13, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@typescript-eslint+scope-manager@8.32.0/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 9, "startColumn": 5, "endLineNumber": 9, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@typescript-eslint+scope-manager@8.32.0/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 8, "startColumn": 5, "endLineNumber": 8, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@typescript-eslint+scope-manager@8.32.0/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 15, "startColumn": 5, "endLineNumber": 15, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@typescript-eslint+scope-manager@8.32.0/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 16, "startColumn": 5, "endLineNumber": 16, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@typescript-eslint+scope-manager@8.32.1/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 11, "startColumn": 5, "endLineNumber": 11, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@typescript-eslint+scope-manager@8.32.1/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 22, "startColumn": 5, "endLineNumber": 22, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@typescript-eslint+scope-manager@8.32.1/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 13, "startColumn": 5, "endLineNumber": 13, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@typescript-eslint+scope-manager@8.32.1/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 9, "startColumn": 5, "endLineNumber": 9, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@typescript-eslint+scope-manager@8.32.1/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 8, "startColumn": 5, "endLineNumber": 8, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@typescript-eslint+scope-manager@8.32.1/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 15, "startColumn": 5, "endLineNumber": 15, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@typescript-eslint+scope-manager@8.32.1/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 16, "startColumn": 5, "endLineNumber": 16, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@@5.8.3/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 11, "startColumn": 5, "endLineNumber": 11, "endColumn": 13 },{ "resource": "/Users/[user]/Desktop/Code/neurotypic-ai/magus-mark/node_modules/.pnpm/@@5.8.3/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.d.ts", "owner": "typescript", "code": "18028", "severity": 8, "message": "Private identifiers are only available when targeting ECMAScript 2015 and higher.", "source": "ts", "startLineNumber": 11, "startColumn": 5, "endLineNumber": 11, "endColumn": 13 }]
- Assistant
Your Lordship,
Here’s a clear diagnosis and plan for your TypeScript error:
Problem Analysis
- User
I'm using ESNext bro. It's not my typescript config.... but you can look @typescript-config @tsconfig.json . Don't change anything just figure out why you're fucking wrong.
- Assistant
- User
For the code present, we get this error:
codeProblems loading reference 'https://json-schema.org/meta/validation': Unable to load schema from 'https://json-schema.org/meta/validation': Not Found. The requested location could not be found. <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="stylesheet" href="https://cdn.jsdel.How can I resolve this? If you propose a fix, please make it concise.
- Assistant
Your Grace,
This error is caused by the JSON schema validator (in your editor or Nx) trying to fetch a non-existent schema reference:
https://json-schema.org/meta/validation
This URL does not exist—it’s a known issue with some schema tools or older schema URLs.Why it happens
- The
$schemaproperty in yourschema.jsonis correct:
"https://json-schema.org/schema" - But some tools (especially VS Code or Nx) try to fetch additional meta-schemas (like
/meta/validation), which are not present on the official site.
Concise Fixes
1. Ignore the Error (Harmless)
- This error does not affect code generation or Nx.
- The