I was trying to run gulp
inside my project directory. I have gone through so many articles. Also try running most of given commands (as solutions) in cmd. But the same problem occurs.
if (!require.extensions.hasOwnProperty(ext)) {
^
TypeError: require.extensions.hasOwnProperty is not a function
This is how my package.json looks like.
{
"private": true,
"devDependencies": {
"gulp": "^3.9.1",
"laravel-elixir": "^2.3.13"
},
"dependencies": {
"bower": "^1.5.2",
"require-dir": "^1.2.0"
}
}
It would be great if anyone can help me to solve this.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2YoTnh1
via IFTTT
Aucun commentaire:
Enregistrer un commentaire