action-annotation icon indicating copy to clipboard operation
action-annotation copied to clipboard

'EVENT_NOKQUEUE' is not recognized as an internal or external command, operable program or batch file.

Open briankardon opened this issue 4 years ago • 3 comments

Hello,

I'm new to Node, so I'm probably doing something wrong, but I'm getting an error when I try to run "npm start". Below is the full command line output for the installation and running process. I'm running this on Windows 10. Thanks for any help you can provide!

>git clone https://github.com/devyhia/action-annotation
Cloning into 'action-annotation'...
remote: Enumerating objects: 373, done.
remote: Total 373 (delta 0), reused 0 (delta 0), pack-reused 373 eceiving objects:  87% (325/373)
Receiving objects: 100% (373/373), 1.87 MiB | 5.47 MiB/s, done.
Resolving deltas: 100% (44/44), done.

>cd action-annotation

>npm install
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: https://github.com/jfhbrook/node-ecstatic/issues/259
npm WARN deprecated [email protected]: cross-spawn no longer requires a build toolchain, use it instead
npm WARN deprecated [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated [email protected]: Package not maintained. Recent browserify uses https://github.com/feross/buffer

> [email protected] postinstall C:\Users\path\to\folder\action-annotation\node_modules\electron-prebuilt
> node install.js

Downloading electron-v1.2.8-win32-x64.zip
[============================================>] 100.0% of 52.59 MB (9.15 MB/s)

> eatodo@ postinstall C:\Users\path\to\folder\action-annotation
> install-app-deps

Installing app dependencies for arch x64 to C:\Users\path\to\folder\action-annotation\app

npm WARN deprecated [email protected]: no longer maintained
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

> [email protected] postinstall C:\Users\path\to\folder\action-annotation\app\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of [email protected] - 1.7.0 || ^1.7.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.

added 43 packages from 38 contributors and audited 43 packages in 4.538s
found 0 vulnerabilities

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: appdmg@^0.4.5 (node_modules\electron-builder\node_modules\appdmg):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-osx@^1.0.0 (node_modules\7zip-bin\node_modules\7zip-bin-osx):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-linux@^1.0.1 (node_modules\7zip-bin\node_modules\7zip-bin-linux):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"linux","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=0.10.0 <7"} (current: {"node":"12.16.3","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs-xattr@^0.1.14 (node_modules\appdmg\node_modules\fs-xattr):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"!win32","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: macos-alias@~0.2.5 (node_modules\ds-store\node_modules\macos-alias):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN eatodo@ No repository field.
npm WARN eatodo@ No license field.

added 479 packages from 262 contributors and audited 487 packages in 29.644s

16 packages are looking for funding
  run `npm fund` for details

found 13 vulnerabilities (7 low, 2 moderate, 4 high)
  run `npm audit fix` to fix them, or `npm audit` for details

>npm start

> eatodo@ start C:\Users\path\to\folder\action-annotation
> EVENT_NOKQUEUE=1 electron ./app --enable-logging --remote-debugging-port=9222

'EVENT_NOKQUEUE' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! eatodo@ start: `EVENT_NOKQUEUE=1 electron ./app --enable-logging --remote-debugging-port=9222`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the eatodo@ 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!     C:\Users\user\AppData\Roaming\npm-cache\_logs\2020-05-15T14_11_23_219Z-debug.log

briankardon avatar May 15 '20 14:05 briankardon

@briankardon I have the same issue were you able to solve it ?

vivek87799 avatar Jun 29 '20 23:06 vivek87799

-> npm audit fix --force -> sudo apt -y install libgconf2-4 This helped me fix the issue

vivek87799 avatar Jun 29 '20 23:06 vivek87799

-> npm audit fix --force -> sudo apt -y install libgconf2-4 This helped me fix the issue

Do you have solution for windows? I get the same error.

aviadlazar avatar Jul 29 '21 19:07 aviadlazar