Project: appceleratorstudio
Issue TISTUD-7747: LiveView does not work: Script Error Couldn't find module: localeStrings for architecture: x86_64
We've had a number of users reporting LiveView does not work anymore on Q&A: https://community.appcelerator.com/topic/3518/error-script-error-couldn-t-find-module-localestrings-for-architecture-x86_64/11 On a freshly installed El Capitan I can now reproduce this as well, every time. LiveView never works. Suspecting NodeJS was involved, I've tried both the version our installers installs (0.10.37), 0.10.40 and 0.12.7 but all with the same result: {code} [INFO] : Launching iOS Simulator [LiveView] version 1.0.8 [LiveView] File Server Started on Port 8324 [LiveView] Event Server Started on Port 8323 [INFO] : Application started [INFO] : LiveView/1.0 (5.0.2.92c2265) [ERROR] : Script Error Couldn't find module: localeStrings for architecture: x86_64 {code} I've done some debugging in https://github.com/appcelerator/liveview/blob/master/build/liveview.js The following I found at [#391|https://github.com/appcelerator/liveview/blob/master/build/liveview.js#L391]: {code} [INFO] : url undefined [INFO] : defaultURL 10.0.1.4 {code} The last is my computer's public IP. The following I've found on [#562|https://github.com/appcelerator/liveview/blob/master/build/liveview.js#L562]: {code} [INFO] : readyState 4 [INFO] : status 0 [INFO] : responseText The operation couldn’t be completed. No such file or directory {code} As pointed out in the Q&A, indeed changing the {{defaultURL}} to {{127.0.0.1}} resolves the issue. *So it seems using the computer's public IP is not working but it's unclear why for some and for me before it does.*
Story points: 8