Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Windows 10 CLI new-project symlink

Started by Muut Archive 10 years ago · 2 replies · 355 views
10 years ago

Have Grav CLI running on Windows 10 -- for the most part. One issue seemingly remains.

The issue involves an incomplete build when running bin/grav new-project C:/MAMP/htdocs/zzMyNewProject

The directories and files seem to load. However, the process ends with:

BASH
...
Pages Initializing
    C:\MAMP\htdocs\gravBlog/user/pages -> Created
    mappings: /.editorconfig does not exist!
    mappings: /codeception.yml does not exist!

install should be run with --symlink|--s to symlink first

The following has no effect:

BASH
bin/grav --s new-project C:/MAMP/htdocs/zzMyNewProject

Maybe the created directory structure C:\MAMP\htdocs\gravBlog/user/pages (mix of forward and back slashes) is causing the problem?

When I then cd to the created folder and run `bin/grav install' to install the dependencies, an error results:

BASH
$ bin/grav install
'eval' is not recognized as an internal or external command,
operable program or batch file.
ERROR Missing .dependencies file in user/ folder
ERROR invalid YAML in .dependencies

I'm sure that this has something to do with the symlink reference. However, a stackoverflow search on this returns a rabbit-hole of regx fixes. I'd rather not go down that path. Any suggestions?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1354 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4065 9 years ago
Archive · by Muut Archive, 9 years ago
1 2953 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago