Code Monkey home page Code Monkey logo

Comments (5)

ihatem avatar ihatem commented on June 21, 2024 1

I had the exact same issue, I fixed this by running zplug clear (worked with manual and brew install)

from zplug.

avallete avatar avallete commented on June 21, 2024

I have a similar issue. I tried to:

  • Uninstall from brew, and reinstall using the curl script. The issue is still here.

My .zshrc config is quite minimal:

# Install plugins if there are plugins that have not been installed
if ! zplug check --verbose; then
    printf "Install? [y/N]: "
    if read -q; then
        echo; zplug install
    fi
fi

# Then, source plugins and add commands to $PATH
zplug load --verbose

Which give me:

[zplug] Loaded from cache (/opt/homebrew/opt/zplug/cache)
__zplug::core::load::from_cache:12: no such file or directory: /opt/homebrew/opt/zplug/cache/fpath.zsh
__zplug::core::load::from_cache:source:17: no such file or directory: /opt/homebrew/opt/zplug/cache/plugin.zsh
__zplug::core::load::from_cache:source:18: no such file or directory: /opt/homebrew/opt/zplug/cache/lazy_plugin.zsh
__zplug::core::load::from_cache:source:19: no such file or directory: /opt/homebrew/opt/zplug/cache/theme.zsh
__zplug::core::load::from_cache:source:20: no such file or directory: /opt/homebrew/opt/zplug/cache/command.zsh
__zplug::core::load::from_cache:source:23: no such file or directory: /opt/homebrew/opt/zplug/cache/defer_1_plugin.zsh
[zplug] Run compinit
__zplug::core::load::from_cache:source:29: no such file or directory: /opt/homebrew/opt/zplug/cache/defer_2_plugin.zsh
__zplug::core::load::from_cache:source:30: no such file or directory: /opt/homebrew/opt/zplug/cache/defer_3_plugin.zsh

I've also tried to use ZPLUG_USE_CACHE=false but doesn't seems to help:

19:29:21|➜  ~ ZPLUG_USE_CACHE=false zplug load
__zplug::core::load::from_cache:12: no such file or directory: /opt/homebrew/opt/zplug/cache/fpath.zsh
__zplug::core::load::from_cache:source:17: no such file or directory: /opt/homebrew/opt/zplug/cache/plugin.zsh
__zplug::core::load::from_cache:source:18: no such file or directory: /opt/homebrew/opt/zplug/cache/lazy_plugin.zsh
__zplug::core::load::from_cache:source:19: no such file or directory: /opt/homebrew/opt/zplug/cache/theme.zsh
__zplug::core::load::from_cache:source:20: no such file or directory: /opt/homebrew/opt/zplug/cache/command.zsh
__zplug::core::load::from_cache:source:23: no such file or directory: /opt/homebrew/opt/zplug/cache/defer_1_plugin.zsh
__zplug::core::load::from_cache:source:29: no such file or directory: /opt/homebrew/opt/zplug/cache/defer_2_plugin.zsh
__zplug::core::load::from_cache:source:30: no such file or directory: /opt/homebrew/opt/zplug/cache/defer_3_plugin.zsh

from zplug.

thowimmer avatar thowimmer commented on June 21, 2024

Hi @avallete

did you found a fix for this issue ?

from zplug.

avallete avatar avallete commented on June 21, 2024

Hi @avallete

did you found a fix for this issue ?

Hey there, sadly no.

from zplug.

farzadmf avatar farzadmf commented on June 21, 2024

Same issue here, happening on a fresh install with brew on an Ubuntu machine (zplug clear didn't fix anything, unfortunately)


EDIT: seems like the issue happens when there's no call to zsplug .....
For example, I had, what I thought, the bare minimum to see if things are working:

export ZPLUG_HOME=/home/linuxbrew/.linuxbrew/opt/zplug
source $ZPLUG_HOME/init.zsh

zplug load --verbose

Once I added at least one plugin:

export ZPLUG_HOME=/home/linuxbrew/.linuxbrew/opt/zplug
source $ZPLUG_HOME/init.zsh

zplug '....'

zplug load --verbose

The error went away

Althought, honestly, I find the error messages to be super misleading!

from zplug.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.