LuaJS icon indicating copy to clipboard operation
LuaJS copied to clipboard

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

Open nmsderp opened this issue 11 months ago • 4 comments

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.

nmsderp avatar Mar 19 '24 23:03 nmsderp

@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?

Doridian avatar Mar 20 '24 02:03 Doridian

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 avatar Mar 20 '24 02:03 nmsderp

also it works fine locally, which is strange

nmsderp avatar Mar 20 '24 02:03 nmsderp

@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.

Doridian avatar Mar 26 '24 18:03 Doridian