I’m encountering issues with JSON schema references in my package.json
and .babelrc
files. Here are the details:
-
Error in package.json:
- I’m getting the following error under the first bracket in my
package.json
:<code>Problems loading reference 'https://json.schemastore.org/jscpd.json':Unable to load schema from 'https://json.schemastore.org/jscpd.json':Failed to establish a socket connection to proxies: ["PROXY 127.0.0.1:60749"].</code><code>Problems loading reference 'https://json.schemastore.org/jscpd.json': Unable to load schema from 'https://json.schemastore.org/jscpd.json': Failed to establish a socket connection to proxies: ["PROXY 127.0.0.1:60749"]. </code>Problems loading reference 'https://json.schemastore.org/jscpd.json': Unable to load schema from 'https://json.schemastore.org/jscpd.json': Failed to establish a socket connection to proxies: ["PROXY 127.0.0.1:60749"].
- I’ve tried downloading the schema and using it locally, but the issue persists.
- I’m getting the following error under the first bracket in my
-
Error in .babelrc:
- In my
.babelrc
file, I have the following content:
`your text“““json
{
“$schema”: “./babelrc.schema.json”,
“preset”: [“env”]
}<code></code><code></code> - However, I’m still encountering this error:
<code>Unable to load schema from 'c:\Julius Projects\NODEJS & MYSQL\MEDAASE_HEALTHCARE\src\routes\babelrc.schema.json':ENOENT: no such file or directory, open 'c:\Julius Projects\NODEJS & MYSQL\MEDAASE_HEALTHCARE\src\routes\babelrc.schema.json'.</code><code>Unable to load schema from 'c:\Julius Projects\NODEJS & MYSQL\MEDAASE_HEALTHCARE\src\routes\babelrc.schema.json': ENOENT: no such file or directory, open 'c:\Julius Projects\NODEJS & MYSQL\MEDAASE_HEALTHCARE\src\routes\babelrc.schema.json'. </code>
Unable to load schema from 'c:\Julius Projects\NODEJS & MYSQL\MEDAASE_HEALTHCARE\src\routes\babelrc.schema.json': ENOENT: no such file or directory, open 'c:\Julius Projects\NODEJS & MYSQL\MEDAASE_HEALTHCARE\src\routes\babelrc.schema.json'.
- In my
-
Attempted Solutions:
- I followed advice to create local files (
package.schema.json
andbabelrc.schema.json
), but the error persists.
- I followed advice to create local files (
Could someone please help me understand what might be causing these issues and how to resolve them? Thank you!
New contributor
Julius Ametsitsi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.