Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generator not found on ARM64 #104

Closed
allestaire opened this issue May 16, 2024 · 3 comments
Closed

Generator not found on ARM64 #104

allestaire opened this issue May 16, 2024 · 3 comments

Comments

@allestaire
Copy link

allestaire commented May 16, 2024

Already tried installing 1.1.5 but no lock
This was the error occuring

...ocal/share/nvim/lazy/codesnap.nvim/lua/codesnap/init.lua:62: module 'generator' not found:
^Ino field package.preload['generator']
cache_loader: module generator not found
cache_loader_lib: module generator not found
^Ino file './generator.lua'
^Ino file '/opt/homebrew/share/luajit-2.1.0-beta3/generator.lua'
^Ino file '/usr/local/share/lua/5.1/generator.lua'
^Ino file '/usr/local/share/lua/5.1/generator/init.lua'
^Ino file '/opt/homebrew/share/lua/5.1/generator.lua'
^Ino file '/opt/homebrew/share/lua/5.1/generator/init.lua'
^Ino file './generator.so'
^Ino file '/usr/local/lib/lua/5.1/generator.so'
^Ino file '/opt/homebrew/lib/lua/5.1/generator.so'
^Ino file '/usr/local/lib/lua/5.1/loadall.so'
return {
  "mistricky/codesnap.nvim",
  version = "1.1.5",
  build = "make",
  keys = {
    { "<leader>cc", "<cmd>CodeSnap<cr>", mode = "x", desc = "Save selected code snapshot into clipboard" },
    { "<leader>cs", "<cmd>CodeSnapSave<cr>", mode = "x", desc = "Save selected code snapshot in ~/Documents" },
  },
  opts = {
    save_path = "~/Documents",
    has_breadcrumbs = true,
    bg_theme = "bamboo",
  },
}
@mistricky
Copy link
Owner

Hi @allestaire, have you tried build from source?

@BloodSucker123
Copy link

Sorry for the issue,
It was been solve, the problem is, my system is missing RUST, it must be installed

Thanks for this cool tech guys

@bilalbayasut
Copy link

hi, I get exactly same issue, installing rust did not solve it, how did you solve this ? @BloodSucker123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants