Ionic platform add and ionic build module.js:340

I created an app using 'ionic start app_name blank'. But i'm getting an error

module.js:340
    throw err;
          ^
Error: Cannot find module 'C:\s'
    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 (node.js:119:16)
    at node.js:906:3
Hook failed with error code 8: C:\Users\sabari\Desktop\make\vengayam\hooks\after
_prepare\010_add_platform_class.js

I'm facing the same error while building the project too.

Someone please help me out. thanks in advance. !!!

I reinstalled nodejs(64 bit) and added its path to my path variable. And the error is gone. Hope this might help others who face the same problem. Still if anyone face the same problem, the problem is definitely not with the operating system. Again make sure to add all necessary things to your path variable in the right way.

Specially for Windows users the Ionic Team has developed the Ionic Box. Take a look here: http://ionicframework.com/blog/ionic-vagrant-android/

Ionic Box, an all-in-one project for setting up hybrid development environments more quickly and easily.