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
I just created a new service. Amplification created a service-admin and service-server folder. I started both and tried to login through admin react app
What you expected to happen
I used
username: admin
password: admin
and expect that I am loggedin. but I get an error
How to reproduce
let amplification generate a new project
start server and admin according to readme
open localhost:3000 and use admin:admin and click login
I get this error:
:3001/#/login:1 Error while trying to use the following icon from the Manifest: http://localhost:3001/logo192.png (Download error or resource isn't a valid image)
ra-auth-jwt.ts:21
POST http://localhost:3000/graphql net::ERR_CONNECTION_REFUSED
(anonymous) @ createHttpLink.ts:156
Subscription @ module.js:190
subscribe @ module.js:264
(anonymous) @ index.ts:22
Promise.then (async)
(anonymous) @ index.ts:17
Subscription @ module.js:190
subscribe @ module.js:264
complete @ Concast.ts:213
Concast.start @ Concast.ts:104
Concast @ Concast.ts:84
QueryManager.getObservableFromLink @ QueryManager.ts:1001
(anonymous) @ QueryManager.ts:244
(anonymous) @ QueryManager.ts:232
step @ tslib.es6.mjs:147
(anonymous) @ tslib.es6.mjs:128
(anonymous) @ tslib.es6.mjs:121
__awaiter @ tslib.es6.mjs:117
QueryManager.mutate @ QueryManager.ts:177
ApolloClient.mutate @ ApolloClient.ts:354
login @ ra-auth-jwt.ts:21
(anonymous) @ useLogin.js:39
submit @ Login.tsx:19
callCallback @ react-dom.development.js:188
invokeGuardedCallbackDev @ react-dom.development.js:237
invokeGuardedCallback @ react-dom.development.js:292
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:306
executeDispatch @ react-dom.development.js:389
executeDispatchesInOrder @ react-dom.development.js:414
executeDispatchesAndRelease @ react-dom.development.js:3278
executeDispatchesAndReleaseTopLevel @ react-dom.development.js:3287
forEachAccumulated @ react-dom.development.js:3259
runEventsInBatch @ react-dom.development.js:3304
runExtractedPluginEventsInBatch @ react-dom.development.js:3514
handleTopLevel @ react-dom.development.js:3558
batchedEventUpdates$1 @ react-dom.development.js:21871
batchedEventUpdates @ react-dom.development.js:795
dispatchEventForLegacyPluginEventSystem @ react-dom.development.js:3568
attemptToDispatchEvent @ react-dom.development.js:4267
dispatchEvent @ react-dom.development.js:4189
unstable_runWithPriority @ scheduler.development.js:653
runWithPriority$1 @ react-dom.development.js:11039
discreteUpdates$1 @ react-dom.development.js:21887
discreteUpdates @ react-dom.development.js:806
dispatchDiscreteEvent @ react-dom.development.js:4168
Show 42 more frames
Show less
react-dom.development.js:88 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node
in div (created by ForwardRef(Paper))
in ForwardRef(Paper) (created by WithStyles(ForwardRef(Paper)))
in WithStyles(ForwardRef(Paper)) (created by ForwardRef(SnackbarContent))
in ForwardRef(SnackbarContent) (created by WithStyles(ForwardRef(SnackbarContent)))
in WithStyles(ForwardRef(SnackbarContent)) (created by Transition)
in Transition (created by ForwardRef(Grow))
in ForwardRef(Grow) (created by ForwardRef(Snackbar))
in div (created by ClickAwayListener)
in ClickAwayListener (created by ForwardRef(Snackbar))
in ForwardRef(Snackbar) (created by WithStyles(ForwardRef(Snackbar)))
in WithStyles(ForwardRef(Snackbar)) (created by Notification)
in Notification (at Login.tsx:103)
in div (at Login.tsx:27)
in div (at Login.tsx:26)
in ThemeProvider (at Login.tsx:25)
in Login (created by Context.Consumer)
in Route (created by CoreAdminUI)
in Switch (created by CoreAdminUI)
in CoreAdminUI (created by AdminUI)
in AdminUI (created by Admin)
in Router (created by ConnectedRouter)
in ConnectedRouter (created by Context.Consumer)
in ConnectedRouterWithContext (created by Connect(ConnectedRouterWithContext))
in Connect(ConnectedRouterWithContext) (created by CoreAdminContext)
in TranslationProvider (created by CoreAdminContext)
in Provider (created by CoreAdminContext)
in CoreAdminContext (created by AdminContext)
in AdminContext (created by Admin)
in Admin (at App.tsx:42)
in div (at App.tsx:38)
in App (at src/index.tsx:10)
in StrictMode (at src/index.tsx:9)
Amplication version
2.0.5
Environment
No response
Are you willing to submit PR?
No response
The text was updated successfully, but these errors were encountered:
What happened?
I just created a new service. Amplification created a service-admin and service-server folder. I started both and tried to login through admin react app
What you expected to happen
I used
username: admin
password: admin
and expect that I am loggedin. but I get an error
How to reproduce
I get this error:
Amplication version
2.0.5
Environment
No response
Are you willing to submit PR?
No response
The text was updated successfully, but these errors were encountered: