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

Module not found: Error: Can't resolve './' #66

Open
nmsderp opened this issue Mar 19, 2024 · 4 comments
Open

Module not found: Error: Can't resolve './' #66

nmsderp opened this issue Mar 19, 2024 · 4 comments

Comments

@nmsderp
Copy link

nmsderp commented Mar 19, 2024

there is this react app at https://github.com/Bismuthium/Lunar but our gh workflow fails when it gets to LuaJS

Run yarn build
yarn run v1.22.22
$ react-scripts build
Creating an optimized production build...
Failed to compile.

Module not found: Error: Can't resolve './' in '/home/runner/work/Lunar/Lunar/node_modules/@doridian/luajs/dist'


error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
@Doridian
Copy link
Owner

@nmsderp Looking at your repo, I see no build failures, but also no usage of LuaJS?
Is that build error on a branch or fork so I can try to reproduce it locally?

@nmsderp
Copy link
Author

nmsderp commented Mar 20, 2024

we decided to remove luajs here is an old commit so you could fix the issue for future uses https://github.com/Bismuthium/Lunar/tree/13413c985bced518a17e5b9a9472e888c6a4431e

@nmsderp
Copy link
Author

nmsderp commented Mar 20, 2024

also it works fine locally, which is strange

@Doridian Doridian changed the title Weird Error Module not found: Error: Can't resolve './' Mar 26, 2024
@Doridian
Copy link
Owner

@nmsderp It shows this error for me locally as well. Sadly so far I had no luck finding the cause, let alone fixing the problem.

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

2 participants