Skip to content

Can't run project, node version is wrong? #310

Description

@n-for-all

not sure from where deco console is loading the node from, i uninstalled and installed node again, if i run node -v in terminal, it show 10+ version, from where is the 5.7 coming from in deco console, shouldn't it use the current mac terminal?

image

also the compilation fails, react-native run-ios works like a charm, however in deco i get this:

In file included from /Users/macuser/Google Drive/localhost/tester/node_modules/react-native/third-party/folly-2016.10.31.00/folly/json.cpp:17:
In file included from /Users/macuser/Google Drive/localhost/tester/node_modules/react-native/React/../third-party/folly-2016.10.31.00/folly/json.h:46:
In file included from /Users/macuser/Google Drive/localhost/tester/node_modules/react-native/React/../third-party/folly-2016.10.31.00/folly/dynamic.h:574:
In file included from /Users/macuser/Google Drive/localhost/tester/node_modules/react-native/React/../third-party/folly-2016.10.31.00/folly/dynamic-inl.h:24:
In file included from /Users/macuser/Google Drive/localhost/tester/node_modules/react-native/React/../third-party/folly-2016.10.31.00/folly/Format.h:27:
/Users/macuser/Google Drive/localhost/tester/node_modules/react-native/React/../third-party/folly-2016.10.31.00/folly/String.h:624:11: warning: parameter 'len' not found in the function declaration [-Wdocumentation]

  • @PARAM len Length of str, in bytes
    ^~~
    /Users/macuser/Google Drive/localhost/tester/node_modules/react-native/React/../third-party/folly-2016.10.31.00/folly/String.h:624:11: note: did you mean 'length'?
  • @PARAM len Length of str, in bytes
    ^~~
    length

** BUILD FAILED **

The following build commands failed:
CompileC /Users/macuser/Google\ Drive/localhost/tester/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/third-party.build/Objects-normal/x86_64/Conv.o /Users/macuser/Google\ Drive/localhost/tester/node_modules/react-native/third-party/folly-2016.10.31.00/folly/Conv.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions