You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run vite build --force it generates the following error:
❯ npx vite build --force
file:///Users/jeff/code/gecko/gecko-app/node_modules/vite/dist/node/cli.js:448
throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);
^
CACError: Unknown option `--force`
at Command.checkUnknownOptions (file:///Users/jeff/code/gecko/gecko-app/node_modules/vite/dist/node/cli.js:448:17)
at CAC.runMatchedCommand (file:///Users/jeff/code/gecko/gecko-app/node_modules/vite/dist/node/cli.js:646:13)
at CAC.parse (file:///Users/jeff/code/gecko/gecko-app/node_modules/vite/dist/node/cli.js:585:12)
at file:///Users/jeff/code/gecko/gecko-app/node_modules/vite/dist/node/cli.js:947:5
at ModuleJob.run (node:internal/modules/esm/module_job:217:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
Node.js v20.9.0
This occurs on both versions 6.3.5 and 5.4.19 (but not on 5.0.8). For what it is worth, the --force flag is still in the documentation online and also appears if you run vite help build... so seems like it ought to work. But I didn't see a bug filed, so was wondering if it was eliminated/renamed and the doc just didn't catch up yet....
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When I run
vite build --force
it generates the following error:This occurs on both versions
6.3.5
and5.4.19
(but not on5.0.8
). For what it is worth, the--force
flag is still in the documentation online and also appears if you runvite help build
... so seems like it ought to work. But I didn't see a bug filed, so was wondering if it was eliminated/renamed and the doc just didn't catch up yet....Beta Was this translation helpful? Give feedback.
All reactions