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

scripts/install.js hangs on OSX 10.10 #57

Open
ilyador opened this issue Jan 18, 2015 · 6 comments
Open

scripts/install.js hangs on OSX 10.10 #57

ilyador opened this issue Jan 18, 2015 · 6 comments

Comments

@ilyador
Copy link

ilyador commented Jan 18, 2015

$ npm install dtrace-provider
|
> dtrace-provider@0.3.1 install /Users/.../server/node_modules/dtrace-provider
> scripts/install.js

And nothing happens for a long time.

@trentm
Copy link
Contributor

trentm commented Jan 19, 2015

What version of node?

Can you try running again with V=1 npm install dtrace-provider to get verbose output?

@indieisaconcept
Copy link

I'm having the same issue. I tried using V=1 npm install dtrace-provider as suggested above however it did not output anything.

Using node 0.10.34

@indieisaconcept
Copy link

Actually I was just able to get the following error.

> dtrace-provider@0.4.0 install /Users/.../app/node_modules/dtrace-provider
> node scripts/install.js


fs.js:555
  return binding.rename(pathModule._makeLong(oldPath),
                 ^
Error: ENOENT, no such file or directory '/Users/.../app/node_modules/node_modules/dtrace-provider/compile.py'
    at Object.fs.renameSync (fs.js:555:18)
    at Object.<anonymous> (/Users/.../app/node_modules/dtrace-provider/scripts/install.js:14:4)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:929:3

@trentm
Copy link
Contributor

trentm commented Feb 4, 2015

@indieisaconcept Is that compile.py file there in your tree? What is the full path there, "/Users/.../app/node_modules/node_modules/dtrace-provider/compile.py"? Are there spaces or non-ascii chars involved there?

Does this work:

$ node
> var fs = require('fs');
> fs.existsSync('/Users/.../app/node_modules/node_modules/dtrace-provider/compile.py')  # using the actual full path

If you try to build your module using dtrace-provider a second time, does it work? (e.g. I've seen races in npm before, tho usually only when pulling directly from git repos).

@TomaszKlosinski
Copy link

I have the same issue in CircleCI job building a docker container:

> dtrace-provider@0.8.5 install /nectar-toolbox/node_modules/dtrace-provider
> node scripts/install.js

@melloc
Copy link
Collaborator

melloc commented Jan 19, 2018

@tklo Which dependency of yours is pulling in dtrace-provider@0.8.5? I released 0.8.6 a week ago which reworked the build scripts, and should hopefully improve the build process.

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

5 participants