Cannot load gulp: Error: Error in module: .\gulpfile.js


#1

Hello, I’m new to Ionic and I’m trying to modify a current project downloaded from here:
http://www.nulled-scripts.xyz/city-guide-ionic-full-application-with-firebase-backend/
I have made some modification on project and it works on on command

ionic serve -l

When i try to buld the app with command:

ionic cordova run android --prod --release

I get the following error:
image

My ionic info are :
image

Do you have any idea for the problem I’m facing?
Thank You!


#2

I have teh same problem. Did you find a solution for that?


#3

Try this:
https://gulpjs.com/


#4

Can you be a bit more specific? What solved your problem?


#5

Hello, to be honest I don’t remember what exactly solved my situation but I remember that one of my tries was taking the gulpfile online and adding manually to the project. I also rechecked my plugins, platform etc because i had taken the app template in a website and downloaded but this situation it gives different errors, compatibility, plugins etc so what i did was creating a new project added the source code to the new project, installed the plugins, platforms etc and it all worked.

Hope this helps you in a way or other.


#6

Thanks for your response.

I have a ionci v1 project and after an update of … I don’t know what anymore I’m not able to get it to build anymore. I’ve tried whatever came up to my mind and whatever I’ve found in the web.
Now I’m at my wit’s end.

My next try is probably to move the project to ionic 4 but that will take me months.
So probably I also have to evaluate alternative cross platform development tools…


#7

The same happened to me. I have Ionic v1 project too. I suggest to try what I did. Also can you post your system versions cause maybe can it be some problems on that


#8

This solved my problem.