UnhandledPromiseRejectionWarning: ReferenceError: URL is not defined
See original GitHub issueFor a simple call (and many others) I got
$ website-evidence-collector --yaml --no-output --quiet https://google.com -- --ignore-certificate-errors
(node:30510) UnhandledPromiseRejectionWarning: ReferenceError: URL is not defined
at Object.keys.forEach (/home/gotar/Programowanie/BeLighted/Admeet-API/node_modules/website-evidence-collector/website-evidence-collector.js:295:33)
at Array.forEach (<anonymous>)
at /home/gotar/Programowanie/BeLighted/Admeet-API/node_modules/website-evidence-collector/website-evidence-collector.js:294:29
at <anonymous>
(node:30510) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:30510) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9
Top Results From Across the Web
URL is not defined in node.js - Stack Overflow
12. Your Node version is old. · 2. yes, you are right, my node. · In the hopes of helping someone who comes...
Read more >ReferenceError: URL is not defined - Nehemiah Blog
ReferenceError : URL is not defined ... If you are using Node 8.11.2-x64, you may experience the below error when trying to fetch...
Read more >Uncaught ReferenceError: url is not defined - JavaScript
I'm attempting to parse the URL into a variable, but I receive the following error: Uncaught ReferenceError: url is not defined My goal...
Read more >ReferenceError: "x" is not defined - JavaScript - MDN Web Docs
There is a non-existent variable referenced somewhere. This variable needs to be declared, or you need to make sure it is available in...
Read more >ReferenceError: path is not defined in JavaScript | bobbyhadz
The "ReferenceError: path is not defined" occurs when we use the path module without importing it in a Node.js application. To solve the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The last error message was helpful. I just added one more change.
Hmm I just checked current master, still exists. But can wait till 0.3.1 to retest again. Maybe it’s some 3rd party stuff like node version, or dependency
current master:
$ node -v #=> v8.12.0
Dependency list
command: