Coder Social home page Coder Social logo

Comments (6)

Doacola avatar Doacola commented on August 19, 2024 4

With NODE_NO_HTTP2=1 in environment variables I tested with latest LTS v8.9.1 the warning is no longer visible but seems like it was not added or just doesn't work in v9.0.0 or v9.1.0 (Both of them were tested).

So if that warning causes that much trouble just up-/downgrade to v8.9.1LTS and that environment variable will remove the message.

So this issue is not directly caused by grunt but instead it's based on latest updates from Node and their decision to add http2 to be exposed by default.
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#2017-10-24-version-880-current-mylesborins

from grunt-contrib-connect.

IceCreamYou avatar IceCreamYou commented on August 19, 2024 3

The OP notes the env variable workaround, but that's not a viable solution for code that needs to be distributed to others. We can't ask every user of the code to add this variable.

More importantly, setting the env variable causes grunt-contrib-connect to use the userland package which is now deprecated. It'd be nice to move onto code that will be maintained.

from grunt-contrib-connect.

toptalo avatar toptalo commented on August 19, 2024

Get same warning on v8.9.0 (current LTS)

from grunt-contrib-connect.

cssagogo avatar cssagogo commented on August 19, 2024

Get same warning on Node v9.0.0 and NPM v5.5.1

from grunt-contrib-connect.

knoxcard avatar knoxcard commented on August 19, 2024

Does not work on v9.2.0 either, when will this be corrected? http2 is commonplace.
It prevents my entire web platform from loading, instead a 502 Bad Gateway is returned from my frontend proxy server NGINX.

Reverting back to v8.7.0.

Any version above node v8.7.0 does NOT work for me.

from grunt-contrib-connect.

XhmikosR avatar XhmikosR commented on August 19, 2024

This is gone with the latest master changes, will be in v2.0.0 when it's out.

from grunt-contrib-connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.