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

Pin dependency version #64

Closed
4 tasks done
mrleblanc101 opened this issue Sep 18, 2023 · 5 comments · Fixed by #65
Closed
4 tasks done

Pin dependency version #64

mrleblanc101 opened this issue Sep 18, 2023 · 5 comments · Fixed by #65
Labels
Status: Review Needed Request for review comments

Comments

@mrleblanc101
Copy link

Reporting a bug?

@intlify/cli has some unpinned dependency.
So when I run yarn upgrade, my project break because one of these 3 package does not support node 14.

"@intlify/bundle-utils" next
"@intlify/core" beta
"@intlify/shared" beta

Expected behavior

The dependency should be pinned as to not cause this error:

@intlify/shared@9.4.1: The engine "node" is incompatible with this module. Expected version ">= 16". Got "14.21.3"

Reproduction

.

System Info

System:
    OS: macOS 14.0
    CPU: (8) x64 Apple M1 Pro
    Memory: 111.79 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 14.21.3 - ~/.nvm/versions/node/v14.21.3/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 6.14.18 - ~/.nvm/versions/node/v14.21.3/bin/npm

Screenshot

No response

Additional context

No response

Validations

@mrleblanc101 mrleblanc101 added the Status: Review Needed Request for review comments label Sep 18, 2023
@mrleblanc101
Copy link
Author

I'm not sure if there is a way to run yarn upgrade while excluding these packages.

@mrleblanc101
Copy link
Author

That was quick, I'll test tomorrow.
Thanks

@mrleblanc101
Copy link
Author

The pin to ^9.4.1 is incompatible with node 14, sadly I can't migrate so I guess i'll stay with the current version of my dependencies.

@kazupon
Copy link
Member

kazupon commented Sep 19, 2023

Unfortunately, Node v14 and v16 were already EOL. 😞
If you need to use @intlify/cli, I think you can use the override features of the package manager.

@mrleblanc101
Copy link
Author

mrleblanc101 commented Sep 19, 2023

I use vue-i18n-locale-message to extract translation from my SFC in a single JSON file to upload to Crowdin which seams to use @intlify/cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Review Needed Request for review comments
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants