Problem with tutorial episode of fundamentals of laravel

hi i am watching https://laracasts.com/series/laravel-5-fundamentals/episodes/19
in very beginning of this episode its tell us we should type npm install in command line, but i received this error:
H:\laragon\www\l5 Mon 04/04/2016 23:38:03.41
λ npm install


npm ERR! Windows_NT 6.3.9600
npm ERR! argv "H:\\laragon\\bin\\nodejs\\node.exe" "H:\\laragon\\bin\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.0.0
npm ERR! npm  v2.14.2

npm ERR! shasum check failed for C:\Users\W6579~1.LAB\AppData\Local\Temp\npm-10072-82c37ca0\registry.npmjs.org\bootstrap-sass\-\bootstrap-sass-3.3.6.tgz
npm ERR! Expected: 363b0d300e868d3e70134c1a742bb17288444fd1
npm ERR! Actual:   3e4b39ce3d8ffc22f948f497cabe5d44feaa1846
npm ERR! From:     https://registry.npmjs.org/bootstrap-sass/-/bootstrap-sass-3.3.6.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     H:\laragon\www\l5\npm-debug.log

and lecturer told if we get this red errors we type sudo npm install
but when i type this to “sudo” is not recognized and tell me:


'sudo' is not recognized as an internal or external command,
operable program or batch file.

its because im on windows,i run CMD as administrator but its tell me ‘npm’ not recognized as internal or external command, operable program or batch file.what should i to do,?

am i missed any thing? Can you help?

Hi labour,

You’re right about sudo, that’s a Linux command and doesn’t apply on Windows.

Judging by the error message, looks like the package npm downloaded is corrupted. Try clearing npm’s cache and running the install again:

npm cache clean
npm install
1 Like

thanks but nothing,now show any thing when i insert this two codes…

Node js directly on windows… you’re a brave soul.

I had issues getting it working on a vm – I can’t imagine the issues on the host os.

1 Like

yes its directly yon windows,i updadet the node version to 4.4.0 but no luck,again same error
in below

You’re probably better of on a vm. I doubt you will ever get that to function properly on a windows host os. Even if you do there will probably be ongoing issues with installing individual packages. Have you considered using the homestead Laravel vm? Better bet than attempting to install everything on a windows host.

1 Like

laravel vm?

what is it,i dont know this… is it some thing like xamp, i think i heard about this

1 Like

This article by @bruno_skvorc might help

http://www.sitepoint.com/quick-tip-get-homestead-vagrant-vm-running/

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.