node core http2 not resolved
See original GitHub issueFor the import
const http2 = require('http2');
I get import/no-extraneous-dependencies and import/no-unresolved warnings, but http2 is part of the node core.
Enviroment setting in package.json:
"env": {
"es6": true,
"node": true
},
node 8.7.0 eslint 4.9.0 eslint-plugin-import 2.7.0 eslint-import-resolver-node 0.3.1
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
Module 'http2' not found · Issue #610 · grpc/grpc-node - GitHub
In my case the reason for "Module 'http2' not found" error was too old version of node - 8.4.x - set in package.json...
Read more >Http2 Dependency not found - Help - Fauna Forums
Now when I try to launch my dev server I get an error: This dependency was not found: http2 in ./node_modules/faunadb/src/_http/http2Adapter ...
Read more >HTTP/2 in Node.JS Core - Level Up Coding
HTTP/2 is still considered to be experimental and despite the fact it is still not 100% finished, you can already start experimenting with...
Read more >How to Polyfill node core modules in webpack 5
This was resolved simply by installing the buffer package with npm install -D buffer . 'fs'. Module not found: Error: Can't resolve 'fs ......
Read more >HTTP/2 | Node.js v19.3.0 Documentation
The following illustrates a simple HTTP/2 server using the Core API. Since there are no browsers known that support unencrypted HTTP/2, the use...
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 Free
Top 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
@ljharb yeah thanks for the patience on that one. for whatever reason, the new version magically fixes it. blowing everything away (package-lock included) didn’t have a positive effect. fairly certain that it was a wonky edge case.
Either way, v0.3.2 is released.