Сбой в файле node-sass@4.9.3 postinstall - PullRequest
2 голосов
/ 25 сентября 2019

Я потратил последние 3 дня, пытаясь выяснить это, но я полностью потерян.

Это приложение отлично работало в Ubuntu, но с тех пор, как я перешел на MacOS, я не могу его запуститьвыполняется.

Это последние биты кода, образующие огромный журнал ошибок.

Достаточно забавно, я МОГУ установить node-sass@4.12.0 с обычного терминала MacOS, но запустить тот же 'npm installКоманда node-sass @ latest "возвращает эту ошибку.

Есть идеи?

815 warn hoist-non-react-statics@3.1.0 requires a peer of react@>=14.x but none is installed. You must install peer dependencies yourself.
816 warn react-addons-css-transition-group@15.6.2 requires a peer of react@^15.4.2 but none is installed. You must install peer dependencies yourself.
817 warn react-redux@5.1.1 requires a peer of redux@^2.0.0 || ^3.0.0 || ^4.0.0-0 but none is installed. You must install peer dependencies yourself.
818 warn react-router@4.3.1 requires a peer of react@>=15 but none is installed. You must install peer dependencies yourself.
819 warn react-router-dom@4.3.1 requires a peer of react@>=15 but none is installed. You must install peer dependencies yourself.
820 warn react-router-hash-link@1.2.1 requires a peer of react@>=15 but none is installed. You must install peer dependencies yourself.
821 warn react-sound@1.2.0 requires a peer of react@^15.3.0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself.
822 warn react-transition-group@1.2.1 requires a peer of react@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
823 warn react-transition-group@1.2.1 requires a peer of react-dom@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
824 warn url-loader@1.1.2 requires a peer of webpack@^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
825 warn w@1.0.0 No description
826 warn optional SKIPPING OPTIONAL DEPENDENCY: speaker@0.3.1 (node_modules/speaker):
827 warn optional SKIPPING OPTIONAL DEPENDENCY: speaker@0.3.1 install: `node-gyp rebuild`
827 warn optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
828 verbose optional SKIPPING OPTIONAL DEPENDENCY:
828 verbose optional Failed at the speaker@0.3.1 install script.
828 verbose optional SKIPPING OPTIONAL DEPENDENCY: This is probably not a problem with npm. There is likely additional logging output above.
829 verbose stack Error: node-sass@4.9.3 postinstall: `node scripts/build.js`
829 verbose stack Exit status 1
829 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
829 verbose stack     at EventEmitter.emit (events.js:209:13)
829 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
829 verbose stack     at ChildProcess.emit (events.js:209:13)
829 verbose stack     at maybeClose (internal/child_process.js:1021:16)
829 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
830 verbose pkgid node-sass@4.9.3
831 verbose cwd /Users/wojciechwojas/Desktop/PROJEKTY/02_Kindergarten_Website
832 verbose Darwin 18.5.0
833 verbose argv "/usr/local/Cellar/node/12.10.0/bin/node" "/usr/local/bin/npm" "install"
834 verbose node v12.10.0
835 verbose npm  v6.11.3
836 error code ELIFECYCLE
837 error errno 1
838 error node-sass@4.9.3 postinstall: `node scripts/build.js`
838 error Exit status 1
839 error Failed at the node-sass@4.9.3 postinstall script.
839 error This is probably not a problem with npm. There is likely additional logging output above.
840 verbose exit [ 1, true ]


...