-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An accessor cannot be declared in an ambient context. #3619
Comments
This is a TypeScript issue, see:
To solve this problem, update your TypeScript version to 3.7.4. I'll publish another patch release with a downgraded TS |
Built a new Angular 9 project based on Angular-CLI release 9.0.0-rc.5 and @nestjs/ng-universal. `[Nest] 42078 - 12/11/2019, 9:51:13 AM [ExceptionsHandler] Cannot read property 'indexOf' of undefined +38797ms TypeError: Cannot read property 'indexOf' of undefined at /Users/kjelldirdal/buddydrive-ssr/node_modules/@nestjs/ng-universal/dist/utils/setup-universal.utils.js:35:43 at /Users/kjelldirdal/buddydrive-ssr/dist/server/main.js:105767:13 at View.engine (/Users/kjelldirdal/buddydrive-ssr/node_modules/@nestjs/ng-universal/dist/utils/setup-universal.utils.js:30:11) at View.render (/Users/kjelldirdal/buddydrive-ssr/node_modules/express/lib/view.js:135:8) at tryRender (/Users/kjelldirdal/buddydrive-ssr/node_modules/express/lib/application.js:640:10) at Function.render (/Users/kjelldirdal/buddydrive-ssr/node_modules/express/lib/application.js:592:3) at ServerResponse.render (/Users/kjelldirdal/buddydrive-ssr/node_modules/express/lib/response.js:1012:7) at /Users/kjelldirdal/buddydrive-ssr/node_modules/@nestjs/ng-universal/dist/angular-universal.module.js:60:66 at Layer.handle [as handle_request] (/Users/kjelldirdal/buddydrive-ssr/node_modules/express/lib/router/layer.js:95:5) at next (/Users/kjelldirdal/buddydrive-ssr/node_modules/express/lib/router/route.js:137:13)`` |
|
duplicate of #3513 that I've opened more than 2 weeks ago, there's more info there |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug Report
Environment
The text was updated successfully, but these errors were encountered: