Nonexisting target error
See original GitHub issueI’m using the latest version (1.11.1) of DotBot and my current setup looks like the following:
~/.dotfiles
dotbot
install
install.conf.yaml
My install
file:
#!/usr/bin/env bash
set -e
CONFIG="install.conf.yaml"
DOTBOT_DIR="dotbot"
DOTBOT_BIN="bin/dotbot"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
git submodule update --init --recursive "${DOTBOT_DIR}"
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
My install.conf.yaml
file:
- defaults:
link:
create: true
relink: true
- clean: ['~']
- link:
~/.iterm2: iterm2
~/.vscode: vscode
- shell:
- [git submodule update --init --recursive, Installing submodules]
Every time I run install
I get the message:
All targets have been cleaned
Nonexistent target ~/.iterm2 -> iterm2
Nonexistent target ~/.vscode -> vscode
Some links were not successfully set up
Installing submodules [git submodule update --init --recursive]
All commands have been executed
==> Some tasks were not executed successfully
I’m using the very much close to default as I could, but clearly I’m missing something…
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
CMake non-existent-target error when trying to build OpenCV ...
CMake non-existent-target error when trying to build OpenCV 3 world module on Ubuntu - Stack Overflow. Stack Overflow for Teams – Start collaborating...
Read more >cmake does not report an error when linking to nonexisting target ...
cpp to compile because of header problems, where I'm assuming that transitive interface include_directories are coming from target special_lib ... but oh man......
Read more >Error 'File is a symlink to a non-existent target' - Ask Ubuntu
The autosaved file is #sum.cpp# . The symlink .#sum.cpp is used by Emacs to store some internal data (seems like user name, host...
Read more >How to solve 'add_dependencies Adding dependency to non ...
After I finished it and ran catkin_make , error occurred. add_dependencies Adding dependency to non-existent target: example_node.
Read more >lookup field enster non existing data in target column
Solved: Hi I have a list edited with powerapps. Lookup field takes info from other field in site. Can i confoigure this field...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That worked! I don’t know why, but I thought that DotBot would move the nonexistent folders and create the symlinks for them. (I’m actually creating my first .dotfiles, hence not having any folders). Anyway, thank you for shedding some light on my noobness @anishathalye and @arcticicestudio
Hi @anishathalye.
Backgroud
I checked README, set the dir, then ran with the
./install
command, and dotbot saidSome tasks were not executed successfully
.I thought I missed something, so I checked recommended tutorial, and found out I have to copy the dotfile to the newly created directory. And still a failure.
Finally, I got here and realized I have to delete the original dotfile.
I think the issue above is caused by the line
To get started, you just need to fill in the install.conf.yaml and Dotbot will take care of the rest
. Dotbot is not taking care of all the things.Advice
I suggest it would be better to provide a simple 1~x guide under the Quickstart section, it would be
install.conf.yml
./install
Thank you for creating dotbot.