Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gulp Hatası #34

Closed
muhammetfaik opened this issue Oct 4, 2016 · 4 comments
Closed

Gulp Hatası #34

muhammetfaik opened this issue Oct 4, 2016 · 4 comments

Comments

@muhammetfaik
Copy link

screenshot from 2016-10-04 16 29 01

Hocam projesinizde böyle bir hata var baya araştırdım ama çözüm bulamadım gulp-less diye bir projede bir şeylerden bahsediyor ama yardım ederseniz sevinirim

@ozdemirburak
Copy link
Owner

npm install ile bağımlı tüm modülleri yüklediyseniz ve hala bu hatayı alıyorsanız, sanırsam npm ve gulp dahil, her şeyi, baştan yüklemeniz lazım.

@muhammetfaik
Copy link
Author

muhammetfaik commented Oct 5, 2016

npm install
Çıktı:

npm WARN package.json laravel-elixir-vue@0.1.8 No repository field.
npm http GET https://registry.npmjs.org/laravel-elixir-webpack-official
npm http 200 https://registry.npmjs.org/laravel-elixir-webpack-official
npm http GET https://registry.npmjs.org/laravel-elixir-webpack-official/-/laravel-elixir-webpack-official-1.0.6.tgz
npm http 200 https://registry.npmjs.org/laravel-elixir-webpack-official/-/laravel-elixir-webpack-official-1.0.6.tgz
npm ERR! Error: EACCES, mkdir '/home/muhammet/Desktop/devcoinlaravel/laravel-5-simple-cms/node_modules/laravel-elixir-webpack-official'
npm ERR!  { [Error: EACCES, mkdir '/home/muhammet/Desktop/devcoinlaravel/laravel-5-simple-cms/node_modules/laravel-elixir-webpack-official']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/home/muhammet/Desktop/devcoinlaravel/laravel-5-simple-cms/node_modules/laravel-elixir-webpack-official',
npm ERR!   fstream_type: 'Directory',
npm ERR!   fstream_path: '/home/muhammet/Desktop/devcoinlaravel/laravel-5-simple-cms/node_modules/laravel-elixir-webpack-official',
npm ERR!   fstream_class: 'DirWriter',
npm ERR!   fstream_stack: 
npm ERR!    [ '/usr/lib/nodejs/fstream/lib/dir-writer.js:36:23',
npm ERR!      '/usr/lib/nodejs/mkdirp/index.js:37:53',
npm ERR!      'Object.oncomplete (fs.js:107:15)' ] }
npm ERR! 
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 3.13.0-63-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/muhammet/Desktop/devcoinlaravel/laravel-5-simple-cms
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/muhammet/Desktop/devcoinlaravel/laravel-5-simple-cms/node_modules/laravel-elixir-webpack-official
npm ERR! fstream_path /home/muhammet/Desktop/devcoinlaravel/laravel-5-simple-cms/node_modules/laravel-elixir-webpack-official
npm ERR! fstream_type Directory
npm ERR! fstream_class DirWriter
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/home/muhammet/Desktop/devcoinlaravel/laravel-5-simple-cms/node_modules/laravel-elixir-webpack-official'
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/dir-writer.js:36:23
npm ERR! fstream_stack /usr/lib/nodejs/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/muhammet/Desktop/devcoinlaravel/laravel-5-simple-cms/npm-debug.log
npm ERR! not ok code 0

sudo npm install
Çıktı:

npm WARN package.json laravel-elixir-vue@0.1.8 No repository field.
npm http GET https://registry.npmjs.org/laravel-elixir-webpack-official
npm http 304 https://registry.npmjs.org/laravel-elixir-webpack-official
npm http GET https://registry.npmjs.org/buble
npm http GET https://registry.npmjs.org/buble-loader
npm http GET https://registry.npmjs.org/webpack
npm http GET https://registry.npmjs.org/webpack-stream
npm http 200 https://registry.npmjs.org/buble-loader
npm http GET https://registry.npmjs.org/buble-loader/-/buble-loader-0.2.2.tgz
npm http 200 https://registry.npmjs.org/webpack-stream
npm http GET https://registry.npmjs.org/webpack-stream/-/webpack-stream-3.2.0.tgz
npm http 200 https://registry.npmjs.org/buble
npm http GET https://registry.npmjs.org/buble/-/buble-0.12.5.tgz
npm http 200 https://registry.npmjs.org/buble-loader/-/buble-loader-0.2.2.tgz
npm http 200 https://registry.npmjs.org/webpack-stream/-/webpack-stream-3.2.0.tgz
npm http 200 https://registry.npmjs.org/buble/-/buble-0.12.5.tgz
npm http 200 https://registry.npmjs.org/webpack
npm ERR! Error: No compatible version found: webpack@'>=2.1.0-beta.15 <=2.1.0--beta.22'
npm ERR! Valid install targets:
npm ERR! ["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.6","0.2.7","0.2.8","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.6","0.3.7","0.3.8","0.3.9","0.3.10","0.3.11","0.3.12","0.3.13","0.3.14","0.3.15","0.3.16","0.3.17","0.3.18","0.3.19","0.3.20","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","0.4.8","0.4.9","0.4.10","0.4.11","0.4.12","0.4.13","0.4.14","0.4.15","0.4.16","0.4.17","0.4.18","0.4.19","0.4.20","0.4.21","0.4.23","0.4.24","0.4.25","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.7","0.5.8","0.5.10","0.6.0","0.6.1","0.6.2","0.7.0-beta","0.7.0-beta2","0.7.0-beta3","0.7.0-beta4","0.7.0-beta5","0.7.0-beta6","0.7.0-beta7","0.7.0-beta8","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.7.6","0.7.7","0.7.8","0.7.9","0.7.11","0.7.12","0.7.13","0.7.14","0.7.15","0.7.16","0.7.17","0.8.0-beta1","0.8.0-beta2","0.8.0-beta3","0.8.0-beta4","0.8.0","0.8.2","0.8.3","0.9.0-beta1","0.9.0-beta2","0.9.0-beta4","0.9.0-beta5","0.9.0-beta6","0.9.0-beta7","0.9.0-beta8","0.9.0-beta9","0.9.0-beta10","0.9.0-beta11","0.9.0-beta12","0.9.0-beta13","0.9.0-beta14","0.9.0-beta15","0.9.0-beta16","0.9.0-beta17","0.9.0-beta18","0.9.0-beta19","0.9.0-beta20","0.9.0-beta21","0.9.0-beta22","0.9.0-beta23","0.9.0-beta24","0.9.0-beta25","0.9.0-beta26","0.9.0-beta27","0.9.0-beta28","0.9.0-beta29","0.9.0-beta30","0.9.0-beta31","0.9.0-beta32","0.9.0-beta33","0.9.0-beta34","0.9.0-beta35","0.9.0-beta36","0.9.0-beta37","0.9.0-beta38","0.9.0","0.9.1","0.9.2","0.9.3","0.10.0-beta2","0.10.0-beta3","0.10.0-beta5","0.10.0-beta6","0.10.0-beta7","0.10.0-beta8","0.10.0-beta9","0.10.0-beta10","0.10.0-beta11","0.10.0-beta12","0.10.0-beta13","0.10.0-beta14","0.10.0-beta15","0.10.0-beta16","0.10.0-beta17","0.10.0-beta18","0.10.0-beta19","0.10.0-beta20","0.10.0-beta21","0.10.0-beta22","0.10.0-beta23","0.10.0-beta24","0.10.0-beta25","0.10.0","0.11.0-beta1","0.11.0-beta2","0.11.0-beta3","0.11.0-beta4","0.11.0-beta5","0.11.0-beta6","0.11.0-beta7","0.11.0-beta8","0.11.0-beta9","0.11.0-beta10","0.11.0-beta11","0.11.0-beta12","0.11.0-beta13","0.11.0-beta14","0.11.0-beta15","0.11.0-beta16","0.11.0-beta17","0.11.0-beta18","0.11.0-beta19","0.11.0-beta20","0.11.0-beta21","0.11.0-beta22","0.11.0-beta23","0.11.0-beta24","0.11.0-beta25","0.11.0-beta26","0.11.0-beta27","0.11.0-beta28","0.11.0-beta29","0.11.0","0.11.1","0.11.2","0.11.3","0.11.4","0.11.5","0.11.6","0.11.7","0.11.8","0.11.9","0.11.10","0.11.11","0.11.12","0.11.13","0.11.14","0.11.15","1.0.0-beta1","1.0.0-beta2","1.0.0-beta3","1.0.0-beta4","0.11.16","0.11.17","0.11.18","1.0.0-beta5","1.0.0-beta6","1.0.0-beta7","1.0.0-beta8","1.0.0-beta9","1.0.0-rc1","1.0.0-rc2","1.0.0-rc3","1.0.0-rc4","1.0.0-rc5","1.0.0-rc7","1.0.0-rc8","1.0.0-rc9","1.0.0-rc11","1.0.0-rc12","1.0.0","1.0.1","1.0.3","1.0.4","1.0.5","1.1.0-beta1","1.1.0-beta2","1.1.0-beta3","1.1.0-beta4","1.1.0-beta5","1.1.0-beta6","1.1.0-beta7","1.1.0-beta8","1.1.0-beta9","1.1.0-beta10","1.1.0-beta12","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.1.7","1.1.8","1.1.9","1.1.10","1.1.11","1.2.0-beta1","1.2.0-beta2","1.2.0-beta4","1.2.0-beta5","1.2.0-beta6","1.3.0-beta1","1.3.0-beta2","1.3.0-beta3","1.3.0-beta4","1.3.0-beta5","1.3.0-beta6","1.3.0-beta7","1.3.0-beta8","1.3.0-beta9","1.3.1-beta1","1.3.1-beta2","1.3.1-beta3","1.3.1-beta4","1.3.1-beta5","1.3.1-beta6","1.3.1-beta7","1.3.1-beta8","1.3.1-beta9","1.3.2-beta1","1.3.2-beta2","1.3.2-beta3","1.3.2-beta4","1.3.2-beta5","1.3.2-beta6","1.3.2-beta7","1.3.2-beta8","1.3.2-beta9","1.3.3-beta1","1.3.3-beta2","1.3.4","1.3.5","1.3.6","1.3.7","1.4.0-beta1","1.4.0-beta2","1.4.0-beta3","1.4.0-beta4","1.4.0-beta5","1.4.0-beta6","1.4.0-beta7","1.4.0-beta8","1.4.0-beta9","1.4.0-beta10","1.4.1-beta1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9","1.4.10","1.4.11","1.4.12","1.4.13","1.4.14","1.4.15","1.5.0","1.5.1","1.5.2","1.5.3","1.6.0","1.7.0","1.7.1","1.7.2","1.7.3","1.8.0","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8","1.8.9","1.8.10","1.8.11","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4","1.9.5","1.9.6","1.9.7","1.9.8","1.9.9","1.9.10","1.9.11","1.9.12","1.9.13","1.10.0","1.10.1","1.10.2","1.10.3","1.10.4","1.10.5","1.11.0","1.12.0","1.12.1","1.12.2","2.0.0-beta","1.12.3","1.12.4","1.12.5","1.12.6","1.12.7","1.12.8","1.12.9","2.0.1-beta","2.0.2-beta","1.12.10","1.12.11","2.0.4-beta","1.12.12","2.0.5-beta","2.0.6-beta","2.0.7-beta","1.12.13","2.1.0-beta.0","2.1.0-beta.1","2.1.0-beta.2","1.12.14","2.1.0-beta.3","2.1.0-beta.4","2.1.0-beta.5","1.12.15","1.13.0","2.1.0-beta.6","2.1.0-beta.7","1.13.1","2.1.0-beta.8","2.1.0-beta.9","2.1.0-beta.10","2.1.0-beta.11","2.1.0-beta.12","2.1.0-beta.13","2.1.0-beta.14","2.1.0-beta.15","2.1.0-beta.16","2.1.0-beta.17","2.1.0-beta.18","2.1.0-beta.19","2.1.0-beta.20","2.1.0-beta.21","1.13.2","2.1.0-beta.22","2.1.0-beta.23","2.1.0-beta.24","2.1.0-beta.25"]
npm ERR!     at installTargetsError (/usr/share/npm/lib/cache.js:719:10)
npm ERR!     at next (/usr/share/npm/lib/cache.js:698:17)
npm ERR!     at /usr/share/npm/lib/cache.js:675:5
npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR!     at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR!     at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 3.13.0-63-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/muhammet/Desktop/devcoinlaravel/laravel-5-simple-cms
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/muhammet/Desktop/devcoinlaravel/laravel-5-simple-cms/npm-debug.log
npm ERR! not ok code 0

@ozdemirburak
Copy link
Owner

NPM'i nasıl yüklediniz acaba? Çünkü buradaki hatalar, örneğin Error: EACCES, mkdir yani klasör oluşturmasına izin vermiyor, izin konusunda hataların olduğunu gösteriyor.

Alttaki komutları deneyip sonrasında tekrar npm install deneyebilir misiniz?

sudo rm -rf /home/muhammet/Desktop/devcoinlaravel/laravel-5-simple-cms/node_modules/
sudo chown -R $USER:$GROUP ~/.npm
npm install

Eğer hala hata devam ederse, npm'i tekrar yüklemenizi öneririm.

sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node opt/local/include/node /opt/local/lib/node_modules

Devamında da alttaki linkteki yöntemlerden birisiyle tekrar node ve npm yüklemenizi öneririm.

https://gist.github.com/isaacs/579814

@ozdemirburak
Copy link
Owner

Kapatıyorum bunu şimdilik, hala problem yaşıyorsanız veya tekrar problem yaşarsanız, tekrar açmaktan çekinmeyin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants