Giter Club home page Giter Club logo

graviton-app's Introduction


graviton.netlify.app

License: MIT GitHub All Releases Commits GitHub contributors Open Source Love svg3 Discord Server

Graviton is cross-platform Code Editor.

NOTE: Graviton is being rewritten, if you are searching for the old version (v2.3.0) go to this other branch. Learn more about here.

See this to run / compile it, by yourself. (There aren't any releases of the new version)

Current state of the rewrite:

Screenshot of Graviton Rewrite

πŸ₯ Rewrite Changes

  • Ditch ElectronJS (NodeJS) in favor of Tauri (Rust)
  • Use Deno as a runtime for third-party extensions
  • Use to React for the Web frontend
  • Core is declouped from the frontend itself, third-party editors can be built upon it
Package Description Version
gveditor-core Graviton core engine
gveditor-core-api Shared API for core and extensions
gveditor-core-deno Deno runtime for Graviton extensions WIP
extensions/git Built-in Git Extension WIP
extensions/native-shell Built-in native shells Extension WIP
extensions/typescript-lsp Built-in TypeScript/JavaScript extension WIP
desktop Desktop web-based app WIP
server Self-hosted browser version WIP
@gveditor/web Web frontend
@gveditor/languages Language translations

πŸ“‘ Goals

  • No freezes or lags
  • Fast startup time
  • Low memory usage
  • Scalable through a consistent and dev-friendly plugins API
  • Flexible workspace configurations
  • Respect privacy
  • Easy to use and pleasant UI
  • Stable Intellisense (LSP)

πŸ“£ Community

🎁 Donating

Feel free to donate in any way you want, if you want to support this project :)

  • Github Sponsors
  • Paypal
  • BTC address: 1HCBeYD564Y3AjQ3Ci6Fp2zosfZvevJuu6
  • Solana address: 5GzDDXyzhB9zA8vSHuEow5mQJ6Tk3kC4Bn2T9dp6nX3U

Donators

MIT License

graviton-app's People

Contributors

airbus5717 avatar brian3647 avatar coder26-cmd avatar cris16228 avatar dameez avatar dependabot[bot] avatar djn1 avatar exedust avatar freeaoi avatar hiroshikawata avatar jeff-hykin avatar liberodark avatar lucasctrl avatar lzh370 avatar machou avatar marc2332 avatar marcink50 avatar max1truc avatar midyh avatar mierenmanz avatar roughtomato avatar saul-bt avatar seniorglez avatar shashankanataraj avatar suburbanno avatar szpolny avatar tomasbranda avatar xxmrc avatar yusfsm avatar zeankundev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

graviton-app's Issues

npm run rebuild ERROR

