angular-laravel4-workflow
angular-laravel4-workflow copied to clipboard
Error: Cannot find module 'chalk'
Hi! I'm trying to use your workflow. On the step in your tutorial, when I try to execute "gulp" in my "angular" dir I get this warning message:
Error: Cannot find module 'chalk'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.
Can't understand what I'm doing wrong.
That is weird, did you npm install on the angular folder?
When I try execute "npm install" on the angular folder I get this: npm WARN unmet dependency c:\web...\angular\node_modules\gulp-testem e_modules\testem\node_modules\express\node_modules\connect\node_modules\cook arser requires cookie@'0.1.2' but will load npm WARN unmet dependency c:\web...\angular\node_modules\gulp-testem e_modules\testem\node_modules\express\node_modules\cookie, npm WARN unmet dependency which is version 0.0.5 npm WARN unmet dependency c:\web...\angular\node_modules\gulp-testem e_modules\testem\node_modules\express\node_modules\connect\node_modules\cook arser requires cookie-signature@'1.0.5' but will load .... It seems to me that I did something wrong during installation.
I know it is not a best practice, but sometimes there can be issues with system permissions. I use Mac, so in Terminal adding sudo will force an action using system administrator powers.
At your own risk, try running sudo npm install --save-dev, this will jump over any permission issue you may have. Replace sudo with Windows runas.
See the runas command docs.
I can only say "Damn windows" and then, I have no damn idea why it is complaining.
Try a "npm cache clean" before trying to install the packages.
i don't know
i want to know how to resolve this problem , is so bad !!!!!!!