We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Calling PnpmRun("build") does not work.
PnpmRun("build")
The output is the following:
Using addin: Cake.Pnpm v1.0.0.0 (1.0.0) pnpm arguments: run build --loglevel info > [email protected] build D:\a\1\s\src\ClientUI > tsc && vite build "--loglevel" "info" file:///D:/a/1/s/src/ClientUI/node_modules/.pnpm/[email protected][email protected]/node_modules/vite/dist/node/cli.js:444 throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``); ^ CACError: Unknown option `--loglevel` at Command.checkUnknownOptions (file:///D:/a/1/s/src/ClientUI/node_modules/.pnpm/[email protected][email protected]/node_modules/vite/dist/node/cli.js:444:17) at CAC.runMatchedCommand (file:///D:/a/1/s/src/ClientUI/node_modules/.pnpm/[email protected][email protected]/node_modules/vite/dist/node/cli.js:642:13) at CAC.parse (file:///D:/a/1/s/src/ClientUI/node_modules/.pnpm/[email protected][email protected]/node_modules/vite/dist/node/cli.js:581:12) at file:///D:/a/1/s/src/ClientUI/node_modules/.pnpm/[email protected][email protected]/node_modules/vite/dist/node/cli.js:914:5 at ModuleJob.run (node:internal/modules/esm/module_job:262:25) at async ModuleLoader.import (node:internal/modules/esm/loader:474:24)
Now, the real error here, is that vite does not know what to do with the --loglevel argument, but underlying is the fact that --loglevel is set last.
vite
--loglevel
The documentation states:
Any options for the run command should be listed before the script's name. Options listed after the script's name are passed to the executed script.
run
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Calling
PnpmRun("build")
does not work.The output is the following:
Now, the real error here, is that
vite
does not know what to do with the--loglevel
argument, but underlying is the fact that--loglevel
is set last.The documentation states:
The text was updated successfully, but these errors were encountered: