-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.5.0 TypeError: Invalid URL at Object.e [as resolveUrl] #405
Comments
We are seeing this as well: More information can be found at: https://a.co/74kJMmI
(Use `node --trace-warnings ...` to show where the warning was created)
TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:387:5)
at URL.onParseError (node:internal/url:565:9)
at new URL (node:internal/url:641:5)
at Validator.resolve (/tmp/cdk-integ-0i8alj125w4m/node_modules/@aws-cdk/cloud-assembly-schema/node_modules/jsonschema/lib/validator.js:263:16)
at Validator.validateSchema (/tmp/cdk-integ-0i8alj125w4m/node_modules/@aws-cdk/cloud-assembly-schema/node_modules/jsonschema/lib/validator.js:194:25)
at Validator.validate (/tmp/cdk-integ-0i8alj125w4m/node_modules/@aws-cdk/cloud-assembly-schema/node_modules/jsonschema/lib/validator.js:133:21)
at Function.validate (/tmp/cdk-integ-0i8alj125w4m/node_modules/@aws-cdk/cloud-assembly-schema/lib/manifest.ts:194:30)
at Function.saveManifest (/tmp/cdk-integ-0i8alj125w4m/node_modules/@aws-cdk/cloud-assembly-schema/lib/manifest.ts:220:14)
at Function.saveAssemblyManifest (/tmp/cdk-integ-0i8alj125w4m/node_modules/@aws-cdk/cloud-assembly-schema/lib/manifest.ts:74:14)
at CloudAssemblyBuilder.buildAssembly (/tmp/cdk-integ-0i8alj125w4m/node_modules/aws-cdk-lib/cx-api/lib/cloud-assembly.js:1:6547) {
input: '/undefined#/definitions/AssemblyManifest',
code: 'ERR_INVALID_URL' Note that this is running on |
Also - how come there is no 1.5.0 tag in the repo? this would help identify the relevant commit. |
Latest [upgrade](#119) broke schema validation on node 16 because it bumped us to a faulty version of `jsonschema`. > See tdegrunt/jsonschema#405
Same error in Chrome 129. Looks like this expression only works since Chrome 130
Line 400 in f65c769
related: #396 @henryrgithub @tdegrunt can you please take a look |
"resolutions": {
"jsonschema": "1.4.1"
}, I added it to package.json, and it worked for me |
after upgrade to v1.5.0, it may cause crash
TypeError: Invalid URL at Object.e [as resolveUrl] (https://assets.alicdn.com/g/code/npm/@alife/cn-ei-cec-plugin-new-info-view/0.0.18/index.js:1:17315) at a (https://assets.alicdn.com/g/code/npm/@alife/cn-ei-cec-plugin-new-info-view/0.0.18/index.js:1:27376) at e (https://assets.alicdn.com/g/code/npm/@alife/cn-ei-cec-plugin-new-info-view/0.0.18/index.js:1:28269) at e [as addSchema] (https://assets.alicdn.com/g/code/npm/@alife/cn-ei-cec-plugin-new-info-view/0.0.18/index.js:6:107818) at e (https://assets.alicdn.com/g/code/npm/@alife/cn-ei-cec-plugin-new-info-view/0.0.18/index.js:8:63960) at e (https://assets.alicdn.com/g/code/npm/@alife/cn-ei-cec-plugin-new-info-view/0.0.18/index.js:8:63847) at https://assets.alicdn.com/g/code/npm/@alife/cn-ei-cec-plugin-new-info-view/0.0.18/index.js:8:127793 at Bh (https://assets.alicdn.com/g/code/lib/react-dom/16.13.1/umd/react-dom.production.min.js:126:456) at Dj (https://assets.alicdn.com/g/code/lib/react-dom/16.13.1/umd/react-dom.production.min.js:162:476) at unstable_runWithPriority (https://assets.alicdn.com/g/code/lib/react/16.13.1/umd/react.production.min.js:25:260)
The text was updated successfully, but these errors were encountered: