jsc-android-buildscripts icon indicating copy to clipboard operation
jsc-android-buildscripts copied to clipboard

Getting error on npm run start - redefinition of 'bad_optional_access'

Open patrickfdsouza opened this issue 6 years ago • 1 comments

Issue Description

Getting the below error on npm run start

/Users/patrickdsouza/Documents/Work/myWork/jscUpdate/jsc-android-buildscripts/build/target/toolchains/arm-linux-androideabi/sysroot/usr/include/c++/v1/optional:172:29: error: redefinition of 'bad_optional_access'
class _LIBCPP_EXCEPTION_ABI bad_optional_access
                            ^
DerivedSources/ForwardingHeaders/wtf/Optional.h:281:7: note: previous definition is here
class bad_optional_access : public std::logic_error {
      ^
1 error generated.
ninja: build stopped: subcommand failed.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `./scripts/start.sh`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/patrickdsouza/.npm/_logs/2019-02-07T14_05_29_595Z-debug.log

Version, config, any additional info

package.json contents

{
     "name": "jsc-android",
     "version": "236355.1.1",
.
.
.
     "config": {
         "webkitGTK": "2.22.2",
         "chromiumICUCommit": "b34251f8b762f8e2112a89c587855ca4297fed96"
     }
}

I have followed the tutorial and installed all the Required softwares. Please refer the below screenshots for the Android requirements: image

image

Am I missing anything?

patrickfdsouza avatar Feb 07 '19 14:02 patrickfdsouza

Same issue here, did you find any solution?

canpoyrazoglu avatar Jul 08 '19 18:07 canpoyrazoglu