Skip to content

npm run build:es5报错 #3

@Pasoul

Description

@Pasoul
 Could not find a declaration file for module 'vfile-message'. '/Users/pengyong/Downloads/wui-master/node_modules/vfile-message/index.js' implicitly has an 'any' type.
  Try `npm install @types/vfile-message` if it exists or add a new declaration (.d.ts) file containing `declare module 'vfile-message';`

11 import * as vfileMessage from 'vfile-message';
                                 ~~~~~~~~~~~~~~~


Found 1 error.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! wui@1.0.2 tsc: `tsc --outDir dist`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the wui@1.0.2 tsc script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

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