Code Monkey home page Code Monkey logo

Comments (6)

Androz2091 avatar Androz2091 commented on May 23, 2024 1

Error line:

mounted() {
    this.showNotice()

    if (this.useDefaultCss) {
      require('./themes/default/index.styl')
    }

    eventBus.$on('toast-clear', this.close)
  },

Error data

vue.js:1184 [Vue warn]: Unhandled error during execution of mounted hook 
  at <Toast message="Logged as WHMCS BOT!" >
warn @ vue.js:1184
logError @ vue.js:1357
handleError @ vue.js:1349
callWithErrorHandling @ vue.js:1303
callWithAsyncErrorHandling @ vue.js:1309
hook.__weh.hook.__weh @ vue.js:3056
flushPostFlushCbs @ vue.js:1479
render @ vue.js:5942
render @ vue.js:9304
mount @ mount-component.js:14
show @ api.js:9
(anonymous) @ Settings.vue:109
Promise.then (async)
(anonymous) @ Settings.vue:104
Promise.then (async)
onSubmit @ Settings.vue:100
(anonymous) @ Settings.vue:4
(anonymous) @ vue.js:9216
callWithErrorHandling @ vue.js:1300
callWithAsyncErrorHandling @ vue.js:1309
invoker @ vue.js:8406

Toaster.vue:92 Uncaught (in promise) ReferenceError: require is not defined
    at Proxy.mounted (Toaster.vue:92)
    at callWithErrorHandling (vue.js:1300)
    at callWithAsyncErrorHandling (vue.js:1309)
    at Array.hook.__weh.hook.__weh (vue.js:3056)
    at flushPostFlushCbs (vue.js:1479)
    at Object.render (vue.js:5942)
    at render (vue.js:9304)
    at mount (mount-component.js:14)
    at Object.show (api.js:9)
    at Settings.vue:109

from vue-toaster.

Androz2091 avatar Androz2091 commented on May 23, 2024 1

waiting for a fix 😁
https://github.com/Androz2091/slash-commands-gui/blob/main/src/views/Settings.vue#L144

from vue-toaster.

jprodrigues70 avatar jprodrigues70 commented on May 23, 2024

Hi, @ysq352358871! Thanks for the issue report. Can you share your vue-toaster options and a step sequence to reproduce this error?

from vue-toaster.

jprodrigues70 avatar jprodrigues70 commented on May 23, 2024

issue closed for lack of explanation

from vue-toaster.

Androz2091 avatar Androz2091 commented on May 23, 2024

I'm getting the same error

from vue-toaster.

jprodrigues70 avatar jprodrigues70 commented on May 23, 2024

Fix in 1.2.1. Require was removed

from vue-toaster.

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.