Git Product home page Git Product logo

Comments (3)

robbykrlos avatar robbykrlos commented on August 22, 2024

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

from enso.

aocneanu avatar aocneanu commented on August 22, 2024

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 [email protected] / [email protected]

from enso.

robbykrlos avatar robbykrlos commented on August 22, 2024

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 [email protected] / [email protected]

Hi, thanks for the reply, meanwhile we reverted yarn.lock to previous version.

Thanks for the explanation.

from enso.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.