-
Notifications
You must be signed in to change notification settings - Fork 41
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
Node Version Manager: interferes with Quinoa #775
Comments
can you post your package.json here so I can see it? |
also do you have?
in your application.properties? |
{
"name": "webui",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@eslint/js": "^9.9.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"eslint": "^9.9.0",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.9",
"globals": "^15.9.0",
"typescript": "^5.5.3",
"typescript-eslint": "^8.0.1",
"vite": "^5.4.1"
},
"packageManager": "pnpm@9.11.0"
} Just a new vite project |
I set this on package.json |
Quinoa doesn't read the package JSON for the version it reads the application.properties |
quarkus:
log:
console:
json: false
datasource:
jdbc: false
devservices:
enabled: true
quinoa:
package-manager-install:
pnpm-version: 9.11.0 That does not work still log sh: line 1: pnpm: command not found |
And I make sure the pnpm command work at all shell(bash/sh/zsh) |
ok then its a bug. |
i am pretty sure our CI/CD tests already test this on Linux but something must be different. |
May its nvm? |
can you try it without NVM? |
I remove nvm and using node install from system package manager (dnf) and its does work |
ok so NVM is interfering somehow. Not sure what Quinoa can do here? |
Could we do something compatible for NVM. |
I will leave that as a question for @ia3andy |
Describe the bug
Here is fedora and nvm environment. Also setting nvm environment for bash.
In my terminal using bash or sh pnpm is found but when start in ide there is log
Quinoa version
2.4.8
Quarkus version
3.14.4
Build / Runtime
Vite
Package Manager
PNPM
Steps to reproduce the behavior
just setup nvm and new quarkus project with quinoa
Expected behavior
Quarkus startup normally
The text was updated successfully, but these errors were encountered: