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

yarn dlx dotenv-vault@latest failing #354

Open
sakiv opened this issue Oct 4, 2024 · 0 comments
Open

yarn dlx dotenv-vault@latest failing #354

sakiv opened this issue Oct 4, 2024 · 0 comments

Comments

@sakiv
Copy link

sakiv commented Oct 4, 2024

Hi, I am using yarn dlx to login to dotenv-vault, however it fails with the below error -

yarn dlx dotenv-vault@latest login
➤ YN0000: · Yarn 4.3.1
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + dotenv-vault@npm:1.26.2, @cspotcode/source-map-support@npm:0.8.1, @jridgewell/resolve-uri@npm:3.1.2, and 188 more.
➤ YN0000: └ Completed in 2s 154ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 191 packages were added to the project (+ 19.47 MiB).
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0000: └ Completed
➤ YN0000: · Done with warnings in 2s 319ms

(node:96098) Error Plugin: dotenv-vault: could not find package.json with {
type: 'core',
root: '/private/var/folders/08/rddrn4196_bdkhcgpttbsqlm0000gn/T/xfs-34422565/dlx-96072/.yarn/cache/dotenv-vault-npm-1.26.2-cad1be6652-57265e8a87.zip/node_modules/dotenv-vault',
name: '@oclif/plugin-update'
}
module: @oclif/core@1.26.2
task: loadPlugins
plugin: dotenv-vault
root: /private/var/folders/08/rddrn4196_bdkhcgpttbsqlm0000gn/T/xfs-34422565/dlx-96072/.yarn/cache/dotenv-vault-npm-1.26.2-cad1be6652-57265e8a87.zip/node_modules/dotenv-vault
See more details with DEBUG=*
(Use node --trace-warnings ... to show where the warning was created)
› ModuleLoadError: [MODULE_NOT_FOUND] require failed to load /private/var/folders/08/rddrn4196_bdkhcgpttbsqlm0000gn/T/xfs-34422565/dlx-96072/.yarn/cache/dot
› env-vault-npm-1.26.2-cad1be6652-57265e8a87.zip/node_modules/dotenv-vault/dist/commands/login.js: dotenv-vault tried to access tslib, but it isn't declared
› in its dependencies; this makes the require call ambiguous and unsound.

› Required package: tslib
› Required by: dotenv-vault@npm:1.26.2 (via /private/var/folders/08/rddrn4196_bdkhcgpttbsqlm0000gn/T/xfs-34422565/dlx-96072/.yarn/cache/dotenv-vault-npm-1.2
› 6.2-cad1be6652-57265e8a87.zip/node_modules/dotenv-vault/dist/services/)

› Require stack:
› - /private/var/folders/08/rddrn4196_bdkhcgpttbsqlm0000gn/T/xfs-34422565/dlx-96072/.yarn/cache/dotenv-vault-npm-1.26.2-cad1be6652-57265e8a87.zip/node_modul
› es/dotenv-vault/dist/services/login-service.js
› - /private/var/folders/08/rddrn4196_bdkhcgpttbsqlm0000gn/T/xfs-34422565/dlx-96072/.yarn/cache/dotenv-vault-npm-1.26.2-cad1be6652-57265e8a87.zip/node_modul
› es/dotenv-vault/dist/commands/login.js
› - /private/var/folders/08/rddrn4196_bdkhcgpttbsqlm0000gn/T/xfs-34422565/dlx-96072/.yarn/cache/@oclif-core-npm-1.26.2-6e8f4423c3-9affbfba7b.zip/node_module
› s/@oclif/core/lib/module-loader.js
› - /private/var/folders/08/rddrn4196_bdkhcgpttbsqlm0000gn/T/xfs-34422565/dlx-96072/.yarn/cache/@oclif-core-npm-1.26.2-6e8f4423c3-9affbfba7b.zip/node_module
› s/@oclif/core/lib/config/plugin.js
› - /private/var/folders/08/rddrn4196_bdkhcgpttbsqlm0000gn/T/xfs-34422565/dlx-96072/.yarn/cache/@oclif-core-npm-1.26.2-6e8f4423c3-9affbfba7b.zip/node_module
› s/@oclif/core/lib/config/config.js
› - /private/var/folders/08/rddrn4196_bdkhcgpttbsqlm0000gn/T/xfs-34422565/dlx-96072/.yarn/cache/@oclif-core-npm-1.26.2-6e8f4423c3-9affbfba7b.zip/node_module
› s/@oclif/core/lib/config/index.js
› - /private/var/folders/08/rddrn4196_bdkhcgpttbsqlm0000gn/T/xfs-34422565/dlx-96072/.yarn/cache/@oclif-core-npm-1.26.2-6e8f4423c3-9affbfba7b.zip/node_module
› s/@oclif/core/lib/command.js
› - /private/var/folders/08/rddrn4196_bdkhcgpttbsqlm0000gn/T/xfs-34422565/dlx-96072/.yarn/cache/@oclif-core-npm-1.26.2-6e8f4423c3-9affbfba7b.zip/node_module
› s/@oclif/core/lib/index.js
› - /private/var/folders/08/rddrn4196_bdkhcgpttbsqlm0000gn/T/xfs-34422565/dlx-96072/.yarn/cache/dotenv-vault-npm-1.26.2-cad1be6652-57265e8a87.zip/node_modul
› es/dotenv-vault/bin/run
› Code: MODULE_NOT_FOUND

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant