Git Product home page Git Product logo

Comments (5)

sc-illiakovalenko avatar sc-illiakovalenko commented on July 22, 2024

I have the same issue,

var stream = gulp.src(streamSource).pipe(webpack({ mode: 'production', stats: 'none', }))

can you look at this problem?

npm 6.11.13
node v10.16.3
gulp Local version: 4.02
gulp CLI version: 2.2.0

from webpack-stream.

eballeste avatar eballeste commented on July 22, 2024

@shotlandec1980 why did you close this? Did you find a solution?

from webpack-stream.

AdeptSEO avatar AdeptSEO commented on July 22, 2024

@eballeste Unfortunately, I did not find a solution (
I don’t know why, but there are no more errors)
Оnly changed node.js to v12.18.0, but I don’t think that is the reason

from webpack-stream.

shama avatar shama commented on July 22, 2024

@shotlandec1980 @sc-illiakovalenko is this still an issue? This occurs because https://nodejs.org/docs/latest-v12.x/api/domain.html is deprecated in node 12 and likely because a module in the dependency was using it. I don't see that deprecation message with node 12 so I'm guessing a module removed the deprecation.

from webpack-stream.

Ubernt avatar Ubernt commented on July 22, 2024

@shama @shotlandec1980 Im getting this issue also after installing webpack-stream 6.1.2. It happens when I set the mode to production.

node.js: 12.8.4
npm: 6.14.6.

Update:
I managed to get this to work on suddenly on my local environment when developing. I only managed to get this to fail few times and after switching between development and production mode it stopped throwing error anymore. I tested this on another computer also and same thing there. Didnt work first times and after few try with different modes it works.

However on my workplace CI pipeline it always fails. I'm starting to think is there something happening on background after few tries and it works. CI pipeline always starts building website from scratch and it fails always when mode is production.

gulp is using a module which uses 'domain' module that is deprecated. Latest and version later than node.js 14.6 shouldn't care about it but for some reason setting mode to "production" makes it break. No idea how these two are related.

from webpack-stream.

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.