Sublime Forum

Node.js Build System for ST3

#1

I’m trying to create a ST3 build system file for Windows 7. Here’s what I have so far:

{
	"shell_cmd": "node.exe", "$file"],
	"path": "c:\\Program Files\\nodejs",
	"selector": "source.js"]
}

I assume I have an error in the file. ST3 reports the following error:

TypeError: Can’t convert ‘list’ object to str implicitly

Any help would be appreciated.

0 Likes

#2

Old question but since this was the first thing that came up when I went looking for a solution to the same problem, thought I’d post the answer.

Using “cmd” instead of “shell_cmd” will probably work. See ST3: shell_cmd uses login shells? for more info.

0 Likes