Skip to content

Error when npm run build #1298

@bilogic

Description

@bilogic
$ npm install && npm run build

up to date, audited 186 packages in 1s

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

found 0 vulnerabilities

> [email protected] build
> npm run build:mjs && npm run build:js && npm run build:styles


> [email protected] build:mjs
> tsc --module ES6 && mv dist/nouislider.js dist/nouislider.mjs

../@types/jsdom/base.d.ts:6:23 - error TS2792: Cannot find module 'parse5'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

6 import { Token } from "parse5";
                        ~~~~~~~~

../@types/trusted-types/index.d.ts:1:22 - error TS2792: Cannot find module './lib'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

1 import * as lib from "./lib";
                       ~~~~~~~


Found 2 errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions