0

I am just following the tutorial listed on Angular JS, I am using Windows platform. I am on the bootstrapping page, I am stuck at app running; I have installed node JS and downloaded GitBash; when I opened command prompt and type node scripts\web-server.js in c:\users\supersonicseattle>; This appear:

Error: Cannot find module ' C:\users\supersonicseattle\scripts\web-server.js'
  at Function.Module._resolveFilename <module.js:338:15>
  at Function.Module._load <module.js:280:25>
  at Function.Module.runMain <module.js:497:10>
  at startup<module.js:119:16>
  at node.js:901:3

In addition, I am unable to open designated html local host in the internet browser, it always contains error.

Please help. Many Thanks in advance.

1
  • does that file exist? Also try .\scripts\web-server.js
    – SheetJS
    Commented Aug 6, 2013 at 3:42

1 Answer 1

0

Typically the directory c:\users\ is your user home directory - are you logged in as user name supersonicseattle? If so, you don't want to create your project there, you want to create it one level down.

Have you cloned the git repository yet? It so, it's probably one level down from the directory you're trying to run from.

1
  • I have cloned the git repository as instructed in the tutorial using gitbash. When I search the file for angular js, it shows that the file is in c:\superonicseattle. Also, I have tried entering .\scripts\web-server.js as suggested by Nirk. Could you also show me how to go one level down the directory. Many thanks. Commented Aug 6, 2013 at 7:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.