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
Run.py does not work, followed all instructions and nothing still. Here is error log `Error: Could not find a production build in the 'C:\Users\Documents\scraper\frontend.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id at NextNodeServer.getBuildId (C:\Users\Documents\scraper\frontend\node_modules\next\dist\server\next-server.js:169:23) at new Server (C:\Users\Documents\scraper\frontend\node_modules\next\dist\server\base-server.js:58:29) at new NextNodeServer (C:\Users\Documents\scraper\frontend\node_modules\next\dist\server\next-server.js:70:9) at NextServer.createServer (C:\Users\Documents\scraper\frontend\node_modules\next\dist\server\next.js:140:16) at async C:\Users\Documents\scraper\frontend\node_modules\next\dist\server\next.js:149:31
Installing frontend dependencies...
up to date, audited 357 packages in 1s
89 packages are looking for funding
run npm fund for details
6 vulnerabilities (3 moderate, 3 high)
To address all issues (including breaking changes), run:
npm audit fix --force
Run npm audit for details.
[email protected] build
rm -f public/themes/*.min.css && next build --no-lint
'rm' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\run_server.py", line 21, in run_frontend
start_frontend()
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\run_server.py", line 16, in start_frontend
subprocess.check_call("npm run start", shell=True, cwd=frontend_dir)
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'npm run start' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Documents\scraper\run.py", line 5, in
run_server()
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\run_server.py", line 31, in run_server
run_frontend()
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\run_server.py", line 24, in run_frontend
install()
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\run_server.py", line 11, in install
subprocess.check_call("npm install && npm run build", shell=True, cwd=frontend_dir)
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'npm install && npm run build' returned non-zero exit status 1.`
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
-
Run.py does not work, followed all instructions and nothing still. Here is error log `Error: Could not find a production build in the 'C:\Users\Documents\scraper\frontend.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id at NextNodeServer.getBuildId (C:\Users\Documents\scraper\frontend\node_modules\next\dist\server\next-server.js:169:23) at new Server (C:\Users\Documents\scraper\frontend\node_modules\next\dist\server\base-server.js:58:29) at new NextNodeServer (C:\Users\Documents\scraper\frontend\node_modules\next\dist\server\next-server.js:70:9) at NextServer.createServer (C:\Users\Documents\scraper\frontend\node_modules\next\dist\server\next.js:140:16) at async C:\Users\Documents\scraper\frontend\node_modules\next\dist\server\next.js:149:31
Installing frontend dependencies...
up to date, audited 357 packages in 1s
89 packages are looking for funding
run
npm fund
for details6 vulnerabilities (3 moderate, 3 high)
To address all issues (including breaking changes), run:
npm audit fix --force
Run
npm audit
for details.'rm' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\run_server.py", line 21, in run_frontend
start_frontend()
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\run_server.py", line 16, in start_frontend
subprocess.check_call("npm run start", shell=True, cwd=frontend_dir)
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'npm run start' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Documents\scraper\run.py", line 5, in
run_server()
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\run_server.py", line 31, in run_server
run_frontend()
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\run_server.py", line 24, in run_frontend
install()
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\site-packages\botasaurus_server\run_server.py", line 11, in install
subprocess.check_call("npm install && npm run build", shell=True, cwd=frontend_dir)
File "C:\Users\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'npm install && npm run build' returned non-zero exit status 1.`
Beta Was this translation helpful? Give feedback.
All reactions