futurecoder icon indicating copy to clipboard operation
futurecoder copied to clipboard

Running locally Error Module Not found

Open kakalpa opened this issue 2 years ago • 3 comments

OS : Win 11 22H2 npm : 9.6.3

Running npm run build gets a error saying Module not found: Error: Can't resolve './terms.json' in 'D:\projects\python\futurecoder\frontend\src'

what am I doing wrong here?

kakalpa avatar Apr 18 '23 06:04 kakalpa

Follow all the steps in https://github.com/alexmojaki/futurecoder#running-locally, particularly step 4.

alexmojaki avatar Apr 18 '23 09:04 alexmojaki

its a .sh file it seems I can't run it locally in windows. I have to use Linux for it.

kakalpa avatar Apr 18 '23 11:04 kakalpa

Just set the environment variable FUTURECODER_LANGUAGE=en (however that's done in Windows) and run the various poetry run commands in https://github.com/alexmojaki/futurecoder/blob/master/scripts/generate.sh.

alexmojaki avatar Apr 18 '23 11:04 alexmojaki