Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use gulplog v2 until gulp 5 is released #17

Closed
sgapps-de opened this issue Nov 12, 2022 · 2 comments
Closed

Don't use gulplog v2 until gulp 5 is released #17

sgapps-de opened this issue Nov 12, 2022 · 2 comments
Labels
Projects

Comments

@sgapps-de
Copy link

Before you open this issue, please complete the following tasks:

  • [X ] if you think there is a bug in our code, open this issue.

What were you expecting to happen?

logger.info should output something

What actually happened?

nothing

Please give us a sample of your gulpfile

var logger = require(‘gulplog');

logger.info('Hello worlc!');

Terminal output / screenshots

Please provide the following information:

  • Windows / node 18.x
    But does not matter

Additional information

The problem arises because 'gulplog' 2.0.1 uses 'glogg@2.x' which in turn uses 'sparkles@2.x' - and this version ist not compatible with 'sparkles@1.x' which is (indirectly) used by 'gulplog@1.x' which is used by the current version of 'gulp-cli' (2.3.0). Therefore logging does not work for any new gulpfile or gulp plugin that uses 'npm install gulplog' which will install version 2.0.1 of 'gulplog'. I think 'gulplog' must be changed to use version 1.x of 'glogg' / 'sparkles'. Using the current version of 'gulplog' in 'gulp-cli' will fix the problem for new gulpfiles / plugins but will break all existing!

This is not a problem of a global or local installation of 'gulp' as is written in various places!

@phated
Copy link
Member

phated commented Nov 12, 2022

Don't upgrade to breaking versions of gulp libraries until gulp 5 releases. There's no way around this.

@phated phated added the notice label Nov 12, 2022
@phated phated changed the title No logging output - the real problem Don't use gulplog v2 until gulp 5 is released Nov 12, 2022
@phated phated pinned this issue Nov 12, 2022
@phated phated added this to To do in v5 Jan 4, 2023
@phated phated moved this from To do to In progress in v5 Jun 25, 2023
@phated
Copy link
Member

phated commented Mar 24, 2024

gulp-cli v3.0.0 (which will be included in gulp 5) has been released which listens for gulplog v1 and gulplog v2 messages, so this can be closed. It's still recommended to use gulplog v1 until gulp 5 is released so more people get the updated gulp-cli.

@phated phated closed this as completed Mar 24, 2024
v5 automation moved this from In progress to Done Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
v5
  
Done
Development

No branches or pull requests

2 participants