-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Error while resolving package dependencies #349
Comments
When I installed the latest versions of the dependencies it worked without errors. npm install @prettier/plugin-lua@latest @prettier/plugin-php@latest @prettier/plugin-ruby@latest @prettier/plugin-xml@latest prettier-plugin-svelte@latest
npm install --save-dev colors@latest jest@latest vim-driver@latest The versions in the package.json file then became: "dependencies": {
"@prettier/plugin-lua": "^0.0.3",
"@prettier/plugin-php": "^0.20.1",
"@prettier/plugin-ruby": "^4.0.2",
"@prettier/plugin-xml": "^3.2.1",
"prettier": "^3.0.3",
"prettier-plugin-svelte": "^3.0.3"
},
"devDependencies": {
"colors": "^1.4.0",
"jest": "^29.7.0",
"vim-driver": "^1.0.1"
} |
Hi Victor Do you want to submit a PR to update the deps to match the above ? |
Hi Mitermayer, |
I have the same issue when trying to install prettier with Vundle in Ubuntu Jammy 64 bits. Here's a reproducible example I made with a Linux Container.
I'm not an expert on npm so I'm not sure what's the cause of the issue, but hopefully my "reprex" above helps us tracking it. |
Allow npm to install current versions, resolving prettier#349
Do you want to request a feature or report a bug?
Report a bug.
What is the current/expected behavior?
Currently when running
npm install
from the directory of vim-plugin npm outputs an error message and does not install the dependencies. The message is:The expected behavior is that after running
npm install
all the package dependencies are installed without errors.What version of
vim-prettier
are you using - (output of:PrettierVersion
) ?1.0.0
What version of
prettier
are you using - (output of:PrettierCliVersion
) ?3.0.3
What is your
prettier
executable path - (output of:PrettierCliPath
) ?/home/victorspt/.vim/pack/plugins/opt/vim-prettier/node_modules/.bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ?
Yes.
The text was updated successfully, but these errors were encountered: