question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Errors with Vue example

See original GitHub issue

I tried installing the Vue example with npm and it failed - I try not to use npm. Then did yarn install and all went well. However when I go yarn run serve I get:

yarn run v1.22.10
$ vue-cli-service serve
 INFO  Starting development server...
98% after emitting CopyPlugin

 ERROR  Failed to compile with 4 errors                                                                                             6:49:29 pm
This dependency was not found:

* yjs in ./node_modules/@reactivedata/reactive-crdt/dist/reactive-crdt.module.js, ./node_modules/@reactivedata/yjs-reactive-bindings/dist/yjs-reactive-bindings.module.js and 2 others

To install it, you can run: npm install --save yjs
Issues checking in progress...
Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'
No issues found.

I just wanted to have a quick play, so don’t go to any trouble. I’m new to yjs and saw your post: https://discuss.yjs.dev/t/reactive-crdt-easy-to-use-api-to-use-yjs-and-build-collaborative-apps/507/7

I understand you are using a fork of yjs.

FYI For managing state I was using NX Observe, then moved to onChange and more recently the reactive code in Acebase which is the best fit so far.

I am now looking seriously at yjs which is how I discovered your lib. The ability to use plain JS objects and arrays is very appealing. I don’t use Vue or React 😀

PS. I’m using Node v16.1.0 on Windows 10

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
clibucommented, May 27, 2021

@YousefED If you try:

> yarn install
> cd to todo-vue
> yarn install
> yarn run serve

and see if it works for you.

0reactions
YousefEDcommented, Jul 15, 2021

@clibu I expect this is resolved in the latest version

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue Error Handling - Mastering JS
Vue instances have an errorCaptured hook that Vue calls whenever an event handler or lifecycle hook throws an error. For example, the below ......
Read more >
Error handling, debugging, and tracing in Vue.js
In this tutorial, we'll demonstrate how to handle errors, set up a debugger, and trace errors efficiently in Vue.js.
Read more >
Error/Exception handling in Vue.js application | by Arun Redhu
For error handling, we can assign a handler function to Vue.config.errorHandler . The handler gets called for any uncaught exceptions within any ...
Read more >
Handling Errors in Vue.js - Raymond Camden
A look at handling errors in your VueJS applications. ... This example will not display an error to the user but will have...
Read more >
Error and Exception handling in Vue.js applications - Lavalite
Vue.js has a global vu.config object which has all the global configurations for the application. These configurations can be overridden with ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found