question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

installation problem on FreeBSD-11

See original GitHub issue

hey, I use node v7.8.0 and npm 4.4.4. When trying to npm install -g --unsafe-perm surf-build, I run into the following issue:

CC(target) Release/obj.target/libgit2/vendor/libgit2/src/iterator.o
../vendor/libgit2/src/iterator.c:1459:44: error: no member named 'st_ctime_nsec' in 'struct stat'
iter->entry.ctime.nanoseconds = entry->st.st_ctime_nsec;
                                        ~~~~~~~~~ ^
../vendor/libgit2/src/iterator.c:1462:44: error: no member named 'st_mtime_nsec' in 'struct stat'
iter->entry.mtime.nanoseconds = entry->st.st_mtime_nsec;
                                        ~~~~~~~~~ ^
2 errors generated.

This seems to be an issue in nodegit - which I can install via npm install -g --unsafe-perm nodegit (in version 0.18.0) - where you depend on an older version (0.16.0 AFAICT). Is there a way to upgrade to the most recent nodegit? Or any chance #56 will get rebased and merged into master?

I’m not used to npm and node at all (and don’t know how to move forward here, i.e. test a build with adjusted dependencies). Any help is appreciated.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
anaisbettscommented, Apr 13, 2017

1.0.4 is published, you should be all set

0reactions
anaisbettscommented, Apr 13, 2017

@hannesm I can do the upgrade, yeah - thanks for dropping me a line.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved - Maybe I failed in the installation of FreeBSD 11.1.
Hi, Maybe I failed in the installation of FreeBSD 11.1. ... It is written in tutorial of Trihexagonal: "At the Partitioning menu choose...
Read more >
A Quick Installation Of FreeBSD 13.0 - YouTube
FreeBSD just released version 13.0, which is the first release of the stable/13 branch. Since it's a major release and I don't cover...
Read more >
(FreeBSD-EN-21:08.freebsd-update) package installation ...
(FreeBSD-EN-21:08.freebsd-update) package installation problems after upgrading from FreeBSD 12.1-RELEASE #115.
Read more >
FreeBSD 11.1 Installation Guide - Tecmint
This tutorial will guide you on how to install the latest version of FreeBSD on an amd64 machine. Typically this installation covers only ......
Read more >
Sound problem on FreeBSD 11.0 - Google Groups
After an absence of a few years, I decided to participate in FreeBSD again, installing 64-bit 11.0 on a Sabertooth board.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found