-
Notifications
You must be signed in to change notification settings - Fork 45
api.node binary file not generated through npm install #102
Comments
@brahmscode can you provide the messages you get when you run npm install, plus the contents of the debug.log file if one was produced - thanks. |
@rnchamberlain This is the stacktrace got in npm-debug.log file.
|
@rnchamberlain This is the stacktrace got while running npm install.
make â ERR Missing Makefile / Bakefile npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): |
@brahmscode Internet search for " |
Uninstalled node-report and reinstalled the same. But while installing got error trace like Missing bakefile/Makefile and inside node-report folder unable to get API.node file |
Failure to find api.node means that did not get as far as building the node-report executable. Might be worth creating a clean new directory, then trying |
Tried in new directory too. Unable to get the binary file. Does it have anything to do with node version. I m running this on v6.11.3. Addign to that, on every install gettign error like > [email protected] install /vzwhome/mahalbr/node_modules/node-report
make â ERR Missing Makefile / Bakefile |
Weird, some other people seem to be hitting that error when installing native modules on Linux: One of those is on v7.10.0, so doesn't look like it's a node version thing |
@brahmscode Are you able to install any other npm that requires compilation (e.g. heapdump)? What does |
@richardlau Yes I am able to install other packages and my make version is 3.81 and it runs on python 2.6.6 |
Could some one pls help in resolving the issue. I got the binary installed in some other environment. But copying the same caused a module version mismatch issue like _dlopen. So having the binary file installed in the same environment is the only option left out. Kindly help. |
A couple of other things to try (no guarantees, I just found these by searching similar issues):
If still no luck, could you run |
@rnchamberlain ,
|
FWIW the stackoverflow question referenced above, which reported a similar |
@rnchamberlain. Tried that approach too. No luck on it too. |
FTR: |
Im getting this error as well none of the fixes mentioned above works. Can someone please help? |
@richardlau can you review/comment |
As @refack points out in #102 (comment) the error message Please remove the conflicting module. Closing out as this isn't an issue with |
Facing issue like
Cannot find module './api' since api.node file is not generated. Kindly help. I tried through npm install only.
The text was updated successfully, but these errors were encountered: