Closed mrmacete closed 6 years ago
That’s really odd… Can you do an npm install
with --verbose
and/or share the npm debug log for the failed build?
I assume you already tried removing all of node_modules
and installing from scratch?
yep tried that, also the snippets pasted above are from a new project from scratch.
Here's the debug log.
also, it seems package.json
is still on 3.0.5 ?
where binding-v3.0.6-node-v59-darwin-x64 (the interesting one) in fact is not a directory.
Can you share the contents? That might give a clue as to why this is happening.
yep tried that, also the snippets pasted above are from a new project from scratch.
I’m surprised, maybe the other folders accidentally got published with my npm publish
too? They really shouldn’t be there… I’ll assume that’s the case and publish 3.0.7 as soon as I can.
also, it seems
package.json
is still on 3.0.5 ?
That’s odd. :/
It might really be good to have the output from npm install --verbose
, the debug log doesn’t include node-pre-gyp’s part…
here's the full output of npm install --verbose
:
verbose_install.out.txt
and the binding-v3.0.6-node-v59-darwin-x64
is:
$ file node_modules/lzma-native/binding-v3.0.6-node-v59-darwin-x64
node_modules/lzma-native/binding-v3.0.6-node-v59-darwin-x64: XZ compressed data
github doesn't allow me to paste it here, but the contents are:
$ 7z l node_modules/lzma-native/binding-v3.0.6-node-v59-darwin-x64
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)
Scanning the drive for archives:
1 file, 6652 bytes (7 KiB)
Listing archive: node_modules/lzma-native/binding-v3.0.6-node-v59-darwin-x64
--
Path = node_modules/lzma-native/binding-v3.0.6-node-v59-darwin-x64
Type = xz
Physical Size = 6652
Method = LZMA2:23 CRC32
Streams = 1
Blocks = 1
Date Time Attr Size Compressed Name
------------------- ----- ------------ ------------ ------------------------
..... 23728 6652 binding-v3.0
------------------- ----- ------------ ------------ ------------------------
23728 6652 1 files
@mrmacete I’ve published lzma-native@3.0.7
with the node-pre-gyp
dependency reverted to the old version, could you try this again?
yep! i confirm 3.0.7 is working! thanks!
Cool, let me know if you run into any more problems! :)
Configuration
OS: macOS 10.13.3 node: v9.9.0 npm: 5.6.0
Steps to reproduce
Then it starts to build from source, but at the end:
The contents of
node_modules/lzma-native
directory at the beginning of installation is like:where
binding-v3.0.6-node-v59-darwin-x64
(the interesting one) in fact is not a directory.Note:
npm install lzma-native@3.0.5
instead works.