Witam, ostatnio rozpocząłem naukę frameworku laravel z tutorialem na yt. Niestety nie mogę kontynuować jej gdyż nie wiedzieć czemu nie mogę dodać node.js'a do projektu. Wyskakuje taki błąd. Ktoś coś?
Imgur: https://imgur.com/oysX5Ko
Output z konsoli:
$ npm install npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 > node-sass@4.9.2 install D:\Windows10\XAMPP\htdocs\laravel\blog\node_modules\node-sass > node scripts/install.js npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! file C:\WINDOWS\system32\cmd.exe;D:\Windows10\XAMPP\php; npm ERR! path C:\WINDOWS\system32\cmd.exe;D:\Windows10\XAMPP\php; npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn C:\WINDOWS\system32\cmd.exe;D:\Windows10\XAMPP\php; npm ERR! node-sass@4.9.2 install: `node scripts/install.js` npm ERR! spawn C:\WINDOWS\system32\cmd.exe;D:\Windows10\XAMPP\php; ENOENT npm ERR! npm ERR! Failed at the node-sass@4.9.2 install 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! C:\Users\User\AppData\Roaming\npm-cache\_logs\2018-07-14T18_46_03_031Z-debug.log
$ npm install npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
> node-sass@4.9.2 install D:\Windows10\XAMPP\htdocs\laravel\blog\node_modules\node-sass > node scripts/install.js
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! file C:\WINDOWS\system32\cmd.exe;D:\Windows10\XAMPP\php; npm ERR! path C:\WINDOWS\system32\cmd.exe;D:\Windows10\XAMPP\php; npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn C:\WINDOWS\system32\cmd.exe;D:\Windows10\XAMPP\php; npm ERR! node-sass@4.9.2 install: `node scripts/install.js` npm ERR! spawn C:\WINDOWS\system32\cmd.exe;D:\Windows10\XAMPP\php; ENOENT npm ERR! npm ERR! Failed at the node-sass@4.9.2 install 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! C:\Users\User\AppData\Roaming\npm-cache\_logs\2018-07-14T18_46_03_031Z-debug.log
Proszę i dziękuję! :P
93,487 zapytań
142,422 odpowiedzi
322,773 komentarzy
62,908 pasjonatów
Motyw:
Pajacyk od wielu lat dożywia dzieci. Pomóż klikając w zielony brzuszek na stronie. Dziękujemy! ♡
Oto polecana książka warta uwagi.Pełną listę książek znajdziesz tutaj