Crud: mkdir public/uploads -> syntax incorrect

Created on 13 Jan 2018  路  3Comments  路  Source: Laravel-Backpack/CRUD

I'm following the installation instructions on the webpage and it says:
3. BackpackCRUD
2) Run these command in this exact order:

The first command is:
mkdir public/uploads

I get the response:
The syntax of the command is incorrect.

What is it doing and why isn't it working? I copy the command from the website and I try to write it myself. It don't work.

The page I follow:
laravel-backpack.readme.io/v3.3/docs/install-on-laravel-55

:(

Ask-It-On-Stack-Overflow

Most helpful comment

My guess is that you are on Windows or some other operating system without a Unix like file system.

Try:

mkdir public
cd public
mkdir uploads

Or

mkdir public\uploads

All 3 comments

My guess is that you are on Windows or some other operating system without a Unix like file system.

Try:

mkdir public
cd public
mkdir uploads

Or

mkdir public\uploads

@tabacitu I'd propose a doc change but there's no way to change the docs...so the docs don't work under a Windows command prompt.

For confirmation that's what it was. I stopped programming and started to watch Vikings and in the middle of the show it just hit me about the backslash. Of course it worked. The documentation should be more clear about alternative for Windows. A lot Windows users are using Laravel.

Was this page helpful?
0 / 5 - 0 ratings