gazben / laravel-vue-admin

Laravel integration with vue-admin
35 stars 17 forks source link

symlink issues on OS X #1

Closed ssh-keyz closed 7 years ago

ssh-keyz commented 7 years ago

Both build dev and build prod fail with: Linking.. Creating symlink. Target: /home/vagrant/Code/laravel-vue-admin/resources/assets/frontend/dist/assets/css Link: /home/vagrant/Code/laravel-vue-admin/public/assets/css symlink(): No such file or directory I am on OS X Sierra.

The same output occurs when using the homestead vagrant box.

gazben commented 7 years ago

Did you run the php artisan build:install command, then the php artisan build:dev? Do you have write permission to the frontend folder?

ssh-keyz commented 7 years ago

Yes, unfortunately still facing the same problem even with sudo. Is there anything else I'm missing? I ran: npm install composer install cp .env.example .env; php artisan key:generate

Here's a screenshot of console output. image

gazben commented 7 years ago

That's odd. Somehow in your case the logo.png cannot be found. Try it now, the exceptions will caught during symlink creation.

You can add your logo later.

ssh-keyz commented 7 years ago

One thing to note before I try: symlinks can't be created for directories on OS X. Just a heads up.

ssh-keyz commented 7 years ago

Works perfectly, thanks for the help!