Skip to content

Test fails in web package #1388

Open
Open
@fcnjd

Description

@fcnjd

Hi,
I thought about running the web frontend myself, and read the contribution guide. However, there are test failures in the web package. I'm using, as suggested, node LTS version. Here's the output of the test, as well as the exact version:

julian@v2202412244818302705:~/src/OpenJSCAD.org/packages/web$ npm test

> @jscad/web@2.6.10 test
> ava 'src/**/*.test.js' --verbose --timeout 2m


  Uncaught exception in src/most-gestures/gestures.test.js

  Error: Cannot find module 'most'
  Require stack:
  - /home/julian/src/OpenJSCAD.org/packages/web/src/most-gestures/index.js
  - /home/julian/src/OpenJSCAD.org/packages/web/src/most-gestures/gestures.test.js
  - /home/julian/src/OpenJSCAD.org/node_modules/ava/lib/worker/subprocess.js

  › - /home/julian/src/OpenJSCAD.org/node_modules/ava/lib/worker/subprocess.js
  › Object.<anonymous> (src/most-gestures/index.js:1:30)

  ✖ src/most-gestures/gestures.test.js exited with a non-zero exit code: 1
  ─

  1 uncaught exception
julian@v2202412244818302705:~/src/OpenJSCAD.org/packages/web$ node --version
v22.14.0

Thanks in advance for any advice what I might be doing wrong here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions