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

npm-expat fails compilation on Node 7 #167

Open
ghost opened this issue Oct 18, 2016 · 1 comment
Open

npm-expat fails compilation on Node 7 #167

ghost opened this issue Oct 18, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 18, 2016

Environment:
Node: v7.0.0-nightly20161017e6d1d54230
OS: Ubuntu 14.04 x64
User: root ( I Know, but stuck with this for now)

npm bugs node-expat gives me the following issue
0 info it worked if it ends with ok
1 verbose cli [ '/root/.nvm/versions/node/v7.0.0-nightly20161017e6d1d54230/bin/node',
1 verbose cli '/root/.nvm/versions/node/v7.0.0-nightly20161017e6d1d54230/bin/npm',
1 verbose cli 'bugs',
1 verbose cli 'node-expat' ]
2 info using [email protected]
3 info using [email protected]
4 silly fetchPackageMetaData node-expat
5 silly fetchNamedPackageData node-expat
6 silly mapToRegistry name node-expat
7 silly mapToRegistry using default registry
8 silly mapToRegistry registry https://registry.npmjs.org/
9 silly mapToRegistry data Result {
9 silly mapToRegistry raw: 'node-expat',
9 silly mapToRegistry scope: null,
9 silly mapToRegistry escapedName: 'node-expat',
9 silly mapToRegistry name: 'node-expat',
9 silly mapToRegistry rawSpec: '',
9 silly mapToRegistry spec: 'latest',
9 silly mapToRegistry type: 'tag' }
10 silly mapToRegistry uri https://registry.npmjs.org/node-expat
11 verbose request uri https://registry.npmjs.org/node-expat
12 verbose request no auth needed
13 info attempt registry request try #1 at 12:22:13 AM
14 verbose request id 6c30c242d004fc30
15 verbose etag "7B2MXJDNEB20NO12MOB2QYMO1"
16 http request GET https://registry.npmjs.org/node-expat
17 http 304 https://registry.npmjs.org/node-expat
18 verbose headers { date: 'Tue, 18 Oct 2016 04:22:13 GMT',
18 verbose headers via: '1.1 varnish',
18 verbose headers 'cache-control': 'max-age=300',
18 verbose headers etag: '"7B2MXJDNEB20NO12MOB2QYMO1"',
18 verbose headers age: '0',
18 verbose headers connection: 'keep-alive',
18 verbose headers 'x-served-by': 'cache-sin6922-SIN',
18 verbose headers 'x-cache': 'HIT',
18 verbose headers 'x-cache-hits': '1',
18 verbose headers 'x-timer': 'S1476764533.577506,VS0,VE224',
18 verbose headers vary: 'Accept-Encoding' }
19 silly get cb [ 304,19 silly get { date: 'Tue, 18 Oct 2016 04:22:13 GMT',
19 silly get via: '1.1 varnish',
19 silly get 'cache-control': 'max-age=300',
19 silly get etag: '"7B2MXJDNEB20NO12MOB2QYMO1"',
19 silly get age: '0',
19 silly get connection: 'keep-alive',
19 silly get 'x-served-by': 'cache-sin6922-SIN',
19 silly get 'x-cache': 'HIT',
19 silly get 'x-cache-hits': '1',
19 silly get 'x-timer': 'S1476764533.577506,VS0,VE224',
19 silly get vary: 'Accept-Encoding' } ]
20 verbose etag https://registry.npmjs.org/node-expat from cache
21 verbose get saving node-expat to /root/.npm/registry.npmjs.org/node-expat/.cache.json
22 verbose correctMkdir /root/.npm correctMkdir not in flight; initializing
23 silly bugs url https://github.com/astro/node-expat/issues
24 verbose stack Error: spawn xdg-open ENOENT
24 verbose stack at exports._errnoException (util.js:1026:11)
24 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
24 verbose stack at onErrorNT (internal/child_process.js:359:16)
24 verbose stack at _combinedTickCallback (internal/process/next_tick.js:74:11)
24 verbose stack at process._tickCallback (internal/process/next_tick.js:98:9)
25 verbose cwd /root/apps/es7
26 error Linux 3.13.0-37-generic
27 error argv "/root/.nvm/versions/node/v7.0.0-nightly20161017e6d1d54230/bin/node" "/root/.nvm/versions/node/v7.0.0-nightly20161017e6d1d54230/bin/npm" "bugs" "node-expat"
28 error node v7.0.0-nightly20161017e6d1d54230
29 error npm v3.10.8
30 error path xdg-open
31 error code ENOENT
32 error errno ENOENT
33 error syscall spawn xdg-open
34 error enoent spawn xdg-open ENOENT
35 error enoent spawn xdg-open ENOENT
35 error enoent This is most likely not a problem with npm itself
35 error enoent and is related to npm not being able to find a file.
36 verbose exit [ 1, true ]

