Git Product home page Git Product logo

Comments (8)

ram33z avatar ram33z commented on August 22, 2024 5

Removed ^ from "@tldraw/tldraw": "2.0.0-alpha.17" to use an absolute version so that it doesn't uses canary release..worked for me.

from draw-a-ui.

steveruizok avatar steveruizok commented on August 22, 2024 4

Hey, tldraw author here. We'll check on whether the canary has a problem with its CSS exports. The alpha should work here though for sure.

from draw-a-ui.

SawyerHood avatar SawyerHood commented on August 22, 2024

What package manager are you using?

Could you delete node_modules, run npm ci, and then npm run dev?

I just run this on a clean machine and it worked

from draw-a-ui.

0xlarry avatar 0xlarry commented on August 22, 2024

I tried that, same error.

I am using [email protected] and [email protected]

from draw-a-ui.

0x-sen avatar 0x-sen commented on August 22, 2024

I tried that, same error.

I am using [email protected] and [email protected]

the same error

while use yarn (version: 1.22.19)

image

while use npm (version: 9.8.1)

image

maybe you use yarn to install ?

from draw-a-ui.

kawana77b avatar kawana77b commented on August 22, 2024

There seems to be a code difference between the alpha version and the canary version (at least the old) in the @tldraw/tldraw release.
It is possible that the installed package version has been swapped to canary.
Checking the package.json and node_modules may help.
For example, if I followed the procedure pnpm install followed by pnpm update,
I confirmed that 2.0.0-canary.ffda4cfb is installed and this event occurs.

One way is to remove all node_modules, clean the source, and then run npm install. I have had no problems with pnpm too.
In this case it works fine for me.

Hope this helps in resolving this. 😃

from draw-a-ui.

0xlarry avatar 0xlarry commented on August 22, 2024

still does not work, still getting the same error even after your suggestion :/.... I am not sure what to do here

from draw-a-ui.

kawana77b avatar kawana77b commented on August 22, 2024

That's odd because the Docker container for your Node version and npm version works in my environment. 😟

Does node_modules/@tldraw/tldraw/tldraw.css exist in your execution workspace?
Is the version of node_modules/@tldraw/tldraw/package.json 2.0.0-alpha.17?

It is not certain, but npm cache verify may solve the problem.

from draw-a-ui.

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.