acquia / lightning-project

A Composer-based installer for the Lightning distribution of Drupal 8. Support ended on November 2, 2021 and this project is no longer maintained.
133 stars 60 forks source link

Installation can fail on Windows #14

Open tony0918 opened 8 years ago

tony0918 commented 8 years ago

Hi Team, When I use command composer create-project acquia/lightning-project:^8.1.0 MYPROJECT --no-interaction to install lightning project, get following issue. Please refer to the screenshot.

Please help

image

balsama commented 8 years ago

Looks like you might have some outdated stuff in your composer cache. Can you try running:

$ composer clear-cache

You also might want to double check your global minimum stability setting if you have one.

tony0918 commented 8 years ago

Thanks for quick reply. I will try again. Maybe there is an network issue.

tony0918 commented 8 years ago

Got a new error. Any idea can help? Thanks. image

tgifford-webfirst commented 8 years ago

It looks like @tony0918 was using Windows. There are two issues I had to fix to get this working on Windows:

$executor->execute('npm run install-libraries', $output, realpath($lightning));

That will fix the error code 267 (The directory name is invalid.).

tony0918 commented 8 years ago

Right. It was on Windows with Git Bash.