decosoftware / decosoftware/deco-ide

Can't run project, node version is wrong?

Open
#310 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.8k
Forks
300
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/171367/43140260-9ec56c6a-8f64-11e8-8c43-163b5255ca2d.png)

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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.