Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

'npm run build' failed right out of the box. #40

Closed
smatthews1999 opened this issue Aug 20, 2016 · 7 comments
Closed

'npm run build' failed right out of the box. #40

smatthews1999 opened this issue Aug 20, 2016 · 7 comments

Comments

@smatthews1999
Copy link

smatthews1999 commented Aug 20, 2016

This is not working on a newly created project...
In fact it's creating a directory in my root called '-p'.
npm-debug.log.txt

@julien
Copy link
Owner

julien commented Aug 20, 2016

hi @smatthews1999,

Thanks for reporting.
so according to the log, this is what's failing

21 error Failed at the yotest@1.0.0 prebuild script 'mkdir -p build && mkdir -p build/custom '.

I'll check it out, but I can't test on Windows right now.

@smatthews1999
Copy link
Author

In fact it's creating a directory in my root called '-p'.
Can you please tell me where this script is located? I am not familiar with this build system.

@julien
Copy link
Owner

julien commented Aug 20, 2016

oops.

Well yeah sure, check out the scripts section of the package.json file, if it's not urgent I'm working on a fix that should be up in the next 30 minutes.

julien added a commit that referenced this issue Aug 20, 2016
@julien
Copy link
Owner

julien commented Aug 20, 2016

@smatthews1999 I just pushed the fix_mkdir branch which should solve the problem, I tested on linux and I still works, I'll have time to try on Windows later on but in the meantime you can try it out.

julien added a commit that referenced this issue Aug 20, 2016
@julien
Copy link
Owner

julien commented Aug 20, 2016

@smatthews1999 I just published v0.41.0 on npm tell me how that works for you. Cheers

@smatthews1999
Copy link
Author

I found the commands in package.json and was trying some fixes.

but your fix works great!

Thanks.

@julien
Copy link
Owner

julien commented Aug 20, 2016

Good news ;) and you're welcome.

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

No branches or pull requests

2 participants