Install failing "./scripts/pattern_lab.sh && ./scripts/twig_functions.sh '.' is not recognized as an internal or external command, operable program or batch file."

Created on 9 December 2019, about 5 years ago
Updated 28 June 2024, 6 months ago

I'm trying to install/set up a custom theme with emulsify on a windows machine. When I run npm install, I get an error saying that the install failed. I am wondering if this could simply be a compatibility issue with windows?

I've installed with composer and everything seems to have been working up until this point.

here is the error:

 emulsify@1.0.0 postinstall C:\Users\devel\Documents\site\drupal_site\drupal\web\themes\custom\custom_theme
> ./scripts/pattern_lab.sh && ./scripts/twig_functions.sh

'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! emulsify@1.0.0 postinstall: `./scripts/pattern_lab.sh && ./scripts/twig_functions.sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the emulsify@1.0.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

any info would be much appreciated.

🐛 Bug report
Status

Closed: won't fix

Version

3.1

Component

Miscellaneous

Created by

🇨🇭Switzerland chrisss

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India u_tiwari

    Anyone any idea on how to fix it?

  • Status changed to Closed: won't fix 6 months ago
  • 🇺🇸United States callinmullaney

    The 8.x-3.x version of Emulsify (patternLab) has been unsupported for a long time and has since been moved to Storybook. Due to the age of the issue and the recent upgrade to 5.x for this namespace I'll be closing this issue.

Production build 0.71.5 2024