This repository has been archived by the owner on Jan 6, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
aae44df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As of now this breaks JeffreyWay/laravel-mix.
Reported laravel-mix/laravel-mix#521
aae44df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, actually this commit fixes that. Please update
aae44df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kentcdodds How should it with the path hardcoded in https://github.com/laravel/laravel/blob/master/package.json?
aae44df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jankal Looks like it's been updated in laravel/laravel but locally people won't get the update.
aae44df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see the problem. You should not be relying on the location of the
bin
file. npm will pre-load thenode_modules/.bin
directory with all thebin
s you install and that directory is added to yourPATH
for your npm scripts. cross-env will not consider file location as part of the public API and therefore you should expect no guarantee that there will not be breaking changes in this regard (that said it's highly unlikely to change from now on).I will open a PR on that repo to fix this :) <3
aae44df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @kentcdodds