FS#50614 - [nodejs] Running apm install in a directory where a package.json is fails with Node.js 6.5.0
Attached to Project:
Community Packages
Opened by Brenton Horne (fusion809) - Wednesday, 31 August 2016, 11:05 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 20 September 2016, 02:18 GMT
Opened by Brenton Horne (fusion809) - Wednesday, 31 August 2016, 11:05 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 20 September 2016, 02:18 GMT
|
Details
Description:
I have noticed that since the update from Node.js 6.4.0 to Node.js 6.5.0 (specifically nodejs-6.5.0-1) running apm install from Atom's source top-level directory (i.e., the Atom source code directory which is where apm install is run by the Atom PKGBUILD). Specifically it freezes on (i.e., it gives this output and doesn't proceed to install individual modules, after >2 hours): Installing modules I have downgraded Node.js to 6.4.0 and tried to run apm install and it ran just fine, so I know that this is related to Node.js 6.5.0. Additional info: * package version(s): Node.js 6.5.0, apm 1.12.6. Steps to reproduce: * Run apm install from a directory with a package.json in it. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Tuesday, 20 September 2016, 02:18 GMT
Reason for closing: Fixed
Additional comments about closing: nodejs 6.6.0-1
Tuesday, 20 September 2016, 02:18 GMT
Reason for closing: Fixed
Additional comments about closing: nodejs 6.6.0-1
(This, like https://bugs.archlinux.org/task/50676, seems to be a duplicate of https://bugs.archlinux.org/task/49936. I have no idea why the former one got marked as a duplicate of this one and not the latter.)
I build nodejs package (6.5.0 branch) with the proposed parch and this solved my issue in visual-studio-code-oss. If you are interested see https://dl.dropboxusercontent.com/u/7969252/nodejs-6.5.0-1.src.tar.gz It is ABS package with the proposed patch.
As for the dmesg output I see some messages such as:
[49626.352806] traps: node[30283] trap invalid opcode ip:e85fd9 sp:7ffdb59b8708 error:0 in node[400000+ed2000]
https://github.com/npm/npm/issues/13782
https://github.com/nodejs/node/issues/8310
https://codereview.chromium.org/2310513002