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

Crash on startup #8

Closed
swoolcock opened this issue Dec 18, 2021 · 3 comments
Closed

Crash on startup #8

swoolcock opened this issue Dec 18, 2021 · 3 comments

Comments

@swoolcock
Copy link

Crashes both with the .app and the .love, same error.

macOS Big Sur 11.6.1

Error

utils/filesystem.lua:2: module 'nfd' not found:
no field package.preload['nfd']no file 'selene/selene/lib/nfd.lua'
no file 'selene/selene/lib/nfd/init.lua'
no file 'olympUI/nfd.lua'
no file 'olympUI/nfd/init.lua'
no file 'nfd/nfd.lua'
no file 'nfd.lua'
no file 'nfd/init.lua'
no 'nfd' in LOVE game directories.
no file 'nfd' in LOVE paths.
no file './nfd.lua'
no file '/usr/local/share/luajit-2.1.0-beta3/nfd.lua'
no file '/usr/local/share/lua/5.1/nfd.lua'
no file '/usr/local/share/lua/5.1/nfd/init.lua'
no file './nfd.so'
no file '/usr/local/lib/lua/5.1/nfd.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/Users/shane/Downloads/nfd.so'


Traceback

[C]: in function 'require'
utils/filesystem.lua:2: in function 'f'
selene/selene/wrappers/searcher/love2d/searcher.lua:27: in function <selene/selene/wrappers/searcher/love2d/searcher.lua:22>
[C]: in function 'require'
utils/utils.lua:2: in function 'f'
selene/selene/wrappers/searcher/love2d/searcher.lua:27: in function <selene/selene/wrappers/searcher/love2d/searcher.lua:22>
[C]: in function 'require'
meta.lua:1: in function 'f'
selene/selene/wrappers/searcher/love2d/searcher.lua:27: in function <selene/selene/wrappers/searcher/love2d/searcher.lua:22>
[C]: in function 'require'
selene_main.lua:3: in function 'f'
selene/selene/wrappers/searcher/love2d/searcher.lua:27: in function <selene/selene/wrappers/searcher/love2d/searcher.lua:22>
[C]: in function 'require'
main.lua:23: in function 'load'
main.lua:33: in function <main.lua:31>
[C]: in function 'xpcall'
[C]: in function 'xpcall'
@swoolcock
Copy link
Author

Duplicate of #2 I guess.

@swoolcock
Copy link
Author

FYI: I fixed this by downgrading system Lua to 5.1 and copying nfd.so from Olympus into /usr/local/lib/lua/5.1

@Vexatos Vexatos reopened this Dec 19, 2021
@Vexatos
Copy link
Member

Vexatos commented Jan 2, 2022

Fixed in next build after more testing with @swoolcock. Thank you.

@Vexatos Vexatos closed this as completed Jan 2, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants