diff --git a/docs/faq/_category_.json b/docs/faq/_category_.json new file mode 100644 index 00000000..e605e28c --- /dev/null +++ b/docs/faq/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "FAQ", + "position": 5 +} diff --git a/docs/faq/common.md b/docs/faq/common.md new file mode 100644 index 00000000..e57e8c6d --- /dev/null +++ b/docs/faq/common.md @@ -0,0 +1,11 @@ +# Common errors + + +During your development with NestJS, you may encounter various errors as you learn the framework. This page will try to list the most common errors and how to fix them. + +### Cannot find module 'typescript' + +For now, anyone who has this issue has two options: + +- Add typescript to dependencies in your package.json and run a project +- Comment out (or remove) `__exportStar(require("./typescript"), exports);` in `node_modules/nestjs-i18n/dist/utils/index.js` diff --git a/package-lock.json b/package-lock.json index 122e4891..83bd6a4f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "nestjs-i18n", - "version": "10.3.1", + "version": "10.3.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "nestjs-i18n", - "version": "10.3.1", + "version": "10.3.2", "license": "MIT", "dependencies": { "accept-language-parser": "^1.5.0",