Regression: Hawk update broke compatibility with Node 6.10
See original GitHub issueFor some reason that I don’t quite understand, npm in Node6 completely ignores the fact that sntp
package.json has "node": ">=8.9.0"
in it and installs this very version as a dependency of updated hawk
. 30 minutes ago you updated request
and my app has completely gone out of production with SyntaxError: exports.time = async function (options = {} ) {
The problem is, I don’t install request
directly, it is installed as a dependency of another package I have no control over. And it requires "request": "^2.53.0"
. Also I cannot change node version, since 6.10 is the latest available in AWS Lambda.
I really have no idea how to fix this on my end. Please help…
Issue Analytics
- State:
- Created 6 years ago
- Reactions:70
- Comments:30 (4 by maintainers)
Top Results From Across the Web
T189451 Jenkins fails to merge a patch with "Unexpected ...
... Regression: Hawk update broke compatibility with Node 6.10 ... master, +1 -0, WIP Jenkins fails to merge a patch with "Unexpected token...
Read more >Node.js 6.10.2 Release Brief - NodeSource
This is a special, expedited release for the Node 6 LTS line containing important fixes for recent regressions, including a crypto-related ...
Read more >node.js - Windows 11 update broke network access for nodejs ...
First I noticed that all npm commands would fail with ECONNRESET when trying to reach registry.npmjs.org . Running npm from a VM or...
Read more >How can I update NodeJS and NPM to their latest versions?
npm update -g npm. See the docs for the update command: ... Sometimes, versions discrepancy may cause incompatibility errors.
Read more >Download & Update Node.js to the Latest Version! Node v19 ...
Direct download links to update to the latest Node.js versions: Node v19.0.0 / LTS ... New globally available browser-compatible APIs.
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
v2.85.0 is published
I’ve reverted the update to Hawk 7.x and hopefully this is going to fix the issue, because right now the tests on TravisCI are failing for Node >= v8 for some reason, the tests for Node < v8 are failing because of sntp dev dep, and locally the test are failing for yet another reason … Anyway will publish a new version shortly.