{"action":"opened","issue":{"url":"https://api.github.com/repos/nestjs/nest/issues/905","repository_url":"https://api.github.com/repos/nestjs/nest","labels_url":"https://api.github.com/repos/nestjs/nest/issues/905/labels{/name}","comments_url":"https://api.github.com/repos/nestjs/nest/issues/905/comments","events_url":"https://api.github.com/repos/nestjs/nest/issues/905/events","html_url":"https://github.com/nestjs/nest/issues/905","id":344364445,"node_id":"MDU6SXNzdWUzNDQzNjQ0NDU=","number":905,"title":"Trying to migrate app to use Fastify - The regex '/(([^\\/]+\\/?)*)/' is not safe!","user":{"login":"thaoula","id":349133,"node_id":"MDQ6VXNlcjM0OTEzMw==","avatar_url":"https://avatars1.githubusercontent.com/u/349133?v=4","gravatar_id":"","url":"https://api.github.com/users/thaoula","html_url":"https://github.com/thaoula","followers_url":"https://api.github.com/users/thaoula/followers","following_url":"https://api.github.com/users/thaoula/following{/other_user}","gists_url":"https://api.github.com/users/thaoula/gists{/gist_id}","starred_url":"https://api.github.com/users/thaoula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaoula/subscriptions","organizations_url":"https://api.github.com/users/thaoula/orgs","repos_url":"https://api.github.com/users/thaoula/repos","events_url":"https://api.github.com/users/thaoula/events{/privacy}","received_events_url":"https://api.github.com/users/thaoula/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-25T09:29:27Z","updated_at":"2018-07-25T09:29:27Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.\r\n\r\nISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.\r\n-->\r\n\r\n## I'm submitting a...\r\n<!-- \r\nPlease search GitHub for a similar issue or PR before submitting.\r\nCheck one of the following options with \"x\" -->\r\n<pre><code>\r\n[ ] Regression <!--(a behavior that used to work and stopped working in a new release)-->\r\n[X ] Bug report\r\n[ ] Feature request\r\n[ ] Documentation issue or request\r\n[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.\r\n</code></pre>\r\n\r\n## Current behavior\r\n<!-- Describe how the issue manifests. -->\r\nI am trying to use Fastify instead of express. I have followed the instructions on your website. The application finds all dependencies and reports bootstrapped. It then fails with the following \r\n\r\n(node:34) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]: The regex '/(([^\\/]+\\/?)*)/' is not safe!\r\n    at Router._on (/home/app/node_modules/find-my-way/index.js:134:11)\r\n    at Router.on (/home/app/node_modules/find-my-way/index.js:58:8)\r\n    at afterRouteAdded (/home/app/node_modules/fastify/fastify.js:586:16)\r\n    at Object._encapsulateThreeParam (/home/app/node_modules/avvio/boot.js:360:7)\r\n    at Boot.callWithCbOrNextTick (/home/app/node_modules/avvio/boot.js:308:5)\r\n    at Boot._after (/home/app/node_modules/avvio/boot.js:212:26)\r\n    at Plugin.exec (/home/app/node_modules/avvio/plugin.js:45:17)\r\n    at Boot.loadPlugin (/home/app/node_modules/avvio/plugin.js:125:10)\r\n    at Task.release (/home/app/node_modules/fastq/queue.js:127:16)\r\n    at worked (/home/app/node_modules/fastq/queue.js:169:10)\r\n    at toLoad.finish (/home/app/node_modules/avvio/plugin.js:128:7)\r\n    at done (/home/app/node_modules/avvio/plugin.js:86:5)\r\n    at check (/home/app/node_modules/avvio/plugin.js:97:7)\r\n    at process._tickCallback (internal/process/next_tick.js:61:11)\r\n(node:34) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n(node:34) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n\r\nI am not sure how to debug this issue further.\r\n\r\n## Expected behavior\r\n<!-- Describe what the desired behavior would be. -->\r\n\r\n\r\n## Minimal reproduction of the problem with instructions\r\n<!-- Please share a repo, a gist, or step-by-step instructions. -->\r\n\r\n## What is the motivation / use case for changing the behavior?\r\n<!-- Describe the motivation or the concrete use case. -->\r\nApp starts up with out an issue :)\r\n\r\n## Environment\r\n\r\n<pre><code>\r\nNest version: 4.1.0\r\n<!-- Check whether this is still an issue in the most recent Nest version -->\r\n \r\nFor Tooling issues:\r\n- Node version: 10  <!-- run `node --version` -->\r\n- Platform:  Mac (Docker) <!-- Mac, Linux, Windows -->\r\n\r\nOthers:\r\n<!-- Anything else relevant?  Operating system version, IDE, package manager, ... -->\r\nWe are the nest-router\r\n\r\n</code></pre>\r\n"}}
{"actor":{"display_login":"thaoula"}}