You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Current configuration of ReactRedux project doesn't work well with TypeScript code actions. In my case I have two files:
/ClientApp/logs/components/LogsList.tsx
/ClientApp/logs/components/OperationLogs.tsx
When I try to add import to LogsList.tsx from OperationLogs.tsx the following line is added:
import { LogsList } from 'ClientApp/logs/components/LogsList';
Visual Studio doesn't show any errors but then when I run application I get such error:
NodeInvocationException: Prerendering failed because of error: Error: Cannot find module "ClientApp/logs/components/LogsList"
I have already reported to TypeScript repository that in such case they could use relative path microsoft/TypeScript#15888 (comment), but it would be nice to have that correctly configured in template.