Could create helloworld project in typescript


#1

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


#2

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?


#3

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.