https://promptfoo.dev/ logo
Problems in development mode. ENOWORKSPACES & Crit...
# ❓|questions
f
Hi there, I'm trying to use the app in development mode, I made the next steps: Clone the repo nvm use 18 npm i npx promptfoo@latest init npm run local:web npx promptfoo view (in another cli) Then I open the local://3000 I configure the promptfoo (copy one that works in localhost:15500) and when i press run evaluation an alert says: "An error occurred: HTTP error! status: 500" The complete log is attached, but some errors was: npm ERR! code ENOWORKSPACES npm ERR! This command does not support workspaces. - error Middleware cannot be used with "output: export". See more info here: https://nextjs.org/docs/advanced-features/static-html-export Critical dependency: the request of a dependency is an expression If anyone can help me I will be grateful. https://cdn.discordapp.com/attachments/1250806069035401316/1250806069152710780/message.txt?ex=666c476d&is=666af5ed&hm=c16617d837fb08a687ff17a096a12bf5c0b73506bdaf0c189849b3be82d9db77&
i
hmm can you check
npm --version
?
f
Yes, 10.8.1 and before with 10.5 too
m
What OS are you running?
f
I'm running it in windows inside the wsl (Ubuntu 22.04.4 LTS)
m
I have seen that "Middleware cannot be used with "output: export"" error before on next14. The project is still on next13. I would be happy to attempt to debug it with you on a call if you are free
f
That would be great
k
hey @federico_40045_74157 any update on this? did you manage to run it. facing the same error
i
cc @michaelmichaelmichael as well
some people in this issue are suggesting that
Copy code
npx next telemetry disable
will solve https://github.com/vercel/turbo/issues/4183
k
didn't worked. However when i put this in my env the app is loading
NEXT_PUBLIC_PROMPTFOO_BUILD_STANDALONE_SERVER= true
i
ok I also had someone who fixed this issue by setting this envar
NEXT_TELEMETRY_DISABLED=1