Closed robbykrlos closed 2 years ago
Investigation:
https://github.com/laravel-enso/enso/blob/master/client/package.json is using
"@enso-ui/ui": "^5.0",
And
"@enso-ui/ui": "^5.0", is using
"@enso-ui/users@^2.0"
It seems that there are references in yarn.lock to multiple versions of the same project after this update :
@enso-ui/ui": "^5.0
and @enso-ui/ui": "^6.0
@enso-ui/users@^2.0
and @enso-ui/users@^3.0
@enso-ui/users-groups@^2.0
and @enso-ui/users-groups@^3.0
I managed to fix the error by setting my package.json to
"@enso-ui/ui": "^6.0",
yarn install && yarn build.
Can you confirm this is the fix?
Still not working:
new Warning:
[Vue Router warn]: Unexpected error when starting the router: TypeError: _enso_ui_ui_src_core_services_store__WEBPACK_IMPORTED_MODULE_0__.default.state.auth is undefined
redirect auth.js:8
guardToPromiseFn vue-router.esm-bundler.js:1934
guardToPromiseFn vue-router.esm-bundler.js:1908
runGuardQueue vue-router.esm-bundler.js:3416
promise callback*runGuardQueue/< vue-router.esm-bundler.js:3416
runGuardQueue vue-router.esm-bundler.js:3416
navigate vue-router.esm-bundler.js:3136
promise callback*navigate vue-router.esm-bundler.js:3119
pushWithRedirect vue-router.esm-bundler.js:3030
push vue-router.esm-bundler.js:2966
install vue-router.esm-bundler.js:3380
use runtime-core.esm-bundler.js:3808
js enso.js:27
new Errro:
Uncaught (in promise) Error: [vuex] do not mutate vuex store state outside mutation handlers.
assert vuex.esm-browser.js:83
enableStrictMode vuex.esm-browser.js:347
callWithErrorHandling runtime-core.esm-bundler.js:155
callWithAsyncErrorHandling runtime-core.esm-bundler.js:164
job runtime-core.esm-bundler.js:1779
triggerEffects reactivity.esm-bundler.js:359
trigger reactivity.esm-bundler.js:329
set reactivity.esm-bundler.js:484
setI18n localisation.js:28
wrappedMutationHandler vuex.esm-browser.js:298
commitIterator vuex.esm-browser.js:982
commit vuex.esm-browser.js:981
_withCommit vuex.esm-browser.js:1139
commit vuex.esm-browser.js:980
boundCommit vuex.esm-browser.js:917
loadGuestState store.js:86
promise callback*loadGuestState store.js:83
wrappedActionHandler vuex.esm-browser.js:305
dispatch vuex.esm-browser.js:1031
boundDispatch vuex.esm-browser.js:914
mappedAction vuex.esm-browser.js:1280
created Auth.vue:12
callWithErrorHandling runtime-core.esm-bundler.js:155
callWithAsyncErrorHandling runtime-core.esm-bundler.js:164
callHook runtime-core.esm-bundler.js:2965
hi @robbykrlos
We will release this week v5.0 that has breaking changes on both BE & FE.
You should not use UI 6.0 until the release and upgrade steps are public.
Meanwhile, use yarn why and determine what is requiring users@3.0 / ui@6.0
hi @robbykrlos
We will release this week v5.0 that has breaking changes on both BE & FE.
You should not use UI 6.0 until the release and upgrade steps are public.
Meanwhile, use yarn why and determine what is requiring users@3.0 / ui@6.0
Hi, thanks for the reply, meanwhile we reverted yarn.lock to previous version.
Thanks for the explanation.
This is a bug.
Prerequisites
Description
Hi,
Just update today 2022.03.03 - 19:16.
Yarn serve has this warning
and
Application is not working anymore (build or serve):
Any hints for us?
Thanks!