Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Cannot resolve module 'redux-auth/default-theme' #544

Closed
tonven opened this issue Dec 28, 2016 · 1 comment
Closed

Cannot resolve module 'redux-auth/default-theme' #544

tonven opened this issue Dec 28, 2016 · 1 comment

Comments

@tonven
Copy link

tonven commented Dec 28, 2016

Hi. I used aspnetcore-spa generator with react-redux.
Iinstalled npm package redux-auth.
After it I updated Home. tsx file:

import * as React from 'react';
import { EmailSignUpForm } from "redux-auth/default-theme";
export default class Home extends React.Component<any, void> {
    public render() {
        return <div>
            <EmailSignUpForm />;
        </div>;
    }
}

But now I am getting error when trying to run webpack:
Cannot find module 'redux-auth/default-theme'.
Is there anything I forgot to do?
Thank you in advance.

@SteveSandersonMS
Copy link
Member

Since you're using TypeScript, you must also provide type information, e.g., .d.ts files or a @types package.

Based on a quick search of npmjs.org, I don't see any @types package for redux-auth, but people are talking about it here: mjrussell/redux-auth-wrapper#50

Closing as not an issue in this repo.

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

No branches or pull requests

2 participants