# Creating a Custom Authorizers for AWS on windows

**URL:** <https://community.auth0.com/t/creating-a-custom-authorizers-for-aws-on-windows/8858>\
**Category:** Get Help\
**Tags:** aws, custom-authorizers\
**Created:** [November 30, 2017, 8:51pm UTC](https://community.auth0.com/t/creating-a-custom-authorizers-for-aws-on-windows/8858 "2017-11-30T20:51:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![eli.sack](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@eli.sack](https://community.auth0.com/u/eli.sack)\
**Post date:** [November 30, 2017, 8:51pm UTC](https://community.auth0.com/t/creating-a-custom-authorizers-for-aws-on-windows/8858/1 "2017-11-30T20:51:47Z")

</div>

I followed the tutorial [Secure AWS API Gateway Endpoints Using Custom Authorizers - Auth0 Docs](https://auth0.com/docs/integrations/aws-api-gateway/custom-authorizers/part-3) regarding creating a Custom Authorizers for AWS every thing is good till I run the “npm run bundle” it removes all the files but I cant find any zip.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [November 30, 2017, 10:15pm UTC](https://community.auth0.com/t/creating-a-custom-authorizers-for-aws-on-windows/8858/2 "2017-11-30T22:15:53Z")

</div>

Yes, the `npm run bundle` is dependent on a `zip` system utility that is not available on windows and the command itself triggers multiple commands in a way that is not platform agnostic so that command is not really supported on Windows.

From a quick look that command would create a \*.zip with the `node_modules` directory and also all the `*.js` and `*.json` files in the current directory so you may want to just replicate that behavior by hand using whatever Zip utility you have available on Windows. I’ll also let the documentation team know about this given that at least a warning should be present in the docs; thanks for reporting.

---

<div class="post-metadata">

**Author:** ![eli.sack](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@eli.sack](https://community.auth0.com/u/eli.sack)\
**Post date:** [November 30, 2017, 10:32pm UTC](https://community.auth0.com/t/creating-a-custom-authorizers-for-aws-on-windows/8858/3 "2017-11-30T22:32:56Z")

</div>

@jmangelo thanks for your answer do I need to copy the full node\_modules directory? it has a lot of stuff init. Sorry I am new at node.js

Eli

---

<div class="post-metadata">

**Author:** ![eli.sack](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@eli.sack](https://community.auth0.com/u/eli.sack)\
**Post date:** [November 30, 2017, 10:32pm UTC](https://community.auth0.com/t/creating-a-custom-authorizers-for-aws-on-windows/8858/4 "2017-11-30T22:32:56Z")

</div>

@jmangelo thanks for your answer do I need to copy the full node\_modules directory? it has a lot of stuff init. Sorry I am new at node.js

Eli

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [November 30, 2017, 10:41pm UTC](https://community.auth0.com/t/creating-a-custom-authorizers-for-aws-on-windows/8858/5 "2017-11-30T22:41:12Z")

</div>

Yes, based on my observations. I basically download the sample, run `npm install` and then `npm run bundle` in a Mac; the outcome was a zip containing the full `node_modules` directory plus all the `*.js` and `*.json` files.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:57am UTC](https://community.auth0.com/t/creating-a-custom-authorizers-for-aws-on-windows/8858/6 "2018-03-02T05:57:36Z")

</div>


