Error: The engine "ghost" appears to be invalid

I’m trying to build the casper theme from its master file (https://github.com/TryGhost/Casper). For test purposes I did’t change anything and sticked to its readme installation advice.

This what i get trying to build with yarn:
yarn dev

yarn run v1.17.3
warning casper@2.10.6: The engine “ghost” appears to be invalid.
warning casper@2.10.6: The engine “ghost-api” appears to be invalid.
$ gulp
[10:10:03] Using gulpfile ~/Documents/Ghost/content/themes/Casper/gulpfile.js
[10:10:03] Starting ‘default’…
[10:10:03] Starting ‘css’…

Replace Autoprefixer browsers option to Browserslist config.
Use browserslist key in package.json or .browserslistrc file.

Using browsers option cause some error. Browserslist config
can be used for Babel, Autoprefixer, postcss-normalize and other tools.

If you really need to use option, rename it to overrideBrowserslist.

Learn more at:
https://github.com/browserslist/browserslist#readme
https://twitter.com/browserslist

[10:10:05] Finished ‘css’ after 1.89 s
[10:10:05] Starting ‘js’…
[10:10:05] Finished ‘js’ after 203 ms
[10:10:05] Starting ‘serve’…
[10:10:05] Finished ‘serve’ after 6.5 ms
[10:10:05] Starting ‘cssWatcher’…
[10:10:05] Starting ‘hbsWatcher’…


After this nothing is happening anymore. I have the suspicion it could be the $PATH. I’m using the latest MacOS.

Happy about everybody who can help :slight_smile:

warning casper@2.10.6: The engine “ghost” appears to be invalid.
warning casper@2.10.6: The engine “ghost-api” appears to be invalid.

Both of these are irrelevant warnings and should be ignored.

[10:10:05] Starting ‘cssWatcher’…
[10:10:05] Starting ‘hbsWatcher’…

After this nothing is happening anymore. I have the suspicion it could be the $PATH. I’m using the latest MacOS.

That looks correct, it’s started the watch tasks which will rebuild the “built” files any time the source CSS files change and trigger a livereload in case you’re viewing the theme in your browser at the time. What is it that you are expecting to happen at this stage?

Oh, I was waiting for some confirmation that I’m able to run yarn zip.

Always good when it turns out your problem is no problem at all :smile:
Thanks a lot!

1 Like

:100: :smile: