node-base64
node-base64 copied to clipboard
problem with the package (npm)
node 0.1.103 (nvm) + npm
it seems npm generates an incorrect main.js file for node-base64 (this maybe because this module is compiled), the problem is in the line 5 (/lib/node/.npm/node-base64/0.0.1/main.js)
module.exports = require("./package/build/default/")
it should be: module.exports = require("./package/build/default/base64")
I reported something similar to isaacs once and he thougth it's a problem in this file:
Bug in base64 package.json. It should read "main":"./build/default/base64"
thanks! danielz
I have encountered the same problem. Editing my "index.js" file as danielzzz suggested fixed the issue.