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

Error: Cannot find module 'lodash._basebind' #151

Closed
koistya opened this issue Jun 4, 2015 · 12 comments
Closed

Error: Cannot find module 'lodash._basebind' #151

koistya opened this issue Jun 4, 2015 · 12 comments

Comments

@koistya
Copy link

koistya commented Jun 4, 2015

var cssnext = require('cssnext');          
Error: Cannot find module 'lodash._basebind'
    at Function.Module._resolveFilename (module.js:332:15)
    at Function.Module._load (module.js:282:25)
    at Module.require (module.js:361:17)
    at require (module.js:380:17)
    at Object.<anonymous> (.\node_modules\cssnext\node_modules\caniuse-api\node_modules\lodash.uniq\node_modules\lodash.createcallback\node_modules\lodash._basecreatecallback\node_modules\lodash.bind\node_modules\lodash._createwrapper\index.js:9:16)
    at Module._compile (module.js:426:26)
    at Object.Module._extensions..js (module.js:444:10)
    at Module.load (module.js:351:32)
    at Function.Module._load (module.js:306:12)
    at Module.require (module.js:361:17)
@MoOx
Copy link
Owner

MoOx commented Jun 5, 2015

@Nyalab any idea about this ?
@koistya can you clean npm cache & try again please ? It's weird to get this only now.

@Nyalab
Copy link
Contributor

Nyalab commented Jun 5, 2015

i am looking into it today, thanks for the report @koistya

@MoOx
Copy link
Owner

MoOx commented Jun 5, 2015

@koistya any change with a fresh install ?

@koistya
Copy link
Author

koistya commented Jun 6, 2015 via email

@awayken
Copy link

awayken commented Jun 6, 2015

Not sure if this is related, but I updated to the latest iojs yesterday to 2.2.1 and started to have issues like this. I was technically using the gulp-cssnext module, but I think it was the same error. I downgraded back to iojs 2.0.2 and everything worked fine again.

I'm running on Windows 8.1 using iojs 64-bit but haven't looked around to see if other people had issues when they upgraded.

@MoOx MoOx added the type: bug label Jun 15, 2015
@MoOx
Copy link
Owner

MoOx commented Jun 15, 2015

I will consider it was a temporary issue since nobody came here to report as well. Please let me know if you still have the issue.

@MoOx MoOx closed this as completed Jun 15, 2015
@koistya
Copy link
Author

koistya commented Jun 23, 2015

Having this issue with a fresh install as well.

io.js 2.3.0, npm 2.11.3, postcss 4.1.12, cssnext 1.7.1, OS Win 8.1 x64

@MoOx
Copy link
Owner

MoOx commented Jun 23, 2015

Please clear your local npm cache & reinstall and then let us know what happen :)

@koistya
Copy link
Author

koistya commented Jun 23, 2015

Clearing local npm cache doesn't help

@koistya
Copy link
Author

koistya commented Jun 23, 2015

@MoOx the problem is that when I install cssnext, node_modules/cssnext/node_modules/caniuse-api contains lodash.uniq 2.4.1. If it will be a more recent version, this issue will be resolved.

@MoOx
Copy link
Owner

MoOx commented Jun 23, 2015

caniuse-api 1.3.2 should fix that.

@koistya
Copy link
Author

koistya commented Jun 23, 2015

Yep, it fixed the issue. Thanks!

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

No branches or pull requests

4 participants