brocessing / kirby-webpack

:muscle: A Kirby CMS starter-kit with modern frontend tools
MIT License
179 stars 23 forks source link

php not working #73

Open c-ottersbach opened 2 years ago

c-ottersbach commented 2 years ago

After not using it for a while, the start script throws the following error:

kirby-webpack@1.0.0 start /Volumes/Daten/SITES/karinkirby node scripts/check-preprocessor.js && cross-env NODE_ENV=development node scripts/webpack-serve.js

[1/3] Starting a php server... [PHP] 💥 Error: php is not a php binary. [?] Valid path or command for php:

The path from "which php" didn't work,

thx!

benoitbohnke commented 1 year ago

same ...

benoitbohnke commented 1 year ago

I'm on MacOS ventura and php wasn't installed.. I've installed php from brew. Then I had to change my node.js version to 16 (the latest lts version wasn't working... so weird)

AND... it still not working when running npm run start Now I've got Warning: Unknown: Failed to open stream: No such file or directory in Unknown on line 0 I think it as to do with php...

Any ideas ?