Problems with promises in nw.js

There seems to be problems with promises in can.Components and stache templates when using nw.js

The simplest way I can demonstrate the problem is with the following:


const AppViewModel = Map.extend({
  define: {
    message: {
      value: 'Hello World!',
      serialize: false
    title: {
      value: 'NW.js Test',
      serialize: false
	testPromise: {
		value: function() {
			return new Promise(function(resolve, reject) {
				// do nothing


{{#if testPromise.isResolved}}

When running using “donejs develop”, the page will show “Loading…” as expected. When running under nw.js the page will be blank (not even “Hello World!” is displayed)

thanks for reporting! Can you create an issue here: