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

Cant open rekit studio #223

Open
erbaafidotama opened this issue Mar 11, 2020 · 8 comments
Open

Cant open rekit studio #223

erbaafidotama opened this issue Mar 11, 2020 · 8 comments

Comments

@erbaafidotama
Copy link

Hiii.. i want to open rekit studio. in my server when start showing:
`You can now view belajar_niat in the browser.

Local: http://localhost:3100/
On Your Network: http://192.168.1.169:3100/

Note that the development build is not optimized.
To create a production build, use npm run build.`

i read in rekit doc, i must to setup rekit studio port in package.json. but still cant open rekit studio. can help me?

@supnate
Copy link
Owner

supnate commented Mar 11, 2020

Please use rekit-studio -p 3105 to set the port.

@erbaafidotama
Copy link
Author

sorry,, like this?
"scripts": { "start": "cross-env PORT=3100 node scripts/start.js rekit-studio -p 3105", "build": "node scripts/build.js", "test": "node scripts/test.js" },

@supnate
Copy link
Owner

supnate commented Mar 11, 2020

No, this script is used to start dev server not IDE. You should install rekit-studio as a global modle:

npm install -g rekit-studio

Then go to your project folder:

rekit-studio -p 3020

Then access http://localhost:3020 to access the IDE.

Sorry for the confusion that the readme was outdated, it's only for rekit 2.x.

@erbaafidotama
Copy link
Author

I still get some errors. Maybe you can still help me.
after i run:
npm install -g rekit-studio

result:
`C:\Users\erbaafidotama\AppData\Roaming\npm\rekit-studio -> C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\bin\index.js

node-pty@0.8.1 install C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\node-pty
node scripts/install.js

C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\node-pty>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Users\erbaafidotama\AppData\Local\Programs\Python\Python36\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:294:12)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at maybeClose (internal/child_process.js:962:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\node-pty
gyp ERR! node -v v10.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\rekit-studio\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN ws@7.2.3 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.2.3 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: abbrev@1.1.1 (node_modules\rekit-studio\node_modules\fsevents\node_modules\abbrev):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\abbrev' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.abbrev.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ansi-regex@2.1.1 (node_modules\rekit-studio\node_modules\fsevents\node_modules\ansi-regex):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\ansi-regex' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.ansi-regex.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: aproba@1.2.0 (node_modules\rekit-studio\node_modules\fsevents\node_modules\aproba):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\aproba' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.aproba.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: balanced-match@1.0.0 (node_modules\rekit-studio\node_modules\fsevents\node_modules\balanced-match):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\balanced-match' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.balanced-match.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: chownr@1.1.3 (node_modules\rekit-studio\node_modules\fsevents\node_modules\chownr):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\chownr' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.chownr.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: code-point-at@1.1.0 (node_modules\rekit-studio\node_modules\fsevents\node_modules\code-point-at):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\code-point-at' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.code-point-at.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: concat-map@0.0.1 (node_modules\rekit-studio\node_modules\fsevents\node_modules\concat-map):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\concat-map' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.concat-map.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: console-control-strings@1.1.0 (node_modules\rekit-studio\node_modules\fsevents\node_modules\console-control-strings):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\console-control-strings' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.console-control-strings.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: core-util-is@1.0.2 (node_modules\rekit-studio\node_modules\fsevents\node_modules\core-util-is):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\core-util-is' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.core-util-is.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: deep-extend@0.6.0 (node_modules\rekit-studio\node_modules\fsevents\node_modules\deep-extend):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\deep-extend' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.deep-extend.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: delegates@1.0.0 (node_modules\rekit-studio\node_modules\fsevents\node_modules\delegates):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\delegates' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.delegates.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: detect-libc@1.0.3 (node_modules\rekit-studio\node_modules\fsevents\node_modules\detect-libc):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\detect-libc' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.detect-libc.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs.realpath@1.0.0 (node_modules\rekit-studio\node_modules\fsevents\node_modules\fs.realpath):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\fs.realpath' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.fs.realpath.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: has-unicode@2.0.1 (node_modules\rekit-studio\node_modules\fsevents\node_modules\has-unicode):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\has-unicode' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.has-unicode.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: inherits@2.0.4 (node_modules\rekit-studio\node_modules\fsevents\node_modules\inherits):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\inherits' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.inherits.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ini@1.3.5 (node_modules\rekit-studio\node_modules\fsevents\node_modules\ini):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\ini' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.ini.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: isarray@1.0.0 (node_modules\rekit-studio\node_modules\fsevents\node_modules\isarray):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\isarray' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.isarray.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: minimist@0.0.8 (node_modules\rekit-studio\node_modules\fsevents\node_modules\minimist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\minimist' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.minimist.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ms@2.1.2 (node_modules\rekit-studio\node_modules\fsevents\node_modules\ms):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\ms' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.ms.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: npm-normalize-package-bin@1.0.1 (node_modules\rekit-studio\node_modules\fsevents\node_modules\npm-normalize-package-bin):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\npm-normalize-package-bin' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.npm-normalize-package-bin.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: number-is-nan@1.0.1 (node_modules\rekit-studio\node_modules\fsevents\node_modules\number-is-nan):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\number-is-nan' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.number-is-nan.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: object-assign@4.1.1 (node_modules\rekit-studio\node_modules\fsevents\node_modules\object-assign):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\object-assign' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.object-assign.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: os-homedir@1.0.2 (node_modules\rekit-studio\node_modules\fsevents\node_modules\os-homedir):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\os-homedir' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.os-homedir.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: os-tmpdir@1.0.2 (node_modules\rekit-studio\node_modules\fsevents\node_modules\os-tmpdir):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\os-tmpdir' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.os-tmpdir.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: path-is-absolute@1.0.1 (node_modules\rekit-studio\node_modules\fsevents\node_modules\path-is-absolute):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\path-is-absolute' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.path-is-absolute.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: process-nextick-args@2.0.1 (node_modules\rekit-studio\node_modules\fsevents\node_modules\process-nextick-args):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\process-nextick-args' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.process-nextick-args.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: minimist@1.2.0 (node_modules\rekit-studio\node_modules\fsevents\node_modules\rc\node_modules\minimist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\rc\node_modules\minimist' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\rc\node_modules.minimist.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: safe-buffer@5.1.2 (node_modules\rekit-studio\node_modules\fsevents\node_modules\safe-buffer):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\safe-buffer' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.safe-buffer.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: safer-buffer@2.1.2 (node_modules\rekit-studio\node_modules\fsevents\node_modules\safer-buffer):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\safer-buffer' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.safer-buffer.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sax@1.2.4 (node_modules\rekit-studio\node_modules\fsevents\node_modules\sax):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\sax' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.sax.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: semver@5.7.1 (node_modules\rekit-studio\node_modules\fsevents\node_modules\semver):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\semver' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.semver.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: set-blocking@2.0.0 (node_modules\rekit-studio\node_modules\fsevents\node_modules\set-blocking):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\set-blocking' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.set-blocking.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: signal-exit@3.0.2 (node_modules\rekit-studio\node_modules\fsevents\node_modules\signal-exit):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\signal-exit' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.signal-exit.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: strip-json-comments@2.0.1 (node_modules\rekit-studio\node_modules\fsevents\node_modules\strip-json-comments):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\strip-json-comments' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.strip-json-comments.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: util-deprecate@1.0.2 (node_modules\rekit-studio\node_modules\fsevents\node_modules\util-deprecate):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\util-deprecate' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.util-deprecate.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: wrappy@1.0.2 (node_modules\rekit-studio\node_modules\fsevents\node_modules\wrappy):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\wrappy' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.wrappy.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: yallist@3.1.1 (node_modules\rekit-studio\node_modules\fsevents\node_modules\yallist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules\yallist' -> 'C:\Users\erbaafidotama\AppData\Roaming\npm\node_modules\rekit-studio\node_modules\fsevents\node_modules.yallist.DELETE'

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-pty@0.8.1 install: node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-pty@0.8.1 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! C:\Users\erbaafidotama\AppData\Roaming\npm-cache_logs\2020-03-12T03_11_16_321Z-debug.log`

Can help, please?

@srcsrc1
Copy link

srcsrc1 commented Mar 24, 2020

Dont use node Version 12, switch to Version 10:
npm install -g n
n 10.16.0

That worked for me.

@fauzanazhiman
Copy link

Dont use node Version 12, switch to Version 10:
npm install -g n
n 10.16.0

That worked for me.

