Skip to content

npm install fails with "Invalid 'reference' directive syntax" #26

@eugeneiiim

Description

@eugeneiiim

To reproduce:

git clone https://github.com/charto/cxsd.git
npm install

I get the error:

node_modules/cxml/dist/xml/Parser.d.ts(1,1): error TS1084: Invalid 'reference' directive syntax.
node_modules/cxml/dist/xml/Parser.d.ts(2,1): error TS1084: Invalid 'reference' directive syntax.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! cxsd@0.1.1 prepublish: `typings install && tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the cxsd@0.1.1 prepublish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/eugene/.npm/_logs/2019-06-05T02_47_32_169Z-debug.log

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