I did a fresh install of Bedrock and Sage 10. “yarn build” works without warnings or errors. But when running “yarn dev” the server url throws “Error occurred while trying to proxy: localhost:3000/”. The proxy url does work. Any idea how to fix this? I’m running it on Mac os X.
my bud.config.js:
/**
* @typedef {import('@roots/bud').Bud} bud
*
* @param {bud} app
*/
module.exports = async (app) => {
app
/**
* Application entrypoints
*
* Paths are relative to your resources directory
*/
.entry({
app: ['@scripts/app', '@styles/app'],
editor: ['@scripts/editor', '@styles/editor'],
})
/**
* These files should be processed as part of the build
* even if they are not explicitly imported in application assets.
*/
.assets('images')
/**
* These files will trigger a full page reload
* when modified.
*/
.watch('resources/views/**/*', 'app/**/*')
/**
* Target URL to be proxied by the dev server.
*
* This should be the URL you use to visit your local development server.
*/
.proxy('http://krullend.localhost')
/**
* Development URL to be used in the browser.
*/
.serve('http://localhost:3000');
};