Skip to content

ENOENT: no such file or directory, open 'src/dist/package.json' #13

@jaumard

Description

@jaumard

Hi,

I'm using this command:
ngm build -p src --clean

But it fail to clean the dist folder properly because I have this error : ENOENT: no such file or directory, open 'src/dist/package.json'

Here the full log:

ng2-dashboard jaumard$ npm run ngm

> [email protected] ngm /Users/jaumard/LISAProjects/ng2-dashboard
> ngm build -p src --clean

[18:38:30] Clean dist folders [started]
[18:38:30] Cleaning src/dist [started]
[18:38:30] Cleaning src/dist [completed]
[18:38:30] Cleaning src/dist [started]
[18:38:30] Cleaning src/dist [completed]
[18:38:30] Clean dist folders [completed]
[18:38:30] Copy md files and license [started]
[18:38:30] Copy md files and license [completed]
[18:38:30] Build package.json files [started]
[18:38:30] Build package.json files [failed]
[18:38:30] → ENOENT: no such file or directory, open 'src/dist/package.json'

ENOENT: no such file or directory, open 'src/dist/package.json'

If I look the dist folder package.json is still here with LICENSE and README.md. If I delete them then it works great.

I'm using node v7.9.0 on Mac OS X

Thanks for this module, it save me a lot of trouble packing my module ! :D

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