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

Node 0.12 issue with execSync #3

Closed
pete-the-pete opened this issue Oct 16, 2015 · 4 comments · Fixed by #4
Closed

Node 0.12 issue with execSync #3

pete-the-pete opened this issue Oct 16, 2015 · 4 comments · Fixed by #4

Comments

@pete-the-pete
Copy link

Chrome2calltree is suffering from execSync issue. mgutz/execSync#38
The solution is probably to change to sync-exec.

I was able to get around the issue by installing an older version of node using nvm.

chrome2calltree
module.js:338
throw err;
^
Error: Cannot find module './build/Release/shell'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (~/.nvm/versions/v0.12.2/lib/node_modules/chrome2calltree/node_modules/execSync/index.js:30:11)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)

@paulirish
Copy link
Contributor

Aye. I'm also facing this error.

@awstlaur
Copy link
Contributor

For anyone who doesn't care about this tool launching graphical programs for you, I forked and removed the execSync dependency: https://github.com/awstlaur/chrome2calltree

@paulirish
Copy link
Contributor

paulirish commented Jan 13, 2016 via email

@paulirish
Copy link
Contributor

paulirish commented Jan 13, 2016 via email

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