Skip to content
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

Building Gulp list first time throws error #95

Closed
jacobraccuia opened this issue Mar 14, 2018 · 8 comments
Closed

Building Gulp list first time throws error #95

jacobraccuia opened this issue Mar 14, 2018 · 8 comments

Comments

@jacobraccuia
Copy link

I get this error whenever I build the gulp list for the first time after making changes. It works afterwards.

Gulp: There was an error running gulp, make sure gulp is running correctly in your project.
For more info check the sublime-gulp.log file

I'm running sublime 3 build 3014

@nicosantangelo
Copy link
Owner

Hey!
That's weird, do you have any info on your sublime-gulp.log file? on the root of your project

@DiegoAz
Copy link

DiegoAz commented Apr 27, 2018

Hi @nicosantangelo I got this error too. The content of sublime-gulp.log file is:

Remember that you can report errors and get help in https://github.com/NicoSantangelo/sublime-gulp

04-26-2018 21:51:
(node:1708) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.

After that, if I run Gulp again, it works fine (List the possible tasks)
Windows 7
ST 3143
Gulp local version 3.9.1
Node version 8.9.1

@nicosantangelo
Copy link
Owner

huh, I'll try to get a windows OS setup to see if I can reproduce it. One last question, which gulp version are you guys running?

@jacobraccuia
Copy link
Author

jacobraccuia commented May 4, 2018 via email

@nicosantangelo
Copy link
Owner

oh! interesting. OK I'll try to break it on my mac then, it's way easier than getting a VM working (:

I'm hoping it's related to the gulp/node version and not to a particular gulp task

@jacobraccuia
Copy link
Author

jacobraccuia commented May 9, 2018

I'm sorry this took forever to reply to.

brand new installation of gulp and node
node v10.0
npm 5.6
gulp CLI version 2.0.1

This is definitely the error. I have gulp working and running!

05-09-2018 16:15:
fs.js:132
    throw new ERR_INVALID_CALLBACK();
    ^

TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
    at makeCallback (fs.js:132:11)
    at Object.fs.unlink (fs.js:1002:14)
    at requireGulp (/Users/jacobraccuia/Library/Application Support/Sublime Text 3/Packages/Gulp/write_tasks_to_cache.js:30:12)
    at Object.<anonymous> (/Users/jacobraccuia/Library/Application Support/Sublime Text 3/Packages/Gulp/write_tasks_to_cache.js:83:12)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:719:10)

@nicosantangelo
Copy link
Owner

@DiegoAz @jacobraccuia thanks a lot for your help. I finally got some free time to fix this. I'll make a new release asap

@jacobraccuia
Copy link
Author

Thank you, seems to be working perfectly in the latest release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants