tbaltrushaitis / cv

:mortar_board: Best in Class modern CV, Resume and Portfolio website template. All-in-One-Page site with simply customizable builder.
http://bit.ly/tomascv
MIT License
575 stars 206 forks source link

make setup error #19

Closed christopherdrewery closed 4 years ago

christopherdrewery commented 4 years ago

Attempting to get this set-up via my macbook which is running Catalina (10.15.3)

Following error at make setup.

_Chriss-MacBook-Pro:cv Admin$ sudo make setup
Password:
cp: illegal option -- u
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
cp: illegal option -- u
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
/bin/sh: md5sum: command not found
[15:56:40] Created file [BUILD-0.2.6:1]
[15:56:40] Created file [BUILD_CONTENT:/Users/chris/cv/config/build.json]
[15:56:40] Created file [COMMIT:028e99202cc959a20f2d47cd10e05d4050b124f6]
[15:56:40] GOALS
[15:56:40]   \-- DEFAULT: [default]
[15:56:40]   \-- CURRENT: [setup]
┌──────────────────────────────────────────────────────────────────────┐
│   ______     __    ____   ___  ____ _____ _____ ___  _     ___ ___   │
│  / ___\ \   / /_  |  _ \ / _ \|  _ \_   _|  ___/ _ \| |   |_ _/ _ \  │
│ | |    \ \ / /| |_| |_) | | | | |_) || | | |_ | | | | |    | | | | | │
│ | |___  \ V /_   _|  __/| |_| |  _ < | | |  _|| |_| | |___ | | |_| | │
│  \____|  \_/  |_| |_|    \___/|_| \_\|_| |_|   \___/|_____|___\___/  │
│                                                                      │
└──────────────────────────────────────────────────────────────────────┘
make: npm: No such file or directory
make: *** [setup-deps] Error 1
Chriss-MacBook-Pro:cv Admin$_ 

Any help around dependencies or debugging?

C.

tbaltrushaitis commented 4 years ago

Hi, @christopherdrewery !

Looks like there is no -u option for cp command in your MacOS. Try to walk through Makefile, find any occurences of cp command and remove u flag if it exists.

Hope this helps!

tbaltrushaitis commented 4 years ago

@christopherdrewery,

Can you please confirm that issue is solved with the solution I've provided?

Thank you!

Joshuab171 commented 4 years ago

I am trying to create this for my online portfolio because it looks awesome! However, when I run the "make setup" command in my git bash terminal as admin, I am getting a bunch of errors and not sure how to resolve. See console below:

$ make setup
[00:47:27] Created file [BUILD-0.2.6:7]
[00:47:27] Created file [BUILD_CONTENT:/c/Users/joshua burrows/Documents/GIT/cv/config/build.json]
[00:47:27] Created file [COMMIT:028e99202cc959a20f2d47cd10e05d4050b124f6]
/usr/bin/sh: line 0: [: /c/Users/joshua: binary operator expected
mkdir: cannot create directory ‘/c/Users/joshua’: File exists
mkdir: cannot create directory ‘burrows/Documents/GIT/cv/src’: No such file or directory
/usr/bin/sh: line 0: [: /c/Users/joshua: binary operator expected
mkdir: cannot create directory ‘/c/Users/joshua’: File exists
mkdir: cannot create directory ‘burrows/Documents/GIT/cv/build-0.2.6’: No such file or directory
/usr/bin/sh: line 0: [: /c/Users/joshua: binary operator expected
mkdir: cannot create directory ‘/c/Users/joshua’: File exists
mkdir: cannot create directory ‘burrows/Documents/GIT/cv/dist-0.2.6’: No such file or directory
/usr/bin/sh: line 0: [: /c/Users/joshua: binary operator expected
mkdir: cannot create directory ‘/c/Users/joshua’: File exists
mkdir: cannot create directory ‘burrows/Documents/GIT/cv/web-0.2.6-7’: No such file or directory
[00:47:27] GOALS
[00:47:27]   \-- DEFAULT: [default]
[00:47:27]   \-- CURRENT: [setup]
Makefile:145: burrows/Documents/GIT/cv/bin/*.mk: No such file or directory
make: *** No rule to make target 'burrows/Documents/GIT/cv/bin/*.mk'.  Stop.
Joshuab171 commented 4 years ago

How can I do that?

tbaltrushaitis commented 4 years ago

Hi @Joshuab171!

It was developed to run Linux environment and not in Windows. However you can try to run it from the folder which does not contain spaces in its path /joshua burrows/ - is your bottleneck.

Hope this helps!

tbaltrushaitis commented 4 years ago

Closing due to inactivity of stakeholders.