Closed phennessey closed 2 years ago
I was able to get this to work by making a few changes before installing streetmerchant:
brew install --no-quarantine chromium
This installs Chromium without a quarantine in later versions of OSX. This was the problem that kept causing everything to fail.
Then we make a new .zshrc file:
sudo nano ~/.zshrc
Then set the file contents to this:
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
export PUPPETEER_EXECUTABLE_PATH=$(which chromium)
Then proceed with the regular streetmerchant installation process.
This works without needing to make any changes to the contents of the dotenv file, or messing around inside the node module folders. Granted, this is a system-wide change since it's relying on .zshrc, but if you're a bit of a noob like me, you are only using npm for streetmerchant and nothing else.
Thank you!
Expected Behavior
streetmerchant has run on an Intel Mac before now.
Current Behavior
streetmerchant fails to launch due to a problem with puppeteer / Chromium. It loads the dotenv file just fine, but it crashes after that.
If anyone has a solution, step-by-step instructions would be greatly appreciated! Would be nice if streetmerchant automatically had a built in workaround for this issue. I tried following instructions on other threads, but nothing I did seemed to work.
What operating system are you seeing the problem on?
macOS
Relevant log output
Configuration
Code of Conduct