alfredopalhares / arch-pkgbuilds

Alfredo's Arch Linux PKGBUILDs
38 stars 24 forks source link

Error on update - error on lerna run test #65

Closed jaalorsa517 closed 3 years ago

jaalorsa517 commented 3 years ago

When trying to update Joplin, I get an error in the command 'lerna run test --stream'

Environment

Joplin version: 1.3.18 Platform: Linux OS specifics: Manjaro 20.2

Steps to reproduce

  1. Execute 'yay -Syua'.
  2. Check in 'Yes'.
  3. I wait for it to update.

Describe what you expected to happen

Wait for it to update

LogConsole

➜  ~ yay -Syu
[sudo] password for jaalorsa: 
:: Sincronizando las bases de datos de los paquetes...
 core está actualizado
 extra está actualizado
 community                                                       6,3 MiB   288 KiB/s 00:23 [####################################################] 100%
 multilib está actualizado
:: Iniciando actualización completa del sistema...
...el sistema ya está actualizado.
:: Buscando actualizaciones en los repositorios...
:: Buscando actualizaciones en AUR...
:: 1 Paquetes a actualizar.
1  aur/joplin  1.3.18-1 -> 1.4.19-8
==> Paquetes a excluir: (eg: "1 2 3", "1-3", "^4" o nombre del repositorio)
==> 
:: Buscando conflictos...
:: Buscando conflictos internos...
[Aur:1]  joplin-1.4.19-8

  1 joplin                                   (Instalado) (Archivos de compilación existen)
==> ¿Paquetes a limpiar antes de compilar?
==> [N]inguno [A]Todos [Ab]ortar [I]nstalados [No]Instalados o (1 2 3, 1-3, ^4)
==> n
:: PKGBUILD actualizado, Ignorando (1/1): joplin
  1 joplin                                   (Instalado) (Archivos de compilación existen)
==> ¿Diffs a mostrar?
==> [N]inguno [A]Todos [Ab]ortar [I]nstalados [No]Instalados o (1 2 3, 1-3, ^4)
==> n
:: (1/1) Analizando SRCINFO: joplin
==> Creando el paquete: joplin 1.4.19-8 (mar 15 dic 2020 14:29:08)
==> Recibiendo las fuentes...
  -> joplin.desktop ha sido encontrado 
  -> joplin-desktop.sh ha sido encontrado 
  -> joplin.sh ha sido encontrado 
  -> joplin-1.4.19.tar.gz ha sido encontrado 
==> Validando los archivos source con sha256sums...
    joplin.desktop ... Aprobado
    joplin-desktop.sh ... Aprobado
    joplin.sh ... Aprobado
    joplin-1.4.19.tar.gz ... Aprobado
==> Creando el paquete: joplin 1.4.19-8 (mar 15 dic 2020 14:29:13)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> Recibiendo las fuentes...
  -> joplin.desktop ha sido encontrado 
  -> joplin-desktop.sh ha sido encontrado 
  -> joplin.sh ha sido encontrado 
  -> joplin-1.4.19.tar.gz ha sido encontrado 
==> Validando los archivos source con sha256sums...
    joplin.desktop ... Aprobado
    joplin-desktop.sh ... Aprobado
    joplin.sh ... Aprobado
    joplin-1.4.19.tar.gz ... Aprobado
==> Eliminando el directorio $srcdir/...
==> Extrayendo las fuentes...
  -> Extrayendo joplin-1.4.19.tar.gz con bsdtar
==> Las fuentes están listas.
==> Creando el paquete: joplin 1.4.19-8 (mar 15 dic 2020 14:29:35)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> ADVERTENCIA: Usando el árbol existente $srcdir/
==> Eliminando el directorio $pkgdir/...
==> Iniciando build()...
  -> Disabling husky (git hooks)
  -> Installing dependencies...

> root@ postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19
> lerna bootstrap --no-ci && npm run tsc

lerna notice cli v3.22.1
lerna info versioning independent
lerna info Bootstrapping 10 packages
lerna info Installing external dependencies
lerna info Symlinking packages and binaries
lerna info lifecycle @joplin/app-clipper@1.0.8~postinstall: @joplin/app-clipper@1.0.8
lerna info lifecycle @joplin/app-desktop@1.4.19~postinstall: @joplin/app-desktop@1.4.19
lerna info lifecycle @joplin/app-mobile@0.8.9~postinstall: @joplin/app-mobile@0.8.9

> @joplin/app-clipper@1.0.8 postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper
> cd popup && npm install

> core-js@2.6.11 postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper/popup/node_modules/babel-runtime/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

> core-js@3.6.4 postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper/popup/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

> core-js-pure@3.6.5 postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper/popup/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"

> joplin-webclipper-popup@0.1.0 postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper/popup
> node postinstall.js && npm run build

> joplin-webclipper-popup@0.1.0 build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper/popup
> node scripts/build.js SKIP_PREFLIGHT_CHECK

Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run the following command: `npm update`
Compiled successfully.

File sizes after gzip:

  48.12 KB  build/static/js/2.chunk.js
  7.52 KB   build/static/js/main.chunk.js
  775 B     build/static/js/runtime-main.js
  746 B     build/static/css/main.chunk.css

The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.

Find out more about deployment here:

  bit.ly/CRA-deploy

npm WARN The package fs-extra is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/watchpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/react-scripts/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1852 packages from 869 contributors and audited 2131 packages in 68.15s

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

found 8831 vulnerabilities (8778 low, 33 moderate, 20 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> @joplin/app-desktop@1.4.19 postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop
> npm run build && gulp electronRebuild

> @joplin/app-desktop@1.4.19 build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop
> gulp build

[14:32:52] Using gulpfile ~/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/gulpfile.js
[14:32:52] Starting 'build'...
[14:32:52] Starting 'compileScripts'...
[14:32:52] Starting 'compilePackageInfo'...
[14:32:52] Starting 'copyPluginAssets'...
[14:32:52] Starting 'copyTinyMceLangs'...
[14:32:52] Starting 'updateIgnoredTypeScriptBuild'...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/ClipperConfigScreen.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/DialogButtonRow.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/EncryptionConfigScreen.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/ExtensionBadge.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/HelpButton.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/IconButton.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/ImportScreen.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/ItemList.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/Navigator.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/NotePropertiesDialog.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/NoteRevisionViewer.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/NoteSearchBar.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/NoteStatusBar.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/PromptDialog.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/TagItem.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/ToolbarSpace.jsx...
Compiling /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/VerticalResizer.jsx...
Copying to /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/note-viewer/pluginAssets
Copying /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../../../Assets/TinyMCE/langs => /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../node_modules/tinymce/langs
[14:33:03] Finished 'compileScripts' after 11 s
[14:33:03] Finished 'compilePackageInfo' after 11 s
[14:33:03] Finished 'updateIgnoredTypeScriptBuild' after 11 s
Copying to /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../pluginAssets
[14:33:03] Finished 'copyTinyMceLangs' after 11 s
[14:33:03] Finished 'copyPluginAssets' after 11 s
[14:33:03] Finished 'build' after 11 s
[14:33:04] Using gulpfile ~/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/gulpfile.js
[14:33:04] Starting 'electronRebuild'...
Running: "/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../node_modules/.bin/electron-rebuild"
make: se entra en el directorio '/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/lib/node_modules/sqlite3/build'
  CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c
  AR(target) Release/obj.target/../node-addon-api/src/nothing.a
  TOUCH Release/obj.target/deps/action_before_build.stamp
  CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3310100/sqlite3.o
  COPY Release/nothing.a
  AR(target) Release/obj.target/deps/sqlite3.a
  COPY Release/sqlite3.a
  CXX(target) Release/obj.target/node_sqlite3/src/backup.o
  CXX(target) Release/obj.target/node_sqlite3/src/database.o
  CXX(target) Release/obj.target/node_sqlite3/src/node_sqlite3.o
  CXX(target) Release/obj.target/node_sqlite3/src/statement.o
  SOLINK_MODULE(target) Release/obj.target/node_sqlite3.node
  COPY Release/node_sqlite3.node
  COPY /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/lib/node_modules/sqlite3/lib/binding/napi-v{napi_build_version}-linux-x64/node_sqlite3.node
  TOUCH Release/obj.target/action_after_build.stamp
make: se sale del directorio '/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/lib/node_modules/sqlite3/build'
make: se entra en el directorio '/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/tools/node_modules/sqlite3/build'
  CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c
  AR(target) Release/obj.target/../node-addon-api/src/nothing.a
  COPY Release/nothing.a
  TOUCH Release/obj.target/deps/action_before_build.stamp
  CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3310100/sqlite3.o
  AR(target) Release/obj.target/deps/sqlite3.a
  COPY Release/sqlite3.a
  CXX(target) Release/obj.target/node_sqlite3/src/backup.o
  CXX(target) Release/obj.target/node_sqlite3/src/database.o
  CXX(target) Release/obj.target/node_sqlite3/src/node_sqlite3.o
  CXX(target) Release/obj.target/node_sqlite3/src/statement.o
  SOLINK_MODULE(target) Release/obj.target/node_sqlite3.node
  COPY Release/node_sqlite3.node
  COPY /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/tools/node_modules/sqlite3/lib/binding/napi-v{napi_build_version}-linux-x64/node_sqlite3.node
  TOUCH Release/obj.target/action_after_build.stamp
make: se sale del directorio '/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/tools/node_modules/sqlite3/build'
make: se entra en el directorio '/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/node_modules/keytar/build'
  CXX(target) Release/obj.target/keytar/src/async.o
  CXX(target) Release/obj.target/keytar/src/main.o
  CXX(target) Release/obj.target/keytar/src/keytar_posix.o
  SOLINK_MODULE(target) Release/obj.target/keytar.node
  COPY Release/keytar.node
make: se sale del directorio '/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/node_modules/keytar/build'
[14:36:26] Finished 'electronRebuild' after 3.37 min

> @joplin/app-mobile@0.8.9 postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-mobile
> jetify && npm run build

Jetifier found 1332 file(s) to forward-jetify. Using 8 workers...

> @joplin/app-mobile@0.8.9 build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-mobile
> gulp build

[14:36:30] Using gulpfile ~/.cache/yay/joplin/src/joplin-1.4.19/packages/app-mobile/gulpfile.js
[14:36:30] Starting 'build'...
[14:36:30] Starting 'buildReactNativeInjectedJs'...
[14:36:30] Finished 'buildReactNativeInjectedJs' after 8.14 ms
[14:36:30] Starting 'encodeAssets'...
[14:36:31] Finished 'encodeAssets' after 428 ms
[14:36:31] Starting 'podInstall'...
[14:36:31] Finished 'podInstall' after 1.33 ms
[14:36:31] Finished 'build' after 442 ms
lerna info lifecycle @joplin/fork-htmlparser2@4.1.8~prepare: @joplin/fork-htmlparser2@4.1.8

> @joplin/fork-htmlparser2@4.1.8 prepare /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/fork-htmlparser2
> npm run build

> @joplin/fork-htmlparser2@4.1.8 build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/fork-htmlparser2
> tsc

lerna success Bootstrapped 10 packages

> root@ tsc /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19
> lerna run tsc --stream --parallel

lerna notice cli v3.22.1
lerna info versioning independent
lerna info Executing command in 5 packages: "npm run tsc"
@joplin/app-desktop: > @joplin/app-desktop@1.4.19 tsc /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop
@joplin/app-desktop: > node node_modules/typescript/bin/tsc --project tsconfig.json
joplin: > joplin@1.4.9 tsc /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-cli
joplin: > node node_modules/typescript/bin/tsc --project tsconfig.json
@joplin/app-mobile: > @joplin/app-mobile@0.8.9 tsc /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-mobile
@joplin/app-mobile: > node node_modules/typescript/bin/tsc --project tsconfig.json
@joplin/lib: > @joplin/lib@1.0.9 tsc /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/lib
@joplin/lib: > node node_modules/typescript/bin/tsc --project tsconfig.json
@joplin/renderer: > @joplin/renderer@1.0.17 tsc /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/renderer
@joplin/renderer: > node node_modules/typescript/bin/tsc --project tsconfig.json
lerna success run Ran npm script 'tsc' in 5 packages in 31.8s:
lerna success - joplin
lerna success - @joplin/app-desktop
lerna success - @joplin/app-mobile
lerna success - @joplin/lib
lerna success - @joplin/renderer
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (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"})

added 1134 packages from 779 contributors and audited 1139 packages in 462.228s

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

found 14 low severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details
npm WARN @octokit/plugin-request-log@1.0.2 requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-plugin-react-hooks@2.5.1 requires a peer of eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (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"})

+ compare-version@0.1.2
added 1 package from 1 contributor and audited 1140 packages in 18.928s

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

found 14 low severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details
lerna notice cli v3.22.1
lerna info versioning independent
lerna info Bootstrapping 10 packages
lerna info Installing external dependencies
lerna info Symlinking packages and binaries
lerna info lifecycle @joplin/app-clipper@1.0.8~postinstall: @joplin/app-clipper@1.0.8
lerna info lifecycle @joplin/app-desktop@1.4.19~postinstall: @joplin/app-desktop@1.4.19
lerna info lifecycle @joplin/app-mobile@0.8.9~postinstall: @joplin/app-mobile@0.8.9

> @joplin/app-clipper@1.0.8 postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper
> cd popup && npm install

> joplin-webclipper-popup@0.1.0 postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper/popup
> node postinstall.js && npm run build

> joplin-webclipper-popup@0.1.0 build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-clipper/popup
> node scripts/build.js SKIP_PREFLIGHT_CHECK

Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run the following command: `npm update`
Compiled successfully.

File sizes after gzip:

  48.12 KB  build/static/js/2.chunk.js
  7.52 KB   build/static/js/main.chunk.js
  775 B     build/static/js/runtime-main.js
  746 B     build/static/css/main.chunk.css

The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.

Find out more about deployment here:

  bit.ly/CRA-deploy

npm WARN tsutils@3.17.1 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
npm WARN The package fs-extra is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/watchpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/react-scripts/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

audited 2131 packages in 31.713s

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

found 8831 vulnerabilities (8778 low, 33 moderate, 20 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> @joplin/app-desktop@1.4.19 postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop
> npm run build && gulp electronRebuild

> @joplin/app-desktop@1.4.19 build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop
> gulp build

[14:38:48] Using gulpfile ~/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/gulpfile.js
[14:38:48] Starting 'build'...
[14:38:48] Starting 'compileScripts'...
[14:38:48] Starting 'compilePackageInfo'...
[14:38:48] Starting 'copyPluginAssets'...
[14:38:48] Starting 'copyTinyMceLangs'...
[14:38:48] Starting 'updateIgnoredTypeScriptBuild'...
Copying to /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../gui/note-viewer/pluginAssets
Copying /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../../../Assets/TinyMCE/langs => /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../node_modules/tinymce/langs
[14:38:49] Finished 'compileScripts' after 1.27 s
[14:38:49] Finished 'compilePackageInfo' after 1.27 s
[14:38:49] Finished 'updateIgnoredTypeScriptBuild' after 1.3 s
Copying to /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../pluginAssets
[14:38:49] Finished 'copyTinyMceLangs' after 1.36 s
[14:38:49] Finished 'copyPluginAssets' after 1.41 s
[14:38:49] Finished 'build' after 1.42 s
[14:38:50] Using gulpfile ~/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/gulpfile.js
[14:38:50] Starting 'electronRebuild'...
Running: "/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop/tools/../node_modules/.bin/electron-rebuild"

[14:38:53] Finished 'electronRebuild' after 3.14 s

> @joplin/app-mobile@0.8.9 postinstall /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-mobile
> jetify && npm run build

Jetifier found 1332 file(s) to forward-jetify. Using 8 workers...

> @joplin/app-mobile@0.8.9 build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-mobile
> gulp build

[14:38:56] Using gulpfile ~/.cache/yay/joplin/src/joplin-1.4.19/packages/app-mobile/gulpfile.js
[14:38:56] Starting 'build'...
[14:38:56] Starting 'buildReactNativeInjectedJs'...
[14:38:56] Finished 'buildReactNativeInjectedJs' after 7.31 ms
[14:38:56] Starting 'encodeAssets'...
[14:38:57] Finished 'encodeAssets' after 299 ms
[14:38:57] Starting 'podInstall'...
[14:38:57] Finished 'podInstall' after 961 μs
[14:38:57] Finished 'build' after 312 ms
lerna info lifecycle @joplin/fork-htmlparser2@4.1.8~prepare: @joplin/fork-htmlparser2@4.1.8

> @joplin/fork-htmlparser2@4.1.8 prepare /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/fork-htmlparser2
> npm run build

> @joplin/fork-htmlparser2@4.1.8 build /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/fork-htmlparser2
> tsc

lerna success Bootstrapped 10 packages
==> Iniciando check()...
  -> Running Lerna Test Suite

> root@ test /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19
> lerna run test --stream

lerna notice cli v3.22.1
lerna info versioning independent
lerna info Executing command in 3 packages: "npm run test"
@joplin/renderer: > @joplin/renderer@1.0.17 test /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/renderer
@joplin/renderer: > jest
@joplin/renderer: PASS MdToHtml/linkReplacement.test.js
@joplin/renderer:   linkReplacement
@joplin/renderer:     ✓ should handle non-resource links (9 ms)
@joplin/renderer:     ✓ should handle non-resource links - simple rendering (1 ms)
@joplin/renderer:     ✓ should handle resource links - downloaded status (1 ms)
@joplin/renderer:     ✓ should handle resource links - idle status
@joplin/renderer: Test Suites: 1 passed, 1 total
@joplin/renderer: Tests:       4 passed, 4 total
@joplin/renderer: Snapshots:   0 total
@joplin/renderer: Time:        2.108 s
@joplin/renderer: Ran all test suites.
joplin: > joplin@1.4.9 test /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-cli
joplin: > jest --config=jest.config.js --runInBand --bail --forceExit
@joplin/app-desktop: > @joplin/app-desktop@1.4.19 test /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-desktop
@joplin/app-desktop: > jest
@joplin/app-desktop: PASS gui/ResizableLayout/utils/persist.test.js
@joplin/app-desktop: PASS gui/ResizableLayout/utils/useLayoutItemSizes.test.js
@joplin/app-desktop: PASS gui/ResizableLayout/utils/movements.test.js (5.007 s)
@joplin/app-desktop: Test Suites: 3 passed, 3 total
@joplin/app-desktop: Tests:       12 passed, 12 total
@joplin/app-desktop: Snapshots:   0 total
@joplin/app-desktop: Time:        6.038 s
@joplin/app-desktop: Ran all test suites.
joplin: PASS tests/synchronizer.js (79.45 s)
joplin: FAIL tests/services_rest_Api.js (26.776 s)
joplin:   ● services_rest_Api › should ping
joplin:     Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.
joplin:       at mapper (node_modules/jest-jasmine2/build/queueRunner.js:27:45)
joplin: Summary of all failing tests
joplin: FAIL tests/services_rest_Api.js (26.776 s)
joplin:   ● services_rest_Api › should ping
joplin:     Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 5000 ms timeout specified by jest.setTimeout.
joplin:       at mapper (node_modules/jest-jasmine2/build/queueRunner.js:27:45)
joplin: Test Suites: 1 failed, 1 passed, 2 of 52 total
joplin: Tests:       1 failed, 91 passed, 92 total
joplin: Snapshots:   0 total
joplin: Time:        106.34 s
joplin: Ran all test suites.
joplin: npm ERR! code ELIFECYCLE
joplin: npm ERR! errno 1
joplin: npm ERR! joplin@1.4.9 test: `jest --config=jest.config.js --runInBand --bail --forceExit`
joplin: npm ERR! Exit status 1
joplin: npm ERR! 
joplin: npm ERR! Failed at the joplin@1.4.9 test script.
joplin: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
joplin: npm ERR! A complete log of this run can be found in:
joplin: npm ERR!     /home/jaalorsa/.npm/_logs/2020-12-15T19_40_59_931Z-debug.log
lerna ERR! npm run test exited 1 in 'joplin'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! root@ test: `lerna run test --stream`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the root@ test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
 ERR! A complete log of this run can be found in:
npm ERR!     /home/jaalorsa/.npm/_logs/2020-12-15T19_40_59_993Z-debug.log
==> ERROR: Se produjo un fallo en check().
    Cancelando...
error compilando: joplin

Logfile

0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'test' ] 2 info using npm@6.14.9 3 info using node@v15.3.0 4 verbose run-script [ 'pretest', 'test', 'posttest' ] 5 info lifecycle joplin@1.4.9~pretest: joplin@1.4.9 6 info lifecycle joplin@1.4.9~test: joplin@1.4.9 7 verbose lifecycle joplin@1.4.9~test: unsafe-perm in lifecycle true 8 verbose lifecycle joplin@1.4.9~test: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-cli/node_modules/.bin:/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-cli/node_modules/.bin:/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/node_modules/.bin:/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/node_modules/.bin:/home/jaalorsa/.cache/yay/joplin/src/node_modules/.bin:/home/jaalorsa/.cache/yay/joplin/node_modules/.bin:/home/jaalorsa/.cache/yay/node_modules/.bin:/home/jaalorsa/.cache/node_modules/.bin:/home/jaalorsa/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/usr/bin:/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/node_modules/.bin:/home/jaalorsa/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl 9 verbose lifecycle joplin@1.4.9~test: CWD: /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-cli 10 silly lifecycle joplin@1.4.9~test: Args: [ '-c', 'jest --config=jest.config.js --runInBand --bail --forceExit' ] 11 silly lifecycle joplin@1.4.9~test: Returned: code: 1 signal: null 12 info lifecycle joplin@1.4.9~test: Failed to exec test script 13 verbose stack Error: joplin@1.4.9 test: jest --config=jest.config.js --runInBand --bail --forceExit 13 verbose stack Exit status 1 13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16) 13 verbose stack at EventEmitter.emit (node:events:376:20) 13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at ChildProcess.emit (node:events:376:20) 13 verbose stack at maybeClose (node:internal/child_process:1055:16) 13 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5) 14 verbose pkgid joplin@1.4.9 15 verbose cwd /home/jaalorsa/.cache/yay/joplin/src/joplin-1.4.19/packages/app-cli 16 verbose Linux 5.4.80-2-MANJARO 17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "test" 18 verbose node v15.3.0 19 verbose npm v6.14.9 20 error code ELIFECYCLE 21 error errno 1 22 error joplin@1.4.9 test: jest --config=jest.config.js --runInBand --bail --forceExit 22 error Exit status 1 23 error Failed at the joplin@1.4.9 test script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]

alfredopalhares commented 3 years ago

I made the check() function a sof tfail for now. Also, this is the same issue as #64