Skip to content

npm run test:unit failure #202

@bourdaisj

Description

@bourdaisj

Hi!
No big deal but when running npm run test:unit, I'm getting the following error message:

 error  in ./src/io/dicom.ts

Module not found: Error: Package path . is not exported from package /home/jules/Projects/OSS/VolView/node_modules/itk-wasm (see exports field in /home/jules/Projects/OSS/VolView/node_modules/itk-wasm/package.json)

  [=========================] 99% (done) WEBPACK  Failed to compile with 2 error(s)

Error in ./src/io/dicom.ts

  Module not found: Package path . is not exported from package /home/jules/Projects/OSS/VolView/node_modules/itk-wasm (see exports field in /home/jules/Projects/OSS/VolView/node_modules/itk-wasm/package.json)

Error in ./src/io/io.ts

  Module not found: Package path . is not exported from package /home/jules/Projects/OSS/VolView/node_modules/itk-wasm (see exports field in /home/jules/Projects/OSS/VolView/node_modules/itk-wasm/package.json)

  [=========================] 100% (completed)

 ERROR  Error: mochapack exited with code 1.
Error: mochapack exited with code 1.
    at ChildProcess.<anonymous> (/home/jules/Projects/OSS/VolView/node_modules/@vue/cli-plugin-unit-mocha/index.js:86:18)
    at ChildProcess.emit (node:events:538:35)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)

It's happening during the build step

Metadata

Metadata

Assignees

No one assigned

    Labels

    build issuesIssues related to the build process

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions