Comments (5)
for me exchanging some packets worked for local deployment. Got rid of your mentioned issue like so:
git clone https://github.com/nimeshnayaju/yjs-tldraw.git
cd yjs-tldraw
edit package.json as follows:
"dependencies": {
[...]
"@tldraw/tldraw": "1.25.0",
[...]
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
[...]
yarn
yarn start
http://localhost:3000
from yjs-tldraw.
I have no idea to solve this issue in my case.
I think it's typescript type conflict?
from yjs-tldraw.
I have no idea to solve this issue in my case.
I think it's typescript type conflict?
when you follow the steps mentioned above no such errors should appear
from yjs-tldraw.
Follow the steps without problems but i just realize when only using the latest version "@tldraw/tldraw": "1.26.0"
with this issue.
When i downgrade to "@tldraw/tldraw": "1.25.0" can be fine.
The sample file is "@tldraw/tldraw": "1.25.0" so without issues.
from yjs-tldraw.
I got the same error, and then when I change package.json belong like this, and run yarn build
again, the results is fine.
[root@centos7 yjs-tldraw]# cat package.json
{
"name": "yjs-tldraw",
"version": "1.0.0",
"description": "",
"keywords": [],
"main": "src/index.tsx",
"dependencies": {
"@tldraw/tldraw": "1.25.0",
"@types/react": "18.0.8",
"@types/react-dom": "18.0.8",
"@y-presence/client": "1.1.8",
"mobx": "6.3.10",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-scripts": "5.0.1",
"y-websocket": "1.4.0",
"yjs": "13.6.0-2"
},
"devDependencies": {
"@types/react": "18.0.8",
"@types/react-dom": "18.0.8",
"typescript": "4.4.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}
from yjs-tldraw.
Related Issues (2)
- Any update forecasted ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yjs-tldraw.