Sage 10 undefined name

After

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

                         
  [ErrorException]       
  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 git@github.com:roots/sage.git your-theme-name && rm -rf your-theme-name/.git
4 Likes

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