Closed NicoVogel closed 4 years ago
Hi @NicoVogel,
As far as I can see in your logs, the problem seems to be in the string_view
, which was included only in C++17 as I see here. I believe that it might exist a problem in my binding.gyp file where I do not include your environment properly.
I think I need a little more info. Can you post here the contents of your file /home/node/.npm/_logs/2020-02-04T00_38_19_085Z-debug.log
?
Hey @NicoVogel, I think I figured out your problem, the version of your gcc seems to be actually 6
, not gcc-8
, as per:
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
This topic here mentions that c++17 was only given support on gcc-7 onwards. If you did install gcc-8
, then it is possible that your main CXX compiler is still pointing to version 6.
Hope that helps!
I am closing this bug as there was no follow-up. Feel free to reopen it if you still have trouble with that @NicoVogel, thanks!
I try to run
npm i sindjson
and get the following error. In the main project you advice to use thegcc-8
so i tried to install it (gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
is currently installed). The issue here is that I could not figure out how to get the experimental version to work. I am still new to linux...Here some more information about the system
Use the following steps to reproduce the error:
Remote - Containers
Remote-Containers: Add Development Container Configuration Files...
Node 12 and Typescript
USER node
and thenARG HOME=/home/node
Remote-Containers: Open Folder in Container...
npm init
npm i simdjson