Closed kekkodance closed 10 months ago
had to run npm update too, now getting this error:
> amazonmonitor@3.0.0 start
> node --loader ts-node/esm index.ts
(node:339574) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
##########################################################################
_____ __ __ __ .__
/ _ \ _____ _____ ____________ ____ / \ / \_____ _/ |_ ____ | |__ ___________
/ /_\ \ / \\__ \ \___ / _ \ / \ \ \/\/ /\__ \\ __\/ ___\| | \_/ __ \_ __ \
/ | \ Y Y \/ __ \_/ ( <_> ) | \ \ / / __ \| | \ \___| Y \ ___/| | \/
\____|__ /__|_| (____ /_____ \____/|___| / \__/\ / (____ /__| \___ >___| /\___ >__|
\/ \/ \/ \/ \/ \/ \/ \/ \/ \/
by SpikeHD (https://discord.gg/agQ9mRdHMZ)
##########################################################################
[MESSAGE] Loaded command details
[MESSAGE] Loaded command help
[MESSAGE] Loaded command search
[MESSAGE] Loaded command unwatch
[MESSAGE] Loaded command watch
[MESSAGE] Loaded command watchlist
[MESSAGE] Bot is ready!
file:///home/ubuntu/AmazonMonitor/node_modules/@puppeteer/browsers/src/launch.ts:399
new Error(
^
Error: Failed to launch the browser process!
/home/ubuntu/.cache/puppeteer/chrome/linux-115.0.5790.98/chrome-linux64/chrome: 15: Syntax error: word unexpected (expecting ")")
TROUBLESHOOTING: https://pptr.dev/troubleshooting
at Interface.onClose (file:///home/ubuntu/AmazonMonitor/node_modules/@puppeteer/browsers/src/launch.ts:399:11)
at Interface.emit (node:events:526:35)
at Interface.emit (node:domain:489:12)
at Interface.close (node:internal/readline/interface:533:10)
at Socket.onend (node:internal/readline/interface:259:10)
at Socket.emit (node:events:526:35)
at Socket.emit (node:domain:489:12)
at endReadableNT (node:internal/streams/readable:1359:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
That looks like a bug with puppeteer, try deleting the entire node_modules folder and rerunning npm install
i did that, still broken..
@kekkodance what was your fix? I tried deleting the node_modules and re ran npm install. Still getting this issue.
Paste the contents of your
config.json
, excluding the token, here:Provide console output with debug mode enabled: