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

Not able to compile assets in Card component #539

Closed
victorpfm opened this issue Sep 12, 2018 · 2 comments
Closed

Not able to compile assets in Card component #539

victorpfm opened this issue Sep 12, 2018 · 2 comments

Comments

@victorpfm
Copy link

victorpfm commented Sep 12, 2018

When I create a new card (php artisan nova:card acme/card) and try to compile the assets, it freezes.

> @ production C:\Users\Victor Paiva\Code\tennis-insights\nova-components\Card
> cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

 95% emitting

Windows 10
Node 6.3.0

@AegirLeet
Copy link

See laravel-mix/laravel-mix#1126.
Try adding mix.setPublicPath('./dist'); to your webpack.mix.js.

@victorpfm
Copy link
Author

It worked! Thanks!

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

2 participants