Skip to content
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

output from env script not compiling with Angular 8.2.1 #13

Closed
rosstimothy opened this issue Aug 12, 2019 · 2 comments
Closed

output from env script not compiling with Angular 8.2.1 #13

rosstimothy opened this issue Aug 12, 2019 · 2 comments
Labels

Comments

@rosstimothy
Copy link

rosstimothy commented Aug 12, 2019

ERROR in environments/environment.prod.ts:6:8 - error TS1192: Module '".../src/environments/.env"' has no default export.

6 import env from './.env';
         ~~~
environments/environment.ts:6:8 - error TS1192: Module '".../src/environments/.env"' has no default export.

6 import env from './.env';
@sinedied
Copy link
Member

Please post ngx --debug-infos result as it's hard to help without any hints on the versions your are using

@sinedied
Copy link
Member

If you updated your project manually (especially the @ngx-rocket/scripts package, it should now be import { env } from './.env';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants