node.jsvue.jsvuex-modules

I am getting an error in my Vue page but my project is running despite the error


warning picture

[Vue warn]: provide is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().


Solution

  • This is a warning, it's not an error.
    In some cases, you can ignore it and leave your life peacefully.

    If you want to have more help regarding the warning, I guess that you need to find out where this part of the code is called.