Could create helloworld project in typescript


Showing this ERROR :FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memo


Well, this isn’t very helpful, is it?

Please provide some more information, how and when the problem occurs. What is your operating system (RAM, is it 32 or 64bit)?
Which version of NativeScript?
What is the project like? Is it purely JS/TS/Angular+TS?


The problem occur in 32 bit OS . I have solve the problem make changes in node_modules/nativescript-dev-typescript/lib/compiler.js

–max_old_space_size=4096 to --max_old_space_size=1024.

please explain why It works when we reduce max_old_space_size.