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

Cannot find module './old/module' #13

Closed
campa opened this issue May 17, 2016 · 4 comments · Fixed by #22
Closed

Cannot find module './old/module' #13

campa opened this issue May 17, 2016 · 4 comments · Fixed by #22

Comments

@campa
Copy link

campa commented May 17, 2016

Hi guys,

I'm trying to use datauri, but I'm not able to import it.
Inserting
var datauri = require('datauri');

in my files, the import produces the error

Cannot find module './old/module'

Mu context:

  • Node version: v5.10.1
  • Ubuntu Linux
  • "datauri": "^1.0.4", via npm
  • npm version: 3.8.3

Any suggestions ?
Thanks in advance

@heldr heldr added bug and removed bug labels May 25, 2016
@heldr
Copy link
Member

heldr commented May 25, 2016

Hi @campa , sorry my delay, just tried on Ubuntu 16.04 with node 5.11.1 and it worked for me.

Could you please ls your node_modules/datauri folder?

@amilajack
Copy link

amilajack commented Jun 12, 2016

I'm getting the same error:

➜  glsl-fast-gaussian-blur git:(master) ✗ ls node_modules/datauri 
api.js       module.js    package.json template
index.js     old          readme.md
➜  glsl-fast-gaussian-blur git:(master) ✗ 

@heldr
Copy link
Member

heldr commented Jun 18, 2016

Weird! BTW this folder will no longer exist on version 2.0 though.

It might be released next week
https://github.com/heldr/datauri/tree/new

@heldr heldr mentioned this issue Dec 11, 2017
@heldr heldr closed this as completed in #22 Apr 17, 2019
@heldr
Copy link
Member

heldr commented Apr 17, 2019

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

Successfully merging a pull request may close this issue.

3 participants