-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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 dependencies not found #1980
Comments
Can you please provide the test that generates this error? I have no problem with the following commands:
|
Could be related to #1801 maybe? |
As soon as I return home. There I have my PC. But the test was just change the io.js version installed. Gulp command worked on 2.1.0 but not in 2.2.0 and following (without doing any further modifications in gulp installation). I will try to check it deeply at home. |
I will check it ChALkeR, thanks to both of you. |
It seems to be, because there is a similar error with Require error with [email protected] #43 and also with Undeclared dependency on "clone" causes npm install to fail #1871... I will try to double check this changes at home. |
I will try to debug this later today. |
Using Windows 8.1 (because it works on Mac), just install iojs-v2.1.0-x64 and then Gulp. If you use |
Ah, this is Windows-specific. Sorry, can't test this, I do not have a Windows machine. |
Is the first step (installing gulp with io.js v2.1.0) needed, or you could install gulp with v2.3.0 and it's still broken? |
I have tried both combinations. It seems that in |
Is that reproducible with just the |
You mean downloading them separately and replacing the ones that |
Since it's windows specific I suspect that it has something to do with paths being too long |
Could be since there is no problem with Mac, but it's weird because it should not work with v2.1.0 either. The module is the same for both versions. |
nodejs#1801 introduced internal fs methods to speed up require. The methods do not call path._makeLong like their counterpart from the fs module. This brings back the old behaviour. Fixes: nodejs#1990 Fixes: nodejs#1980 Fixes: nodejs#1849
#1801 introduced internal fs methods to speed up require. The methods do not call path._makeLong like their counterpart from the fs module. This brings back the old behaviour. Fixes: #1990 Fixes: #1980 Fixes: #1849 PR-URL: https://github.com/nodejs/io.js/pull/1991/files Reviewed-By: Bert Belder <[email protected]>
Fixed by 671e64a |
Thanks a lot @silverwind and you guys. |
For all its worth - i had similar and fixed with updating gulp: npm update gulp -g |
I have this issue also open (well, now closed but not fixed) in Gulp's GitHub repo. The problem is that Gulp has stopped working in recent IO versions (I am using Windows 8.1 and Gulp 3.9.0, and I have just updated to io.js 2.3.0). The error message is:
Cannot find module 'clone'
And the full log is:
I have completely removed all my global modules and even used
npm cache clean
. I have reinstalled the modules with my user and as administrator. I have done it globally and in my project directory and nothing happens. The error is still there.I have installed gulp with an older version of io.js (to avoid npm problems) and then, I have try to run gulp with the following versions of io.js (without reinstalling gulp) and the result has been the following:
Right now I am using iojs-v2.1.0-x64 and it works just fine.
Could you please help me?
Thanks
The text was updated successfully, but these errors were encountered: