omkarcloud / google-maps-scraper

šŸ‘‹ HOLA šŸ‘‹ HOLA šŸ‘‹ HOLA ! ENJOY OUR GOOGLE MAPS SCRAPER šŸš€ TO EFFORTLESSLY EXTRACT DATA SUCH AS NAMES, ADDRESSES, PHONE NUMBERS, REVIEWS, WEBSITES, AND RATINGS FROM GOOGLE MAPS WITH EASE! šŸ¤–
https://www.omkar.cloud/
MIT License
863 stars 211 forks source link

Problem with run.py #152

Closed PautoLO closed 3 months ago

PautoLO commented 3 months ago

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.

frontend@1.0.0 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.`