2

I've came across this problem when I wanted to install a project from a couple of months ago onto my home-computer, i've installed my packages correctly, but when i try to run gulp, i constantly get this error:

Error: Cannot find module 'laravel-elixir/ingredients/commands/Utilities'

I've been debugging for about 5 hours now and i'm close to desperation :p , the solutions they offer online don't even seem appliable, they tell me to change a directory in the index.js of the laravel-elixir module, but the rules that need changing don't even exist in that file :p ,

Any help would mean the world to me!

3
  • 5
    Try this: rm -rf node_modules/, npm install, gulp. Commented Dec 14, 2015 at 22:48
  • @Geoffrey Orpheuz : did you happen to solve the issue ? Commented Feb 23, 2016 at 22:43
  • @Hkan - your suggestion solved my hours of googling. Thanks. Commented Feb 23, 2016 at 23:07

1 Answer 1

1

As @Hkan proposed in the comments section:

Running the following commands will remove and reinstall all modules:

$ rm -rf node_modules/
$ npm install 
$ gulp

Or as a one-liner:

$ rm -rf node_modules/ && npm install && gulp
Sign up to request clarification or add additional context in comments.

1 Comment

can you be more precise, what did not work? In my set up it went through smoothly

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.