Giter Club home page Giter Club logo

Comments (5)

taccatisid avatar taccatisid commented on August 10, 2024

@loziniak: Which GCC version are you using? g++ -v tells you.

The error message

/home/maciek/.node-gyp/16.10.0/include/node/v8-internal.h:489:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?

indicates that std::remove_cv_t could not been found. It has been added in C++14. Which became default in GCC 6.1.

from permissioning-smart-contracts.

loziniak avatar loziniak commented on August 10, 2024

Hi, here is my output from g++ -v:

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.1.0 (GCC) 

from permissioning-smart-contracts.

loziniak avatar loziniak commented on August 10, 2024

Upgrading node-sass to 6.0.1 in package.json made yarn install (stage 7) complete, but for yarn run build (stage 8) I get:

[...]

$ sh scripts/wrap_env.sh 'yarn react-scripts build'
$ /mnt/share/prj/x3m/chain/permissioning-smart-contracts/node_modules/.bin/react-scripts build
Creating an optimized production build...
=============

WARNING: You are currently running a version of TypeScript which is not officially supported by typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.2.1 <3.5.0

YOUR TYPESCRIPT VERSION: 3.9.10

Please only submit bug reports when using the officially supported version.

=============
Failed to compile.

./src/components/Footer/styles.module.scss
Error: Node Sass version 6.0.1 is incompatible with ^4.0.0.

from permissioning-smart-contracts.

loziniak avatar loziniak commented on August 10, 2024

Changing "node-sass": "4.14.1" to "sass": "*" and "react-scripts": "3.0.1" to "react-scripts": "3.4.4" allowed me to finally pass yarn run build.

from permissioning-smart-contracts.

taccatisid avatar taccatisid commented on August 10, 2024

I could not reproduce your compilation failure using gcc 11.1. But the version bumps you propose work for me as well. Thanks for investigating the issue.

from permissioning-smart-contracts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.