When I try to deploy next 10 in CentOS 7, which required a npm package deasync
which using C++ 14 feature, but the CentOS 7 gcc not support, so below is how to resolved.
|
You only need to enable devtoolset-7
once when do the yarn install
, after that the node_modules
will having the library so no need enable in every deploy.