Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jaumard opened this issue Apr 28, 2017 · 1 comment
Open

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

jaumard opened this issue Apr 28, 2017 · 1 comment

Comments

@jaumard
Copy link

jaumard commented Apr 28, 2017

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

> ngx-dashboard-base@1.0.4 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

@jaumard
Copy link
Author

jaumard commented May 15, 2017

Any idea of what is causing that ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant