Open DaiYuANg opened 1 month ago
can you post your package.json here so I can see it?
also do you have?
quarkus.quinoa.package-manager-install.pnpm-version=7.12.0
in your application.properties?
can you post your package.json here so I can see it?
{
"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
also do you have?
quarkus.quinoa.package-manager-install.pnpm-version=7.12.0
in your application.properties?
I set this on package.json
Quinoa doesn't read the package JSON for the version it reads the application.properties quarkus.quinoa.package-manager-install.pnpm-version=9.11.0
can you try that
Quinoa doesn't read the package JSON for the version it reads the application.properties
quarkus.quinoa.package-manager-install.pnpm-version=9.11.0
can you try that
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
Quinoa doesn't read the package JSON for the version it reads the application.properties
quarkus.quinoa.package-manager-install.pnpm-version=9.11.0
can you try thatquarkus: 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.
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?
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?
ok so NVM is interfering somehow. Not sure what Quinoa can do here?
Could we do something compatible for NVM. Like find $NVM_DIR and using binary in NVM current node version?
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