Build a React App with ANT Design Principles
A tutorial showing how to use ANT design principles in a React application.
Build a React App with ANT Design Principles
A tutorial showing how to use ANT design principles in a React application.
Dear Okta,
Thank you for the tutorial. I went through it all, but in shows this; FAIL src/App.test.js
● Test suite failed to run
Cannot find module './Pages/Home' from 'AppWithRouterAccess.jsx'
2 | import { Route, useHistory } from 'react-router-dom';
3 | import { LoginCallback, SecureRoute, Security } from '@okta/okta-react';
> 4 | import Home from './Pages/Home'
| ^
5 | import Dashboard from './Pages/Dashboard'
6 | import Login from './Pages/Login'
7 |
at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:221:17)
at Object.<anonymous> (src/AppWithRouterAccess.jsx:4:1)
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 6.939s
Ran all test suites.
Are you using the same versions the blog post uses? If so, you might try cloning the repo and setting it up using the instructions in its README.