Error: ENOENT: no such file or directory, open './pattern-lab/config/config.yml'
at Object.openSync (fs.js:443:3)
at Object.readFileSync (fs.js:348:35)
at module.exports (/app/web/themes/custom/subtheme/node_modules/emulsify-gulp/gulp-tasks/gulp-pattern-lab.js:13:10)
at module.exports (/app/web/themes/custom/subtheme/node_modules/emulsify-gulp/index.js:94:46)
at Object. (/app/web/themes/custom/subtheme/gulpfile.js:18:25)
at Module._compile (internal/modules/cjs/loader.js:707:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
at Module.load (internal/modules/cjs/loader.js:605:32)
at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
at Function.Module._load (internal/modules/cjs/loader.js:536:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! emulsify@1.0.0 start: gulp compile && gulp theme
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the emulsify@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-01-16T10_13_05_510Z-debug.log
emulsify version: 3.1
node version: any version less than 12. using 11.00 at this moment
npm (or yarn) version: 6.4.1
What you did: Ran the npm start script
What happened: Hangs a few seconds then outputs this:
fs.js:122 throw err; ^
Error: ENOENT: no such file or directory, open './pattern-lab/config/config.yml' at Object.openSync (fs.js:443:3) at Object.readFileSync (fs.js:348:35) at module.exports (/app/web/themes/custom/subtheme/node_modules/emulsify-gulp/gulp-tasks/gulp-pattern-lab.js:13:10) at module.exports (/app/web/themes/custom/subtheme/node_modules/emulsify-gulp/index.js:94:46) at Object. (/app/web/themes/custom/subtheme/gulpfile.js:18:25)
at Module._compile (internal/modules/cjs/loader.js:707:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
at Module.load (internal/modules/cjs/loader.js:605:32)
at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
at Function.Module._load (internal/modules/cjs/loader.js:536:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! emulsify@1.0.0 start:
gulp compile && gulp theme
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the emulsify@1.0.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-01-16T10_13_05_510Z-debug.log