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

illegal operation on a directory #3

Closed
bolasblack opened this issue May 7, 2013 · 1 comment
Closed

illegal operation on a directory #3

bolasblack opened this issue May 7, 2013 · 1 comment

Comments

@bolasblack
Copy link

$ node_modules/.bin/mapcat _sourceMap/js/app/*.map -m public/js/app.map -j public/js/app.js


fs.js:381
  var r = binding.read(fd, buffer, offset, length, position);
                  ^
Error: EISDIR, illegal operation on a directory
    at Object.fs.readSync (fs.js:381:19)
    at fs.readFileSync (fs.js:208:28)
    at exports.cat (/Users/Yuntao/workSpace/frontend/NTCloud/node_modules/mapcat/lib/index.js:20:11)
    at Object.<anonymous> (/Users/Yuntao/workSpace/frontend/NTCloud/node_modules/mapcat/bin/mapcat:30:1)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)
    at process.startup.processNextTick.process._tickCallback (node.js:245:9)

Any thing i did wrong?

@edc
Copy link
Owner

edc commented May 7, 2013

It looks like one or more of the input map files are malformed. I could take a look at it if you send them to me. Or, add console.log(map.file) to the end of line 19 of /Users/Yuntao/workSpace/frontend/NTCloud/node_modules/mapcat/lib/index.js.

@edc edc closed this as completed Aug 26, 2014
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

No branches or pull requests

2 participants