admin管理员组文章数量:1388835
OK, so I installed nodeJS and I am using WAMP. I go to CMD and type node
. It works. Here's my problem:
As you can see, it it does not.. when I try to test hello.js
. I am a plete newb... please help me out here?
However, I do know PHP and JavaScript... but it's just that nodeJS is... not so nice.
OK, so I installed nodeJS and I am using WAMP. I go to CMD and type node
. It works. Here's my problem:
As you can see, it it does not.. when I try to test hello.js
. I am a plete newb... please help me out here?
However, I do know PHP and JavaScript... but it's just that nodeJS is... not so nice.
Share Improve this question asked Jan 27, 2012 at 0:43 testtest 18.2k67 gold badges173 silver badges245 bronze badges2 Answers
Reset to default 5you trying to start hello.js from node REPL (read-evaluate-print console ). Just exit from REPL (double ctrl+c) and type in shell mand prompt "node hello.js"
Looks like you're copying the mands verbatim, including the (Unix) shell prompt. Try ctrl-d or ctrl-z then enter to get out the Node kand line interface and return to cmd.exe and try your mand again.
本文标签: phpBeginner at nodeJS using WAMPStack Overflow
版权声明:本文标题:php - Beginner at nodeJS... using WAMP - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744590783a2614477.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论