После обновления node при установке зависимостей в проекте который раньше запускался без проблем возникает ошибка. Как можно пофиксить может кто сталкивался?
Код ошибки не весь так как лимит символов...
⟩ yarn install --save-dev
yarn install v0.15.1
warning frontend_pack@1.0.0: No license field
warning frontend_pack@1.0.0: Dependency "path" listed in "devDependencies" is the name of a built-in module
[1/4] Resolving packages...
[2/4] Fetching packages...
warning lodash@1.0.2: The engine "rhino" appears to be invalid.
[3/4] Linking dependencies...
warning Unmet peer dependency "jquery@>=1.9.0".
[4/4] Building fresh packages...
[1/1] ⠐ node-sass: not ok
[-/1] ⠐ waiting...
[-/1] ⠐ waiting...
[-/1] ⠐ waiting...
error /Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/node-sass: Command failed.
Exit code: 1
Command: sh
Arguments: -c node scripts/build.js
Directory: /Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/node-sass
Output:
Building: /usr/local/Cellar/node/10.2.1/bin/node /Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/local/Cellar/node/10.2.1/bin/node',
gyp verb cli '/Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using node-gyp@3.6.2
gyp info using node@10.2.1 | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (/Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/which/which.js:80:29)
gyp verb `which` failed at /Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/which/which.js:89:16
gyp verb `which` failed at /Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:182:21)
gyp verb `which` failed python2 { Error: not found: python2
gyp verb `which` failed at getNotFoundError (/Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/which/which.js:80:29)
gyp verb `which` failed at /Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/which/which.js:89:16
gyp verb `which` failed at /Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /Users/Maxim/Projects/diod-market/Company/Bundle/CompanyBundle/Resources/static/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:182:21)
gyp verb `which` failed stack:
gyp verb `which` failed 'Error: not found: python2\n at getNotFoundError (/Users/Maxim/Projects/diod-