ile included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:63:
/Users/Turbe/.electron-gyp/5.0.8/include/node/v8.h:15:2: error: unterminated conditional directive
#ifndef INCLUDE_V8_H_
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:500:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:176:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:57:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstdio:106:1: error: expected parameter declarator
_LIBCPP_BEGIN_NAMESPACE_STD
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:506:37: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
#define _LIBCPP_BEGIN_NAMESPACE_STD namespace std {inline namespace _LIBCPP_NAMESPACE {
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:500:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:176:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:57:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstdio:106:1: error: expected ')'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:506:37: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
#define _LIBCPP_BEGIN_NAMESPACE_STD namespace std {inline namespace _LIBCPP_NAMESPACE {
^
/Users/Turbe/.electron-gyp/5.0.8/include/node/v8.h:5753:36: note: to match this '('
typedef bool (*AccessCheckCallback)(
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:504:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwchar:107:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwctype:55:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/wctype.h:54:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/wctype.h:121:26: error: unknown type name 'wctrans_t'
wint_t towctrans(wint_t, wctrans_t);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/wctype.h:122:1: error: unknown type name 'wctrans_t'
wctrans_t
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:504:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwchar:107:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwctype:64:7: error: no member named 'wctrans_t' in the global namespace; did you mean '::v8::wctrans'?
using ::wctrans_t;
^~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/wctype.h:123:2: note: '::v8::wctrans' declared here
wctrans(const char *);
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:504:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwchar:107:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwctype:68:9: error: no member named 'iswblank' in the global namespace; did you mean 'isblank'?
using ::iswblank;
~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/_ctype.h:224:1: note: 'isblank' declared here
isblank(int _c)
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:504:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwchar:107:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwctype:82:7: error: no member named 'towctrans' in the global namespace; did you mean '::v8::towctrans'?
using ::towctrans;
^~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/wctype.h:121:8: note: '::v8::towctrans' declared here
wint_t towctrans(wint_t, wctrans_t);
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:504:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwchar:107:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwctype:83:7: error: no member named 'wctrans' in the global namespace; did you mean '::v8::wctrans'?
using ::wctrans;
^~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/wctype.h:123:2: note: '::v8::wctrans' declared here
wctrans(const char *);
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:536:5: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
streamoff _off;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:538:36: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
_LIBCPP_INLINE_VISIBILITY fpos(streamoff __off = streamoff()) : _st(), _off(__off) {}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:540:40: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
_LIBCPP_INLINE_VISIBILITY operator streamoff() const {return _off;}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:545:48: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
_LIBCPP_INLINE_VISIBILITY fpos& operator+=(streamoff __off) {_off += __off; return *this;}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:546:48: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
_LIBCPP_INLINE_VISIBILITY fpos operator+ (streamoff __off) const {fpos __t(*this); __t += __off; return __t;}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:547:48: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
_LIBCPP_INLINE_VISIBILITY fpos& operator-=(streamoff __off) {_off -= __off; return *this;}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:548:48: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
_LIBCPP_INLINE_VISIBILITY fpos operator- (streamoff __off) const {fpos __t(*this); __t -= __off; return __t;}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:538:54: error: use of undeclared identifier 'streamoff'
_LIBCPP_INLINE_VISIBILITY fpos(streamoff __off = streamoff()) : _st(), _off(__off) {}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:553:1: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
streamoff operator-(const fpos<_StateT>& __x, const fpos<_StateT>& __y)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:569:1: error: no template named 'basic_string'; did you mean '::std::basic_string'?
basic_string<_CharT, _Traits, _Allocator>
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:193:32: note: '::std::basic_string' declared here
class _LIBCPP_TEMPLATE_VIS basic_string;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/pty/src/unix/pty.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Darwin 18.6.0
gyp ERR! command "/Users/Turbe/.nvm/versions/node/v10.13.0/bin/node" "/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/.bin/node-gyp" "rebuild" "--target=5.0.8" "--arch=x64" "--dist-url=https://electronjs.org/headers" "--build-from-source"
gyp ERR! cwd /Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/node-pty
gyp ERR! node -v v10.13.0
gyp ERR! node-gyp -v v4.0.0
gyp ERR! not ok

Failed with exit code: 1

Error: CXX(target) Release/obj.target/pty/src/unix/pty.o
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:63:
/Users/Turbe/.electron-gyp/5.0.8/include/node/v8.h:15:2: error: unterminated conditional directive
#ifndef INCLUDE_V8_H_
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:500:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:176:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:57:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstdio:106:1: error: expected parameter declarator
_LIBCPP_BEGIN_NAMESPACE_STD
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:506:37: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
#define _LIBCPP_BEGIN_NAMESPACE_STD namespace std {inline namespace _LIBCPP_NAMESPACE {
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:500:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string_view:176:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__string:57:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstdio:106:1: error: expected ')'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:506:37: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
#define _LIBCPP_BEGIN_NAMESPACE_STD namespace std {inline namespace _LIBCPP_NAMESPACE {
^
/Users/Turbe/.electron-gyp/5.0.8/include/node/v8.h:5753:36: note: to match this '('
typedef bool (*AccessCheckCallback)(
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:504:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwchar:107:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwctype:55:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/wctype.h:54:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/wctype.h:121:26: error: unknown type name 'wctrans_t'
wint_t towctrans(wint_t, wctrans_t);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/wctype.h:122:1: error: unknown type name 'wctrans_t'
wctrans_t
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:504:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwchar:107:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwctype:64:7: error: no member named 'wctrans_t' in the global namespace; did you mean '::v8::wctrans'?
using ::wctrans_t;
^~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/wctype.h:123:2: note: '::v8::wctrans' declared here
wctrans(const char *);
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:504:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwchar:107:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwctype:68:9: error: no member named 'iswblank' in the global namespace; did you mean 'isblank'?
using ::iswblank;
~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/_ctype.h:224:1: note: 'isblank' declared here
isblank(int _c)
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:504:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwchar:107:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwctype:82:7: error: no member named 'towctrans' in the global namespace; did you mean '::v8::towctrans'?
using ::towctrans;
^~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/wctype.h:121:8: note: '::v8::towctrans' declared here
wint_t towctrans(wint_t, wctrans_t);
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:504:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwchar:107:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cwctype:83:7: error: no member named 'wctrans' in the global namespace; did you mean '::v8::wctrans'?
using ::wctrans;
^~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/wctype.h:123:2: note: '::v8::wctrans' declared here
wctrans(const char *);
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:536:5: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
streamoff _off;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:538:36: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
_LIBCPP_INLINE_VISIBILITY fpos(streamoff __off = streamoff()) : _st(), _off(__off) {}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:540:40: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
_LIBCPP_INLINE_VISIBILITY operator streamoff() const {return _off;}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:545:48: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
_LIBCPP_INLINE_VISIBILITY fpos& operator+=(streamoff __off) {_off += __off; return *this;}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:546:48: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
_LIBCPP_INLINE_VISIBILITY fpos operator+ (streamoff __off) const {fpos __t(*this); __t += __off; return __t;}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:547:48: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
_LIBCPP_INLINE_VISIBILITY fpos& operator-=(streamoff __off) {_off -= __off; return *this;}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:548:48: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
_LIBCPP_INLINE_VISIBILITY fpos operator- (streamoff __off) const {fpos __t(*this); __t -= __off; return __t;}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:538:54: error: use of undeclared identifier 'streamoff'
_LIBCPP_INLINE_VISIBILITY fpos(streamoff __off = streamoff()) : _st(), _off(__off) {}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:553:1: error: unknown type name 'streamoff'; did you mean '::std::streamoff'?
streamoff operator-(const fpos<_StateT>& __x, const fpos<_StateT>& __y)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:187:19: note: '::std::streamoff' declared here
typedef long long streamoff; // for char_traits in
^
In file included from ../src/unix/pty.cc:20:
In file included from ../node_modules/nan/nan.h:54:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/node.h:64:
In file included from /Users/Turbe/.electron-gyp/5.0.8/include/node/v8-platform.h:12:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:569:1: error: no template named 'basic_string'; did you mean '::std::basic_string'?
basic_string<_CharT, _Traits, _Allocator>
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:193:32: note: '::std::basic_string' declared here
class _LIBCPP_TEMPLATE_VIS basic_string;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/pty/src/unix/pty.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Darwin 18.6.0
gyp ERR! command "/Users/Turbe/.nvm/versions/node/v10.13.0/bin/node" "/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/.bin/node-gyp" "rebuild" "--target=5.0.8" "--arch=x64" "--dist-url=https://electronjs.org/headers" "--build-from-source"
gyp ERR! cwd /Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/node-pty
gyp ERR! node -v v10.13.0
gyp ERR! node-gyp -v v4.0.0
gyp ERR! not ok

Failed with exit code: 1
at SafeSubscriber._error (/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/spawn-rx/lib/src/index.js:267:84)
at SafeSubscriber.__tryOrUnsub (/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/rxjs/internal/Subscriber.js:205:16)
at SafeSubscriber.error (/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/rxjs/internal/Subscriber.js:156:26)
at Subscriber._error (/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/rxjs/internal/Subscriber.js:92:26)
at Subscriber.error (/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/rxjs/internal/Subscriber.js:72:18)
at MapSubscriber.Subscriber._error (/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/rxjs/internal/Subscriber.js:92:26)
at MapSubscriber.Subscriber.error (/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/rxjs/internal/Subscriber.js:72:18)
at SafeSubscriber._next (/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/spawn-rx/lib/src/index.js:242:65)
at SafeSubscriber.__tryOrUnsub (/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/rxjs/internal/Subscriber.js:205:16)
at SafeSubscriber.next (/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/rxjs/internal/Subscriber.js:143:22)

Large File + Build Error

  • Which file is the largest ? > 150 MB ?
  • I am getting this error on master
  • On npm start :
➜  Graviton-App git:(master) sudo npm start

> [email protected] start /mnt/c/Users/HOME/code/Graviton-App
> electron . GravitonEditor

/mnt/c/Users/HOME/code/Graviton-App/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] start: `electron . GravitonEditor `
npm ERR! spawn ENOENT
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 ERR! A complete log of this run can be found in:
npm ERR!     /home/kogam22/.npm/_logs/2019-06-19T15_34_34_127Z-debug.log
➜  Graviton-App git:(master)

The log file :

➜  Graviton-App git:(master) cat /home/kogam22/.npm/_logs/2019-06-19T15_34_34_127Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]~prestart: [email protected]
6 info lifecycle [email protected]~start: [email protected]
7 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/mnt/c/Users/HOME/code/Graviton-App/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
9 verbose lifecycle [email protected]~start: CWD: /mnt/c/Users/HOME/code/Graviton-App
10 silly lifecycle [email protected]~start: Args: [ '-c', 'electron . GravitonEditor ' ]
11 info lifecycle [email protected]~start: Failed to exec start script
12 verbose stack Error: [email protected] start: `electron . GravitonEditor `
12 verbose stack spawn ENOENT
12 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack     at ChildProcess.emit (events.js:200:13)
12 verbose stack     at maybeClose (internal/child_process.js:1021:16)
12 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
13 verbose pkgid [email protected]
14 verbose cwd /mnt/c/Users/HOME/code/Graviton-App
15 verbose Linux 4.4.0-17134-Microsoft
16 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
17 verbose node v12.4.0
18 verbose npm  v6.9.0
19 error file sh
20 error code ELIFECYCLE
21 error errno ENOENT
22 error syscall spawn
23 error [email protected] start: `electron . GravitonEditor `
23 error spawn ENOENT
24 error Failed at the [email protected] start script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]

Error: Unexpected string in JSON

After recent merge when opening Graviton you'll notice an error Unexpected string in JSON at position 2020, which causes you to be unable to open new files in the editor.

Running git reset --hard HEAD^~1 from current origin/master head fixes the problem, thus I'd think that it was introduced with #38.

Folder doesn't reload

  • Operating System : (WSL console)
  • NodeJS Version : v5.1.0
  • Graviton Version : 1.1.0
  • Description

Graviton doesn't reload main folder afte you change it manually, or init an app using npm in console.
I think it's missing reload option, although you need to open the folder again.

Unable to close saved/unsaved files

I had errors for everything, reinstalled now I can't close a saved file. it throws an error every time I try close a document.
image
Why does Graviton say I have a 32-bit version when I have the 64 ones?
OS: Windown 10 64bit (64 bit version installed)
Version: Latest (v1.0.1)

Software runs extremely slow

Hi,
I love the code editor but I have one problem, it seems to run very slow.
The CPU reading however in Windows Task Manager is low yet the software runs extremely slow.
This problem might also be related to issue #13
My operating system is as follows:

OS Name Microsoft Windows 10 Home
Version 10.0.17134 Build 17134.

I am happy to help in way I can.
Thanks

Error in changing anything in files

Whenever I try to change something in the file, it throws an error. It mostly happens with those files which have lengthy codes in it.

