New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gulp serve
throws errors with new gulpfile
#713
Comments
Can you check if you have the latest version of gulp? And if Babel installed properly? |
gulp -v
Babel does not installed, there are nothing about installing third-party libraries except that which contains package.json |
This basically means gulp is trying to parse the gulpfile without Babel. The output of @addyosmani Yes, everything's alright. |
@paddy2k babel is in our package.json :)
You need to update to the latest version using |
sorry, did not notice it =) |
it's ok now, thank you |
@xskif Glad it's resolved :) |
Hello. Doing gulp -v returns
Things i know:
Can anyone help me? |
Can you try updating your node version to 0.12.x? I'm not entirely sure if babel even supports 0.10. |
Will do. |
Ok, This started happening when using wsk with babel. |
just as a precaution i did
Also with no luck |
Here is the error log. Hope it could help.
|
looks like babel do not installed.
|
no. My output is the following
|
I know Babel is in the package.json so there should not be any problem. Babel shows at node_modules/babel |
Just to make sure babel is installed globally i did
but I am in the same situation as before |
check if you indeed have babel installed:
If you have it installed, delete the node_modules folder, and rerun your install:
|
I do have it :)
Now i am deleting the folder and re installing. |
Ok. Finally it worked!!! Thanks a lot to all of you for your support!! These where the final messages i got.
|
You're welcome ) |
Same issue here and Environment info
Error info:
|
I found issue, if "gulpfile.babel.js" is not in .babelrc#only, babel does nothing without any message.
Empty.. |
@ceram1 A better fix would be #727. |
I already did it, and actually, I'm not using web-starter-kit. |
hi, i have the same issue in
i have tried all the suggested fixes but still not working,
|
I was having the same issue with the download version of web-starter-kit. I cloned the git repo instead and that one works just like it is supposed to. Just run |
I had similar errors until I made a
I was getting:
|
@njt1982 "devDependencies": {
"babel-cli": "*",
"babel-core": "*",
"babel-preset-es2015": "*"
},
"babel": {
"presets": [
"es2015"
]
}
|
I didn't know you could put the presets in the package conf like that... Is that functionally any different to using the rc file? I already have the dev dependencies, although I dont have the cli one:
(this was copies from an existing project which was known to be working). I'm not a massive fan of using * as the version number as I've been bitted before by stuff randomly upgrading to a new major releasing and trashing my environment, I like relatively strictly pinned tags so any major (or even minor) upgrade is a controlled process by me at a time I chose ;) |
It's not mandatory. P.S. The current status of this issue is closed. So if you have questions you should post them at Stackoverflow. |
My post wasn't a question, it was in case anyone stumbled upon here from Google. |
Thanks for the clarification though |
👍 |
:D It work for me!!!
Tanks @xskif You save my sunday night :p |
I had a similar problem while trying to run I set up nodjs on my chromebox running Version 50.0.2661.103 (64-bit) Using the dowload version gives errors such as this:
When I fixed this, using a clone of the github repository It gives errors such as this:
The solution is from the user: Yeoman on stackoverflow in the same thread. I fixed this by downgrading to gulp version 3.9.0. The downgrade proceeds like this:
Gulp version 3.9.0 is the version that is specified in the dependencies in package.json from the Web starter kit 0.6.3. I am not so familiar with the syntax in package.json, I am guessing Having fixed that too, everything runs fine. |
Problem still present on fresh install :(
EDIT : sry about large info ^^' |
When pasting large output, PLEASE use the The package versions you require are rarely the problem here. Make sure you're running an up-to-date version of node. |
Juste updated node EDIT : tried with both gulp : last version and 3.9.0, no problem with
problem :( EDIT 2 : |
The text was updated successfully, but these errors were encountered: