On 03/11/2016 03:33 AM, Tom Hughes wrote: > On 10/03/16 16:20, Stephen Gallagher wrote: >> On 03/10/2016 06:32 AM, Stephen Gallagher wrote: >> >>>> On Mar 10, 2016, at 4:43 AM, Tom Hughes <[email protected]> wrote: >>>> >>>> - The npm doesn't work at all because all the bundled modules are in >>>> the node_modules.bundled directory and node_modules is empty - moving >>>> them fixes it >>> >>> Hmm, that's odd; it's supposed to contain symlinks to the bundled libraries. >>> That's because the old NPM package had unbundled lobs symlinked in there and >>> RPM can't replace a symlink with a directory. I'll look into it this >>> morning. >> >> Aaand I forgot that in my testing I made this an "echo" statement instead of >> real symlinks. Oddly enough, `npm install <foo>` was working for me locally. >> I >> have no idea how... > > So this is still not quite right in the latest version - the node_modules > directory now contains a symlink called "*" that > points at the bundled directory.
OK, fixed. I was missing a %{builddir} in the FILES= line. It happened to work
when building locally because those files were actually in my /usr, but not in
mock.
New build running.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ nodejs mailing list [email protected] http://lists.fedoraproject.org/admin/lists/[email protected]
