# How to node script

**URL:** <https://community.dreamfactory.com/t/how-to-node-script/3052>\
**Category:** Server-Side Scripting\
**Created:** [August 5, 2016, 3:47am UTC](https://community.dreamfactory.com/t/how-to-node-script/3052 "2016-08-05T03:47:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinod\_Hum](https://avatars.discourse-cdn.com/v4/letter/v/6f9a4e/32.png) [@Vinod\_Hum](https://community.dreamfactory.com/u/Vinod_Hum)\
**Post date:** [August 5, 2016, 3:47am UTC](https://community.dreamfactory.com/t/how-to-node-script/3052/1 "2016-08-05T03:47:06Z")

</div>

Hi,  
I have dreamfactory install on windows using bitnami.  
i have updated .evn file in httpd folder with node path as DF\_NODEJS\_PATH='C:\Program Files\nodejs’  
and ran php artisan config:clear

and created script -\> Process Event Scripts user user.register [POST] user.register user.register.post.pre\_process  
and script just has console.log(([platform.session.user.id](http://platform.session.user.id)) tried throwing error but that didnt work too.  
I can create user fine with rest api but node script is not getting executed.  
how to know if node script is getting executed and where to check console.log on windows with bitnami ?

---

<div class="post-metadata">

**Author:** ![Vinod\_Hum](https://avatars.discourse-cdn.com/v4/letter/v/6f9a4e/32.png) [@Vinod\_Hum](https://community.dreamfactory.com/u/Vinod_Hum)\
**Post date:** [August 15, 2016, 5:05pm UTC](https://community.dreamfactory.com/t/how-to-node-script/3052/2 "2016-08-15T17:05:13Z")

</div>

ok resloved it  
for user create event we have to create script at \> Process Event Scripts -\> system -\> system.user [POST] system.user
