I am switching from the library windfield to breezefield and the error says:
Error
main.lua:5: module "libraries/windfield' not found:
no field package.preloadI'libraries/windfield'] no libraries/windfield' in LOVE game directories. no file 'libraries/windfield' in LOVE paths. no file "/libraries/windfield.lua'
no file 'Vusr/local/share/luajit-2.1/libraries/windfield.lua' no file 'Yusr/local/share/lua/5.1/libraries/windfield.lua' no file '/usr/local/share/lua/5.1/libraries/windfield/init.lua
no file '/libraries/windfield.so'
no file '/usr/local/lib/lua/5.1/libraries/windfield.so' no file 'Yusr/local/lib/lua/5.1/loadall.so'
Traceback
[love "callbacks.lua"]:228: in function 'handler'
IC]: in function 'require' main.lua: 5: in function "load'
[love "callbacks.lua"]:136: in function <[love "callbacks.lua"]:135>
[C]: in function 'xpcall'
IC]: in function 'xpcall'
Press CtrI+C or tap to copy this error
Im really not sure why as there is nothing in ny code anymore relates to windfield.
Error that says I need a library I deleted along with the require code
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 15
- Joined: Fri Jul 05, 2024 6:39 pm
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Error that says I need a library I deleted along with the require code
The error says line 5 of your main.lua is trying to load windfield.
-
- Prole
- Posts: 15
- Joined: Fri Jul 05, 2024 6:39 pm
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Error that says I need a library I deleted along with the require code
It sounds like you didn't save your file, maybe? Or you're running a different main.lua than you're editing?
-
- Prole
- Posts: 15
- Joined: Fri Jul 05, 2024 6:39 pm
Re: Error that says I need a library I deleted along with the require code
This worked but now im have the opposite issue... I added a new file and hooked it up to the code and put it in the correct spot. I have saved several times but no luck.
Re: Error that says I need a library I deleted along with the require code
can you post your main.lua?
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Semrush [Bot] and 9 guests