This doesn't work for me. I use node 10.16.0 too but I'm still facing the same error :(

@fauzanazhiman
Copy link

I realized that I missed to install windows-build-tools.
Node 10.16.0 now works for me.

@ganjalo507
Copy link

Am using Ubuntu 20.04 Desktop x64 (obvs) and node 14 and previously tried on 12, neither of which allow rekit-studio to install giving the following super awesome error. For the record, it also throws similar errors on Windows 10 (unsure on build but fully updated to May 2020) and on Mac OS X (10.14.6 bc 10.15 breaks Adobe 32 bit products I have and, frankly, I like Mojave and don't see any critical reason to change until Adobe and Apple get their shit together). I can list their errors as well later but for now I'm on this OS. In the following output I show that I can install rekit 3.0 just fine but trying to install the latest version of rekit-studio (node 14 and npm 6) fails:

me@mylaptop-6969:~/Documents/rekit-studio-failing$ npm install -g rekit
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
/home/me/.nvm/versions/node/v14.10.0/bin/rekit -> /home/me/.nvm/versions/node/v14.10.0/lib/node_modules/rekit/bin/rekit.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/rekit/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

  • rekit@3.0.0
    added 322 packages from 195 contributors in 12.943s
    me@mylaptop-6969:~/Documents/rekit-studio-failing$ npm install -g rekit-studio
    npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
    npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
    npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
    npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
    /home/me/.nvm/versions/node/v14.10.0/bin/rekit-studio -> /home/me/.nvm/versions/node/v14.10.0/lib/node_modules/rekit-studio/bin/index.js

node-pty@0.8.1 install /home/me/.nvm/versions/node/v14.10.0/lib/node_modules/rekit-studio/node_modules/node-pty
node scripts/install.js

make: Entering directory '/home/me/.nvm/versions/node/v14.10.0/lib/node_modules/rekit-studio/node_modules/node-pty/build'
CXX(target) Release/obj.target/pty/src/unix/pty.o
In file included from ../../nan/nan_converters.h:67,
from ../../nan/nan.h:222,
from ../src/unix/pty.cc:20:
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBasev8::Boolean::return_t Nan::imp::ToFactoryv8::Boolean::convert(v8::Localv8::Value)’:
../../nan/nan_converters_43_inl.h:18:49: error: cannot convert ‘v8::Localv8::Context’ to ‘v8::Isolate*’
18 | val->To ## TYPE(isolate->GetCurrentContext())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| v8::Localv8::Context
../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
22 | X(Boolean)
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2848:37: note: initializing argument 1 of ‘v8::Localv8::Boolean v8::Value::ToBoolean(v8::Isolate*) const’
2848 | Local ToBoolean(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from ../../nan/nan_converters.h:67,
from ../../nan/nan.h:222,
from ../src/unix/pty.cc:20:
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase::return_t Nan::imp::ToFactory::convert(v8::Localv8::Value)’:
../../nan/nan_converters_43_inl.h:37:55: error: cannot convert ‘v8::Localv8::Context’ to ‘v8::Isolate*’
37 | return val->NAME ## Value(isolate->GetCurrentContext());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| v8::Localv8::Context
../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
40 | X(bool, Boolean)
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2858:30: note: initializing argument 1 of ‘bool v8::Value::BooleanValue(v8::Isolate*) const’
2858 | bool BooleanValue(Isolate* isolate) const;
| ~~~~~~~~~^~~~~~~
In file included from ../../nan/nan_new.h:189,
from ../../nan/nan.h:223,
from ../src/unix/pty.cc:20:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBasev8::StringObject::return_t Nan::imp::Factoryv8::StringObject::New(v8::Localv8::String)’:
../../nan/nan_implementation_12_inl.h:356:37: error: no matching function for call to ‘v8::StringObject::New(v8::Localv8::String&)’
356 | return v8::StringObject::New(value).Asv8::StringObject();
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:5847:23: note: candidate: ‘static v8::Localv8::Value v8::StringObject::New(v8::Isolate*, v8::Localv8::String)’
5847 | static Local New(Isolate* isolate, Local value);
| ^~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:5847:23: note: candidate expects 2 arguments, 1 provided
In file included from ../../nan/nan_new.h:189,
from ../../nan/nan.h:223,
from ../src/unix/pty.cc:20:
../../nan/nan_implementation_12_inl.h:356:58: error: expected primary-expression before ‘>’ token
356 | return v8::StringObject::New(value).Asv8::StringObject();
| ^
../../nan/nan_implementation_12_inl.h:356:60: error: expected primary-expression before ‘)’ token
356 | return v8::StringObject::New(value).Asv8::StringObject();
| ^
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2232:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type]
2232 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from /usr/include/c++/9/cassert:44,
from /home/me/.cache/node-gyp/14.10.0/include/node/node_object_wrap.h:26,
from ../../nan/nan.h:55,
from ../src/unix/pty.cc:20:
../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistentv8::Object’ has no member named ‘IsNearDeath’
24 | assert(persistent().IsNearDeath());
| ^~~~~~~~~~~
../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfoNan::ObjectWrap&)’:
../../nan/nan_object_wrap.h:127:26: error: ‘class Nan::Persistentv8::Object’ has no member named ‘IsNearDeath’
127 | assert(wrap->handle_.IsNearDeath());
| ^~~~~~~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyFork(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:154:48: error: no matching function for call to ‘v8::Value::ToString()’
154 | v8::String::Utf8Value file(info[0]->ToString());
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2810:44: note: candidate: ‘v8::MaybeLocalv8::String v8::Value::ToString(v8::Localv8::Context) const’
2810 | V8_WARN_UNUSED_RESULT MaybeLocal ToString(
| ^~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:165:66: error: no matching function for call to ‘v8::Array::Get(Nan::imp::IntegerFactoryv8::Integer::return_t)’
165 | v8::String::Utf8Value arg(argv_->Get(Nan::Newv8::Integer(i))->ToString());
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocalv8::Value v8::Object::Get(v8::Localv8::Context, v8::Localv8::Value)’
3717 | V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context,
| ^~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocalv8::Value v8::Object::Get(v8::Localv8::Context, uint32_t)’
3720 | V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context,
| ^~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
../src/unix/pty.cc:176:66: error: no matching function for call to ‘v8::Array::Get(Nan::imp::IntegerFactoryv8::Integer::return_t)’
176 | v8::String::Utf8Value pair(env_->Get(Nan::Newv8::Integer(i))->ToString());
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocalv8::Value v8::Object::Get(v8::Localv8::Context, v8::Localv8::Value)’
3717 | V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context,
| ^~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocalv8::Value v8::Object::Get(v8::Localv8::Context, uint32_t)’
3720 | V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context,
| ^~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided
../src/unix/pty.cc:181:48: error: no matching function for call to ‘v8::Value::ToString()’
181 | v8::String::Utf8Value cwd_(info[3]->ToString());
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2810:44: note: candidate: ‘v8::MaybeLocalv8::String v8::Value::ToString(v8::Localv8::Context) const’
2810 | V8_WARN_UNUSED_RESULT MaybeLocal ToString(
| ^~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:186:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
186 | winp.ws_col = info[4]->IntegerValue();
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate: ‘v8::Maybe v8::Value::IntegerValue(v8::Localv8::Context) const’
2863 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:187:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
187 | winp.ws_row = info[5]->IntegerValue();
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate: ‘v8::Maybe v8::Value::IntegerValue(v8::Localv8::Context) const’
2863 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:195:26: error: no matching function for call to ‘v8::Value::ToBoolean()’
195 | if (info[8]->ToBoolean()->Value()) {
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2848:18: note: candidate: ‘v8::Localv8::Boolean v8::Value::ToBoolean(v8::Isolate*) const’
2848 | Local ToBoolean(Isolate* isolate) const;
| ^~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2848:18: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:230:35: error: no matching function for call to ‘v8::Value::IntegerValue()’
230 | int uid = info[6]->IntegerValue();
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate: ‘v8::Maybe v8::Value::IntegerValue(v8::Localv8::Context) const’
2863 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:231:35: error: no matching function for call to ‘v8::Value::IntegerValue()’
231 | int gid = info[7]->IntegerValue();
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate: ‘v8::Maybe v8::Value::IntegerValue(v8::Localv8::Context) const’
2863 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyOpen(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:315:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
315 | winp.ws_col = info[0]->IntegerValue();
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate: ‘v8::Maybe v8::Value::IntegerValue(v8::Localv8::Context) const’
2863 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:316:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
316 | winp.ws_row = info[1]->IntegerValue();
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate: ‘v8::Maybe v8::Value::IntegerValue(v8::Localv8::Context) const’
2863 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyResize(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:360:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
360 | int fd = info[0]->IntegerValue();
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate: ‘v8::Maybe v8::Value::IntegerValue(v8::Localv8::Context) const’
2863 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:363:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
363 | winp.ws_col = info[1]->IntegerValue();
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate: ‘v8::Maybe v8::Value::IntegerValue(v8::Localv8::Context) const’
2863 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:364:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
364 | winp.ws_row = info[2]->IntegerValue();
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate: ‘v8::Maybe v8::Value::IntegerValue(v8::Localv8::Context) const’
2863 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyGetProc(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:387:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
387 | int fd = info[0]->IntegerValue();
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate: ‘v8::Maybe v8::Value::IntegerValue(v8::Localv8::Context) const’
2863 | V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
| ^~~~~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2863:40: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:389:48: error: no matching function for call to ‘v8::Value::ToString()’
389 | v8::String::Utf8Value tty_(info[1]->ToString());
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2810:44: note: candidate: ‘v8::MaybeLocalv8::String v8::Value::ToString(v8::Localv8::Context) const’
2810 | V8_WARN_UNUSED_RESULT MaybeLocal ToString(
| ^~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc: In function ‘void pty_after_waitpid(uv_async_t*)’:
../src/unix/pty.cc:488:43: warning: ‘void* memset(void*, int, size_t)’ writing to an object of type ‘class Nan::Persistentv8::Function’ with no trivial copy-assignment [-Wclass-memaccess]
488 | memset(&baton->cb, -1, sizeof(baton->cb));
| ^
In file included from ../../nan/nan.h:338,
from ../src/unix/pty.cc:20:
../../nan/nan_persistent_12_inl.h:12:40: note: ‘class Nan::Persistentv8::Function’ declared here
12 | template<typename T, typename M> class Persistent :
| ^~~~~~~~~~
../src/unix/pty.cc:489:69: warning: ‘v8::Localv8::Value Nan::Callback::Call(v8::Localv8::Object, int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
489 | Nan::Callback(cb).Call(Nan::GetCurrentContext()->Global(), 2, argv);
| ^
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h:1652:3: note: declared here
1652 | Call(v8::Localv8::Object target
| ^~~~
../src/unix/pty.cc: In function ‘void init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../src/unix/pty.cc:705:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
705 | Nan::Newv8::FunctionTemplate(PtyFork)->GetFunction());
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:6475:46: note: candidate: ‘v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)’
6475 | V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
| ^~~~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:6475:46: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:708:65: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
708 | Nan::Newv8::FunctionTemplate(PtyOpen)->GetFunction());
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:6475:46: note: candidate: ‘v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)’
6475 | V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
| ^~~~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:6475:46: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:711:67: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
711 | Nan::Newv8::FunctionTemplate(PtyResize)->GetFunction());
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:6475:46: note: candidate: ‘v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)’
6475 | V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
| ^~~~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:6475:46: note: candidate expects 1 argument, 0 provided
../src/unix/pty.cc:714:68: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
714 | Nan::Newv8::FunctionTemplate(PtyGetProc)->GetFunction());
| ^
In file included from /home/me/.cache/node-gyp/14.10.0/include/node/node.h:67,
from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:6475:46: note: candidate: ‘v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)’
6475 | V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
| ^~~~~~~~~~~
/home/me/.cache/node-gyp/14.10.0/include/node/v8.h:6475:46: note: candidate expects 1 argument, 0 provided
In file included from ../../nan/nan.h:53,
from ../src/unix/pty.cc:20:
../src/unix/pty.cc: At global scope:
/home/me/.cache/node-gyp/14.10.0/include/node/node.h:746:43: warning: cast between incompatible function types from ‘void (
)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void ()(v8::Localv8::Object)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void*)’} [-Wcast-function-type]
746 | (node::addon_register_func) (regfunc),
| ^
/home/me/.cache/node-gyp/14.10.0/include/node/node.h:780:3: note: in expansion of macro ‘NODE_MODULE_X’
780 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/unix/pty.cc:717:1: note: in expansion of macro ‘NODE_MODULE’
717 | NODE_MODULE(pty, init)
| ^~~~~~~~~~~
make: *** [pty.target.mk:111: Release/obj.target/pty/src/unix/pty.o] Error 1
make: Leaving directory '/home/me/.nvm/versions/node/v14.10.0/lib/node_modules/rekit-studio/node_modules/node-pty/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/me/.nvm/versions/node/v14.10.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.4.0-47-generic
gyp ERR! command "/home/me/.nvm/versions/node/v14.10.0/bin/node" "/home/me/.nvm/versions/node/v14.10.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/me/.nvm/versions/node/v14.10.0/lib/node_modules/rekit-studio/node_modules/node-pty
gyp ERR! node -v v14.10.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/rekit-studio/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-pty@0.8.1 install: node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-pty@0.8.1 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! /home/me/.npm/_logs/2020-09-10T19_04_08_851Z-debug.log

hope I'm not putting any identifying info in here.

For the record a coworker has used rekit 2.3 with node 14 and npm 6 on Mac OS X 10.15 (I think) and rekit-studio works just fine. Also it seems most of the docs have to do with rekit 2.3.....leading me to think 3.0 is not as stable as stated. However, that is just a guess and I imagine that this issue is fixable, just needs time that is hard to come by (I relate to that a lot and understand). My hope is that this will, somehow, help when that time is possible. Thanks! Let me know if you need any other output but I'm sure you have enough as I doubt I am the only one. =)

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

5 participants