image

I hope this gets fixed.

Unable to fullscreen on Linux neither by pressing F11 nor Zen Mode

Graviton is unable to fullscreen on my Linux.

OS: Parrot Linux ( Base on Debian GNU/Linux )
Installed by DEB package.
Desktop Environment: Mate 1.20.4
Graviton Version: 1.0.1 ( 190610 )
Neither pressing F11 nor Zen Mode works.
Screenshot at 2019-06-18 11-28-55
After pressing F11

Screenshot at 2019-06-18 11-30-44
After enabling Zen Mode

Feature request: Go to dialouge? E.g. ctrl+p to quickly find an open a new file

Hello!

I just discovered Graviton, and while it currently doesn't have enough features to go as my main code-editor it is def. my go-to when I want speed! :) Something I think is missing though is the "Go To File (e.g. CTRL+P in VS Code), is there any chance of something like that getting implemented? I tried looking for it, but I couldn't currently see anything like it in the editor.

Plugins API

Hello,
I'm making a plugin for Wakatime,
is it possible to ask to enter a text (a token), in a textbox to get it and save it ?

Thanks you

Error while quiting the app on mac

A JavaScript error occurred in the main process

Error Details:

Uncaught Exception:
TypeError: app.close is not a function
    at App.app.on (/Applications/Graviton.app/Contents/Resources/app.asar/main.js:45:7)
    at App.emit (events.js:182:13)

Testing on Windows

I just installed this after reading about it on it's FOSS.

A couple of things spotted so far:

  1. The bottom of the page on each script I open says "undefined". I am guessing this refers to the type of file I have opened.

I am unable to see what the options are when I right-click on it as the context menu doesn't overlap the main window.

image

  1. The top menu requires that you click on each one to both reveal and hide them. E.g when I click on "File" and move over to "Tools" the File menu is still displayed. Normal behaviour would be for the Tools menu to be displayed once I move over to it.

image

I will update as I continue to test if you find it helpful. Not to end on a negative, I love the very simple interface. Being able to browse a particular folder tree and simply click through my scripts. Very well done. :)

[feature request] ability to open project directory from commandline

Current:
When launching app from commandline it just launches graviton

Expected:
When launching app from commandline in particular directory or providing path to directory it should open that dir

  • This opens current directory in graviton
graviton .
  • This opens given path in graviton
graviton ~/src/python/sky

2019-04-21-181755_560x354_scrot

File type images

Hi,
I have noticed that some file types don't have icons.
This is prob not major but as the editor grows may be something to consider.

Thanks

CPU usage After close

Graviton-Before close
Graviton-After close

I install beta 1.0 on Windows 10 Notebook and found that after closing the program it still running on background, and use CPU heavily.

Build error

Graviton-App $ nvm install v10
...
Checksums matched!
Now using node v10.16.3 (npm v6.9.0)
Graviton-App $ node -v
v10.16.3
Graviton-App $ which python2.7
/usr/local/bin/python2.7
Graviton-App $ npm config set python /usr/local/bin/python2.7
Graviton-App $ npm i

> [email protected] postinstall /Users/me/dev/Graviton-App
> electron-builder install-app-deps

  β€’ electron-builder version=20.44.4
  β€’ loaded configuration file=package.json ("build" field)
  β€’ rebuilding native production dependencies platform=darwin arch=x64
Error: /Users/me/.nvm/versions/node/v10.16.3/bin/node exited with code 1
Output:

> [email protected] install /Users/me/dev/Graviton-App/node_modules/node-pty
> node scripts/install.js

  CXX(target) Release/obj.target/pty/src/unix/pty.o
  SOLINK_MODULE(target) Release/pty.node

> [email protected] postinstall /Users/me/dev/Graviton-App/node_modules/node-pty
> node scripts/post-install.js


> [email protected] install /Users/me/dev/Graviton-App/node_modules/nodegit
> node lifecycleScripts/preinstall && node lifecycleScripts/install

[nodegit] Running pre-install script
[nodegit] Running install script
ACTION Acquiring OpensSL binaries and headers vendor/openssl
SOLINK_MODULE(target) Release/acquireOpenSSL.node
ACTION binding_gyp_configureLibssh2_target_configure .
[nodegit] Configuring libssh2.
SOLINK_MODULE(target) Release/configureLibssh2.node
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/annotated_commit.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/apply.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/attr_file.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/attr.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/attrcache.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/blame_git.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/blame.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/blob.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/branch.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/buf_text.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/buffer.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/cache.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/checkout.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/cherrypick.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/clone.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/commit_list.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/commit.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_cache.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_file.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_parse.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/crlf.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/curl.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/date.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/delta.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_driver.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_file.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_generate.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_parse.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_print.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_stats.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_tform.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_xdiff.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/errors.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/fetch.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/fetchhead.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/filebuf.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/fileops.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/filter.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/fnmatch.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/global.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/graph.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/hash.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/hash/sha1dc/sha1.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/hash/sha1dc/ubc_check.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/hashsig.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/ident.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/idxmap.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/ignore.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/index.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/indexer.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/iterator.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/merge_driver.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/merge_file.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/merge.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/message.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/mwindow.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/netops.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/notes.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/object_api.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/object.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/odb_loose.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/odb_mempack.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/odb_pack.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/odb.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/offmap.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/oid.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/oidarray.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/oidmap.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/openssl.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pack-objects.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pack.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/parse.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/patch_generate.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/patch_parse.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/patch.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/path.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pathspec.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pool.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/posix.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pqueue.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/proxy.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/push.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/rebase.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/refdb_fs.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/refdb.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/reflog.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/refs.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/refspec.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/remote.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/repository.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/reset.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/revert.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/revparse.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/revwalk.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/settings.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/sha1_lookup.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/signature.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/socket.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/sortedcache.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/stash.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/status.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/strmap.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/submodule.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/sysdir.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/tag.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/thread-utils.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/trace.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/trailer.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transaction.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transport.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/auth.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/cred_helpers.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/cred.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/git.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/http.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/local.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/smart_pkt.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/smart_protocol.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/smart.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/ssh.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/tree-cache.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/tree.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/tsort.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/util.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/varint.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/vector.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/worktree.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xdiffi.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xemit.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xhistogram.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xmerge.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xpatience.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xprepare.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xutils.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/zstream.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/stransport.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/tls.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/unix/map.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/unix/realpath.o
LIBTOOL-STATIC Release/git2.a
CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/adler32.o
CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/crc32.o
CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/deflate.o
CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/inffast.o
CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/inflate.o
CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/inftrees.o
CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/trees.o
CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/zutil.o
LIBTOOL-STATIC Release/zlib.a
CC(target) Release/obj.target/http_parser/vendor/http_parser/http_parser.o
LIBTOOL-STATIC Release/http_parser.a
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/agent.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/crypt.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/keepalive.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/libgcrypt.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/openssl.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/publickey.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/sftp.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/version.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/channel.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/global.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/kex.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/mac.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/packet.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/scp.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/transport.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/comp.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/hostkey.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/knownhost.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/misc.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/pem.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/session.o
CC(target) Release/obj.target/libssh2/vendor/libssh2/src/userauth.o
LIBTOOL-STATIC Release/ssh2.a
Failed to execute '/Users/me/.nvm/versions/node/v10.16.3/bin/node /Users/me/.nvm/versions/node/v10.16.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/me/dev/Graviton-App/node_modules/nodegit/build/Release/nodegit.node --module_name=nodegit --module_path=/Users/me/dev/Graviton-App/node_modules/nodegit/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=electron-v5.0' (1)

Error output:
node-pre-gyp
WARN Using request for node-pre-gyp https download
node-pre-gyp
WARN Tried to download(404): https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.24.3-electron-v5.0-darwin-x64.tar.gz 
node-pre-gyp WARN
Pre-built binaries not found for [email protected] and [email protected] (electron-v5.0 ABI, unknown) (falling back to source compile with node-gyp)
../vendor/libgit2/src/idxmap.c:23:1:
warning: unused function 'kh_destroy_idxicase' [-Wunused-function]
__KHASH_IMPL(idxicase, static kh_inline, const git_index_entry *, git_index_entry *, 1, idxentry_hash, idxentry_icase_equal)
^
../vendor/libgit2/src/khash.h:210:13: note: expanded from macro '__KHASH_IMPL'
SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \
                   ^
<scratch space>:122:1: note: expanded from here
kh_destroy_idxicase
^
../vendor/libgit2/src/idxmap.c:23:1: warning: unused function 'kh_clear_idxicase' [-Wunused-function]
../vendor/libgit2/src/khash.h:
218:13: note: expanded from macro '__KHASH_IMPL'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
^
<scratch space>:125:1: note: expanded from here
kh_clear_idxicase
^
2 warnings generated.
../vendor/libgit2/src/iterator.c:481:17: warning
: unused function 'tree_iterator_entry_cmp' [-Wunused-function]
GIT_INLINE(int) tree_iterator_entry_cmp(const void *ptr_a, const void *ptr_b)
                ^
1 warning generated.
../vendor/libgit2/src/odb.c
:1389:11: warning: format specifies type 'ssize_t' (aka 'long') but the argument has type 'git_off_t' (aka 'long long') [-Wformat]
action, stream->declared_size, stream->received_bytes);
^~~~~~~~~~~~~~~~~~~~~
../vendor/libgit2/src/odb.c:1389:34: warning: format specifies type 'ssize_t' (aka 'long') but the argument has type 'git_off_t' (aka 'long long') [-Wformat]
                action, stream->declared_size, stream->received_bytes);
                                               ^~~~~~~~~~~~~~~~~~~~~~
2
warnings generated.
../vendor/libgit2/src/patch_parse.c:461:12: warning: unused function 'parse_number' [-Wunused-function]
static int parse_number(git_off_t *out, git_patch_parse_ctx *ctx)
           ^
1 warning generated.
../vendor/libgit2/src/path.c:1875:12: warning: unused function 'verify_dotgit_generic' [-Wunused-function]
static int verify_dotgit_generic(const char *name, size_t len, const char *dotgit_name, size_t dotgit_len, const char *shortname_pfix)
           ^
1 warning generated.
../vendor/libgit2/src/submodule.c:88:1: warning: unused function 'kh_init_str' [-Wunused-function]
__KHASH_IMPL(
^
../vendor/libgit2/src/khash.h:207:23: note: expanded from macro '__KHASH_IMPL'
        SCOPE kh_##name##_t *kh_init_##name(void) {                                                     \
                             ^
<scratch space>:138:1: note: expanded from here
kh_init_str
^
../vendor/libgit2/src/submodule.c:88:1: warning: unused function 'kh_destroy_str' [-Wunused-function]
../vendor/libgit2/src/khash.h
:210:13: note: expanded from macro '__KHASH_IMPL'
        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \
                   ^
<scratch space>:143:1: note: expanded from here
kh_destroy_str
^
../vendor/libgit2/src/submodule.c:88:1: warning: unused function 'kh_clear_str' [-Wunused-function]
../vendor/libgit2/src/khash.h:218:13:
note: expanded from macro '__KHASH_IMPL'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
^
<scratch space>:146:1: note: expanded from here
kh_clear_str
^
../vendor/libgit2/src/submodule.c:88:1: warning: unused function 'kh_get_str' [-Wunused-function]
../vendor/libgit2/src/khash.h:225:16: note: expanded from macro '__KHASH_IMPL'
SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \
                      ^
<scratch space>:149:1: note: expanded from here
kh_get_str
^
../vendor/libgit2/src/submodule.c:88:1:
warning: unused function 'kh_put_str' [-Wunused-function]
../vendor/libgit2/src/khash.h:302:16: note: expanded from macro '__KHASH_IMPL'
SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret) \
                      ^
<scratch space>:155:1: note: expanded from here
kh_put_str
^
../vendor/libgit2/src/submodule.c
:88:1: warning: unused function 'kh_del_str' [-Wunused-function]
../vendor/libgit2/src/khash.h:344:13: note: expanded from macro '__KHASH_IMPL'
SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:160:1: note: expanded from here
kh_del_str
^
6 warnings generated.
Traceback (most recent call last):
  File "./gyp-mac-tool", line 611, in <module>
    sys.exit(main(sys.argv[1:]))
  File "./gyp-mac-tool", line 28, in main
    exit_code = executor.Dispatch(args)
  File "./gyp-mac-tool", line 43, in Dispatch
    return getattr(self, method)(*args[1:])
  File "./gyp-mac-tool", line 246, in ExecFilterLibtool
    if not libtool_re.match(line) and not libtool_re5.match(line):
TypeError: cannot use a string pattern on a bytes-like object
make: *** [Release/ssh2.a] Error 1

gyp

ERR! build error
gyp
ERR! stack Error: `make` failed with exit code: 2
gyp ERR!
stack     at ChildProcess.onExit (/Users/me/.nvm/versions/node/v10.16.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack
at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp
ERR! System
Darwin 17.7.0
gyp
ERR! command
"/Users/me/.nvm/versions/node/v10.16.3/bin/node" "/Users/me/.nvm/versions/node/v10.16.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/me/dev/Graviton-App/node_modules/nodegit/build/Release/nodegit.node" "--module_name=nodegit" "--module_path=/Users/me/dev/Graviton-App/node_modules/nodegit/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=electron-v5.0"
gyp ERR!
cwd /Users/me/dev/Graviton-App/node_modules/nodegit
gyp
ERR! node -v
v10.16.3
gyp
ERR! node-gyp -v v3.8.0
gyp ERR!
not ok
node-pre-gyp
ERR! build error
node-pre-gyp
ERR!
stack Error: Failed to execute '/Users/me/.nvm/versions/node/v10.16.3/bin/node /Users/me/.nvm/versions/node/v10.16.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/me/dev/Graviton-App/node_modules/nodegit/build/Release/nodegit.node --module_name=nodegit --module_path=/Users/me/dev/Graviton-App/node_modules/nodegit/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=electron-v5.0' (1)
node-pre-gyp ERR!
stack
at ChildProcess.<anonymous> (/Users/me/dev/Graviton-App/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp
ERR! stack
at ChildProcess.emit (events.js:198:13)
node-pre-gyp
ERR! stack
at maybeClose (internal/child_process.js:982:16)
node-pre-gyp
ERR! stack
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System
Darwin 17.7.0
node-pre-gyp
ERR! command
"/Users/me/.nvm/versions/node/v10.16.3/bin/node" "/Users/me/dev/Graviton-App/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp
ERR! cwd /Users/me/dev/Graviton-App/node_modules/nodegit
node-pre-gyp
ERR! node -v
v10.16.3
node-pre-gyp ERR!
node-pre-gyp -v
v0.11.0
node-pre-gyp
ERR!
not ok
[nodegit] ERROR - Could not finish install
[nodegit] ERROR - finished with error code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node lifecycleScripts/preinstall && node lifecycleScripts/install`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/me/.npm/_logs/2019-09-01T00_44_09_688Z-debug.log

at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
at ChildProcess.<anonymous> (/Users/me/dev/Graviton-App/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
    at ChildProcess.childProcess.once.code (/Users/me/dev/Graviton-App/node_modules/builder-util/src/util.ts:244:14)
    at Object.onceWrapper (events.js:286:20)
    at ChildProcess.emit (events.js:198:13)
    at maybeClose (internal/child_process.js:982:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
From previous event:
    at _rebuild (/Users/me/dev/Graviton-App/node_modules/app-builder-lib/src/util/yarn.ts:179:5)
    at rebuild (/Users/me/dev/Graviton-App/node_modules/app-builder-lib/out/util/yarn.js:163:19)
    at /Users/me/dev/Graviton-App/node_modules/app-builder-lib/src/util/yarn.ts:20:11
From previous event:
    at _installOrRebuild (/Users/me/dev/Graviton-App/node_modules/app-builder-lib/out/util/yarn.js:71:28)
    at installOrRebuild (/Users/me/dev/Graviton-App/node_modules/app-builder-lib/out/util/yarn.js:55:28)
    at /Users/me/dev/Graviton-App/node_modules/electron-builder/src/cli/install-app-deps.ts:58:9
    at Generator.next (<anonymous>)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
From previous event:
    at _installAppDeps (/Users/me/dev/Graviton-App/node_modules/electron-builder/out/cli/install-app-deps.js:177:26)
    at installAppDeps (/Users/me/dev/Graviton-App/node_modules/electron-builder/out/cli/install-app-deps.js:146:26)
    at then (/Users/me/dev/Graviton-App/node_modules/electron-builder/src/cli/cli.ts:49:19)

Create new release

When will the next release be? Currently, the master branch is 150 commits ahead of the current release of 1.0.2.

File handling

Hi

Will good and more comfortable the usage, with these features:

  • file & folder drag 'n drop (add toprject) into project explorer
  • file drag 'n drop (open in new tab, not content knit) into editor screen and/or tabs bar
  • file & folder create form menu and project explorer right click (i seems is semifinished in v1.0.3)
  • project explorer auto refresh (without project/editor/rightclick refresh) on these file & folder changes
  • work without projects (e.g. just i want drop into the editor a file from somewhere and make a bit change)

Thanks if u think of these proposals.

Have a nice day!

Hitting ctrl+s does not save file

Hi,
I have just ran into an issue where hitting ctrl+s does not save the file.
I think issue #5 is also related.
I have to manually press save.

I would also like to ask where the software gets installed.

Thanks

Git support

Include basic git utilities like displaying the current branch and modified files and some others as well like some other editors do.

Features Request: Markdown renderer

Is there any chance a Markdown renderer could / would be added to the editor? I usually code and write notes in the same tool (using Markdown), however, I couldn't find a Markdown renderer for Graviton currently.

all actions causes to throw errors

everything i try to change in the settings or open files throws a error.

Error
An error has appeared! Check the console on developer tools for more info.

sql.svg:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
php.svg:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
    at Object.dispatch [as token] (php.js:187)
    at readToken (codemirror.js:1153)
    at runMode (codemirror.js:1210)
    at highlightLine (codemirror.js:1056)
    at getLineStyles (codemirror.js:1100)
    at buildLineContent (codemirror.js:1733)
    at getLineContent (codemirror.js:2123)
    at buildLineElement (codemirror.js:2204)
    at patchDisplay (codemirror.js:4192)
    at updateDisplayIfNeeded (codemirror.js:4101)
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
    at Object.dispatch [as token] (php.js:187)
    at readToken (codemirror.js:1153)
    at runMode (codemirror.js:1210)
    at highlightLine (codemirror.js:1056)
    at codemirror.js:3950
    at LeafChunk.iterN (codemirror.js:5596)
    at Doc.iterN (codemirror.js:5708)
    at Doc.iter (codemirror.js:6106)
    at highlightWorker (codemirror.js:3946)
    at codemirror.js:148
plugins.js:31 Uncaught ReferenceError: content is not defined
    at openPlugins (plugins.js:31)
    at HTMLButtonElement.onclick (index.html:109)
API.js:348 <div id=​"g_explorer" opened=​"false">​…​</div>​
API.js:348 <div id=​"g_explorer" opened=​"false">​…​</div>​
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
    at Object.dispatch [as token] (php.js:187)
    at readToken (codemirror.js:1153)
    at runMode (codemirror.js:1210)
    at highlightLine (codemirror.js:1056)
    at getLineStyles (codemirror.js:1100)
    at buildLineContent (codemirror.js:1733)
    at updateExternalMeasurement (codemirror.js:2345)
    at prepareMeasureForLine (codemirror.js:2381)
    at coordsCharInner (codemirror.js:2730)
    at coordsChar (codemirror.js:2698)
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
    at Object.dispatch [as token] (php.js:187)
    at readToken (codemirror.js:1153)
    at processLine (codemirror.js:1138)
    at codemirror.js:1120
    at LeafChunk.iterN (codemirror.js:5596)
    at Doc.iterN (codemirror.js:5708)
    at Doc.iter (codemirror.js:6106)
    at getContextBefore (codemirror.js:1119)
    at getLineStyles (codemirror.js:1098)
    at buildLineContent (codemirror.js:1733)
php.js:187 Uncaught TypeError: Cannot read property 'prev' of undefined
    at Object.dispatch [as token] (php.js:187)
    at readToken (codemirror.js:1153)
    at runMode (codemirror.js:1210)
    at highlightLine (codemirror.js:1056)
    at getLineStyles (codemirror.js:1100)
    at buildLineContent (codemirror.js:1733)
    at getLineContent (codemirror.js:2123)
    at buildLineElement (codemirror.js:2204)
    at patchDisplay (codemirror.js:4192)
    at updateDisplayIfNeeded (codemirror.js:4101)
dispatch @ php.js:187
readToken @ codemirror.js:1153
runMode @ codemirror.js:1210
highlightLine @ codemirror.js:1056
getLineStyles @ codemirror.js:1100
buildLineContent @ codemirror.js:1733
getLineContent @ codemirror.js:2123
buildLineElement @ codemirror.js:2204
patchDisplay @ codemirror.js:4192
updateDisplayIfNeeded @ codemirror.js:4101
endOperation_W1 @ codemirror.js:3809
endOperations @ codemirror.js:3786
(anonymous) @ codemirror.js:3775
finishOperation @ codemirror.js:2035
endOperation @ codemirror.js:3772
runInOp @ codemirror.js:3901
operation @ codemirror.js:8594
forEachCodeMirror @ codemirror.js:6613
(anonymous) @ codemirror.js:6630
setTimeout (async)
(anonymous) @ codemirror.js:6628

add auto restore session

when my compute crash graviton can't restore the file.all code editor have this kind of feature

Content is not defined

Hi,
I was just exploring the editor and pressed on the plugins button and received this error:
Uncaught ReferenceError: content is not defined at openPlugins (plugins.js:31) at HTMLButtonElement.onclick (index.html:109)

It appears when opening the plugins page from the menu.

Also windows defender has blocked the editor from making changes to my files.

Thanks

Unable to start a new terminal

I've downloaded the new files, installed everything from BUILDING.md ran the last version of the app 1.0.2 (190629) and deleted the .graviton folder but I have this error when opening a new terminal:
New Terminal Error

run error in dev tools console

Uncaught Error: Cannot find module '../build/Debug/pty.node'
Require stack:

  • /Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/node-pty/lib/utils.js
  • /Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/node-pty/lib/unixTerminal.js
  • /Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/node-pty/lib/index.js
  • /Users/Turbe/tf8_efficacy/trico-ide.git/index.html
    at Module._resolveFilename (internal/modules/cjs/loader.js:627)
    at Function.Module._resolveFilename (/Users/Turbe/tf8_efficacy/trico-ide.git/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/common/reset-search-paths.js:41)
    at Function.Module._load (internal/modules/cjs/loader.js:531)
    at Module.require (internal/modules/cjs/loader.js:685)
    at require (internal/modules/cjs/helpers.js:16)
    at Object.loadNative (utils.ts:17)
    at Object. (unixTerminal.ts:13)
    at Object. (unixTerminal.ts:279)
    at Module._compile (internal/modules/cjs/loader.js:786)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:798)

Graviton don't start after install through .deb package in debian 10.1

  • SO : debian 10.1 (Mate Desktop)
  • NodeJS Version : v10.15.2
  • Graviton Version :1.1.0
  • Description
    when i tried to open graviton i get this:
    [7765:0912/024318.185950:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/Graviton/chrome-sandbox is owned by root and has mode 4755.
    `trap' para punto de parada/seguimiento

Copy/Paste/Cut commands

A few things I've noticed after using this editor:

  • Copy/Paste/Cut hotkeys seem to be missing. (Both Windows and Mac versions would be nice)
  • cmd + s doesn't save files (Not a huge deal at the moment since ctrl + s works on Mac)

Also, I think the file tree could use some basic features like:

  • Creating new folders/files
  • Deleting and renaming folders/files

Vim support

Hi!

I was able to successfully create a plugin which integrates VIM support. Would you be interested in adding the plugin to the Editor ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.