Sage 10 undefined name


composer create-project roots/sage my-theme-name dev-10.0.0-dev

I get

Generating optimized autoload files
> Roots\Acorn\ComposerScripts::postAutoloadDump
Script Roots\Acorn\ComposerScripts::postAutoloadDump handling the post-autoload-dump event terminated with an exception

  Undefined index: name

What does that mean?

I think the issue is with dev-10.0.0-dev replace it with dev-master or @dev and it should work.

Also, I remember someone saying this didn’t get them the latest files and @Log1x recommended cloning the repo instead.

So, you can use:

git clone --depth=1 your-theme-name && rm -rf your-theme-name/.git

This topic was automatically closed after 42 days. New replies are no longer allowed.