I tried to run
in my source directory.
This command loaded all files and started to use my gulpfile.js
As result I have the following error:
TypeError: Cannot read property 'apply' of undefined
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
at Function.Module.runMain (module.js:443:11)
at startup (node.js:139:18)
First line of gulpfile.js
const gulp = require('gulp');
It is my first experience with node.js and gulp too. I have got needing to start existing application from sources, and for me this error message looks like error in framework found by framework. I feel that I did something wrong, but do not know what? How can I fix this problem?