Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

TypeError: Object(...) is not a function #19

Closed
Rolanddoda opened this issue Nov 17, 2019 · 0 comments
Closed

TypeError: Object(...) is not a function #19

Rolanddoda opened this issue Nov 17, 2019 · 0 comments

Comments

@Rolanddoda
Copy link

I cloned the project and ran npm install. Next, I ran npm run serve but this is what I got:

image

It seems that the issue is coming from using readonly in @store/index line 61:

export const NotificationProvider = createComponent({
  setup() {
    provide(key, {
      ...toRefs(readonly(state)), // <= HERE
      ...computeds,
      ...actions,
    })
    return {}
  },
  render(h) {
    return h('div', this.$slots.default)
  },
})
@Rolanddoda Rolanddoda changed the title TypeError: Object(...) is not a function (project is not running) TypeError: Object(...) is not a function Nov 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants