Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
n-for-all opened this issue Jul 24, 2018 · 1 comment
Open

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

n-for-all opened this issue Jul 24, 2018 · 1 comment

Comments

@n-for-all
Copy link

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)

@innerdaze
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants