No such file or directory in Unknown on line 0

Hi, after giving up on a write permission folder on Windows (see here), I bought a Mac Book Pro and pull from a GitHub repository my first website project to develop it locally.

Yes, I have installed PHP, Xcode and Composer before to run Kirby. So, when I start the project, a fatal error occurred:

**Warning** : Unknown: Failed to open stream: No such file or directory in **Unknown** on line **0**

**Fatal error** : Failed opening required 'kirby/router.php' (include_path='.:/opt/homebrew/Cellar/php/8.1.12/share/php/pear') in **Unknown** on line **0**

So, I am a little disappointed… what happened?

Quite expensive solution :rofl:. Did you need a good excuse to buy a MacBook?

Did you try to start up the built-in server?

I have other reasons :wink:, but, I try to install Kirby plainkit via Composer and it works… So, I start to think of a better way to recover the original code… or start from zero another time.

Good, but that didn’t solve the error?

Anyway, if you still have issue, please describe the exact steps you did so we can reproduce it.

Yes. It solves. So, I will start from zero and copy and paste some code.

1 Like