Node API unrecognized

43 views
Skip to first unread message

fg

unread,
Mar 14, 2013, 9:30:23 AM3/14/13
to script...@googlegroups.com
scripted 0.4

$ scr app.js

- type "console.log ..." in the browser editor
- hit "Ctrl - S" to save it
-> "console is not defined", see attached


Hugues Malphettes

unread,
Mar 16, 2013, 11:01:58 AM3/16/13
to script...@googlegroups.com
Hi there,

I had the same observation.
I placed a .jshintrc file in the folder and added the setting:
{ "node"          : true }
Problem gone.

You could also try scripted on scripted codebase:

  cd scripted
  scr .

I hope this helps,
Hugues
Reply all
Reply to author
Forward
0 new messages