@parkerlreed
Copy link

And node 8

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session c8f14fd2297d14f0
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall [email protected]
7 info lifecycle [email protected]~preinstall: [email protected]
8 silly install loadCurrentTree
9 silly install readLocalPackageData
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 silly install loadShrinkwrap
13 silly install loadAllDepsIntoIdealTree
14 http fetch GET 200 https://registry.npmjs.org/xml2json 14ms (from cache)
15 silly pacote range manifest for xml2json@^0.4.0 fetched in 28ms
16 http fetch GET 200 https://registry.npmjs.org/node-expat 2ms (from cache)
17 silly pacote version manifest for [email protected] fetched in 4ms
18 http fetch GET 304 https://registry.npmjs.org/nan 183ms (from cache)
19 silly pacote range manifest for nan@~0.6.0 fetched in 184ms
20 silly pacote range manifest for xml2json@^0.4.0 fetched in 2ms
21 silly resolveWithNewModule [email protected] checking installable status
22 silly pacote version manifest for [email protected] fetched in 1ms
23 silly resolveWithNewModule [email protected] checking installable status
24 silly pacote range manifest for nan@~0.6.0 fetched in 1ms
25 silly resolveWithNewModule [email protected] checking installable status
26 silly currentTree [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├─┬ [email protected]
26 silly currentTree │ ├── [email protected]
26 silly currentTree │ ├── [email protected]
26 silly currentTree │ └── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree ├── [email protected]
26 silly currentTree └── [email protected]
27 silly idealTree [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├─┬ [email protected]
27 silly idealTree │ ├── [email protected]
27 silly idealTree │ ├── [email protected]
27 silly idealTree │ └── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├─┬ [email protected]
27 silly idealTree │ └── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree ├── [email protected]
27 silly idealTree └── [email protected]
28 silly install generateActionsToTake
29 silly diffTrees action count 3
30 silly diffTrees add [email protected]
31 silly diffTrees add [email protected]
32 silly diffTrees add [email protected]
33 silly decomposeActions action count 24
34 silly decomposeActions fetch [email protected]
35 silly decomposeActions extract [email protected]
36 silly decomposeActions preinstall [email protected]
37 silly decomposeActions build [email protected]
38 silly decomposeActions install [email protected]
39 silly decomposeActions postinstall [email protected]
40 silly decomposeActions finalize [email protected]
41 silly decomposeActions refresh-package-json [email protected]
42 silly decomposeActions fetch [email protected]
43 silly decomposeActions extract [email protected]
44 silly decomposeActions preinstall [email protected]
45 silly decomposeActions build [email protected]
46 silly decomposeActions install [email protected]
47 silly decomposeActions postinstall [email protected]
48 silly decomposeActions finalize [email protected]
49 silly decomposeActions refresh-package-json [email protected]
50 silly decomposeActions fetch [email protected]
51 silly decomposeActions extract [email protected]
52 silly decomposeActions preinstall [email protected]
53 silly decomposeActions build [email protected]
54 silly decomposeActions install [email protected]
55 silly decomposeActions postinstall [email protected]
56 silly decomposeActions finalize [email protected]
57 silly decomposeActions refresh-package-json [email protected]
58 silly install executeActions
59 silly doSerial global-install 24
60 verbose correctMkdir /home/parker/.npm/_locks correctMkdir not in flight; initializing
61 verbose lock using /home/parker/.npm/_locks/staging-3cbd895e2dbe2fb7.lock for /home/parker/build/nodecast/node_modules/.staging
62 silly doParallel extract 24
63 silly extract [email protected]
64 silly pacote trying nan@https://registry.npmjs.org/nan/-/nan-0.6.0.tgz by hash: sha1-pU6+WXF7Rnx3QlMCvXwXV0yIeqo=
65 silly extract [email protected]
66 silly pacote trying node-expat@https://registry.npmjs.org/node-expat/-/node-expat-2.1.4.tgz by hash: sha1-5VqCJJtxr7zgn/qIBwXsN1U8USE=
67 silly extract [email protected]
68 silly pacote trying xml2json@https://registry.npmjs.org/xml2json/-/xml2json-0.4.0.tgz by hash: sha1-xeDRPGJw4adVfKowcfL6yLTR2E4=
69 silly pacote nan@https://registry.npmjs.org/nan/-/nan-0.6.0.tgz extracted to /home/parker/build/nodecast/node_modules/.staging/nan-8ba40321 by content address 27ms
70 silly pacote xml2json@https://registry.npmjs.org/xml2json/-/xml2json-0.4.0.tgz extracted to /home/parker/build/nodecast/node_modules/.staging/xml2json-4c35f921 by content address 29ms
71 silly pacote node-expat@https://registry.npmjs.org/node-expat/-/node-expat-2.1.4.tgz extracted to /home/parker/build/nodecast/node_modules/.staging/node-expat-c0166dc1 by content address 80ms
72 silly doReverseSerial unbuild 24
73 silly doSerial remove 24
74 silly doSerial move 24
75 silly doSerial finalize 24
76 silly finalize /home/parker/build/nodecast/node_modules/node-expat/node_modules/nan
77 silly finalize /home/parker/build/nodecast/node_modules/node-expat
78 silly finalize /home/parker/build/nodecast/node_modules/xml2json
79 silly doParallel refresh-package-json 24
80 silly refresh-package-json /home/parker/build/nodecast/node_modules/node-expat/node_modules/nan
81 silly refresh-package-json /home/parker/build/nodecast/node_modules/node-expat
82 silly refresh-package-json /home/parker/build/nodecast/node_modules/xml2json
83 silly doParallel preinstall 24
84 silly preinstall [email protected]
85 info lifecycle [email protected]~preinstall: [email protected]
86 silly preinstall [email protected]
87 info lifecycle [email protected]~preinstall: [email protected]
88 silly preinstall [email protected]
89 info lifecycle [email protected]~preinstall: [email protected]
90 silly doSerial build 24
91 silly build [email protected]
92 info linkStuff [email protected]
93 silly linkStuff [email protected] has /home/parker/build/nodecast/node_modules/node-expat/node_modules as its parent node_modules
94 verbose linkBins [email protected]
95 verbose linkMans [email protected]
96 silly build [email protected]
97 info linkStuff [email protected]
98 silly linkStuff [email protected] has /home/parker/build/nodecast/node_modules as its parent node_modules
99 verbose linkBins [email protected]
100 verbose linkMans [email protected]
101 silly build [email protected]
102 info linkStuff [email protected]
103 silly linkStuff [email protected] has /home/parker/build/nodecast/node_modules as its parent node_modules
104 verbose linkBins [email protected]
105 verbose linkBins [ { xml2json: 'bin/xml2json' },
105 verbose linkBins   '/home/parker/build/nodecast/node_modules/.bin',
105 verbose linkBins   false ]
106 verbose linkMans [email protected]
107 silly doSerial global-link 24
108 silly doParallel update-linked 24
109 silly doSerial install 24
110 silly install [email protected]
111 info lifecycle [email protected]~install: [email protected]
112 silly install [email protected]
113 info lifecycle [email protected]~install: [email protected]
114 verbose lifecycle [email protected]~install: unsafe-perm in lifecycle true
115 verbose lifecycle [email protected]~install: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/parker/build/nodecast/node_modules/node-expat/node_modules/.bin:/home/parker/build/nodecast/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/ros/kinetic/bin:/home/parker/bin
116 verbose lifecycle [email protected]~install: CWD: /home/parker/build/nodecast/node_modules/node-expat
117 silly lifecycle [email protected]~install: Args: [ '-c', 'node-gyp rebuild' ]
118 silly lifecycle [email protected]~install: Returned: code: 1  signal: null
119 info lifecycle [email protected]~install: Failed to exec install script
120 verbose unlock done using /home/parker/.npm/_locks/staging-3cbd895e2dbe2fb7.lock for /home/parker/build/nodecast/node_modules/.staging
121 warn [email protected] requires a peer of eslint@>=3.1.0 but none is installed. You must install peer dependencies yourself.
122 warn [email protected] No license field.
123 verbose stack Error: [email protected] install: `node-gyp rebuild`
123 verbose stack Exit status 1
123 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16)
123 verbose stack     at emitTwo (events.js:125:13)
123 verbose stack     at EventEmitter.emit (events.js:213:7)
123 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
123 verbose stack     at emitTwo (events.js:125:13)
123 verbose stack     at ChildProcess.emit (events.js:213:7)
123 verbose stack     at maybeClose (internal/child_process.js:927:16)
123 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
124 verbose pkgid [email protected]
125 verbose cwd /home/parker/build/nodecast
126 verbose Linux 4.13.0-rc6-g311fc65c9fb9
127 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
128 verbose node v8.6.0
129 verbose npm  v5.4.2
130 error code ELIFECYCLE
131 error errno 1
132 error [email protected] install: `node-gyp rebuild`
132 error Exit status 1
133 error Failed at the [email protected] install script.
133 error This is probably not a problem with npm. There is likely additional logging output above.
134 verbose exit [ 1, true ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant