jaumard / ngx-dashboard

Dashboard library for angular 4 and more
https://jaumard.github.io/ngx-dashboard/demo/demoDist/index.html
MIT License
71 stars 31 forks source link

Problem with the command line "ln -s ../../src/dist/ ." #31

Closed mariela21180 closed 7 years ago

mariela21180 commented 7 years ago

Me dice: ""ln" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable." No se como solucionarlo.

jaumard commented 7 years ago

Hello,

This command work only in Mac and Linux system, if you are on windows you need to find the right command to create a symlink

mariela21180 commented 7 years ago

Oh, I see...

After many, many tests, I get to do it. The Windows command is:

mklink /D dist ....\src

I had to use the cmd.exe run as administrator, and use the "src" folder, because with "src\dist" there was an error that diddn't find the modules.

You can add this to the documentation if you want, in case it helps someone else

jaumard commented 7 years ago

Glad you make it work :) your command is strange but I don't know nothing about windows ^^ I added the command on the readme. Thanks for sharing !

mariela21180 commented 7 years ago

Opps, there is a typo, sorry. Seems like Github re-write it from .. \ .. \ to ....\ Here is an image of the correct command:

image

Yes, the command is strange, and I had to try many ways until one worked haha. On windows seems like we have to say it in the opposite way (create this in here, instead of create here this), and with the bar \ not /, and instead of create the "dist" symlink on the "../../src/dir" I had to create it on "../../src" for it to detect the modules.

Glad to share! :) Thanks to you for publish the dashboard!

jaumard commented 7 years ago

Better now :) I update the readme ;)