Giter Site home page Giter Site logo

Can't run the lit.dev project. about lit.dev HOT 3 CLOSED

zh-lx avatar zh-lx commented on July 27, 2024
Can't run the lit.dev project.

from lit.dev.

Comments (3)

augustjk avatar augustjk commented on July 27, 2024

That's odd. npm run dev from the root directory does work for me. Assuming npm ci was done already, what version of npm are you on? The only reason I can think of for this error is that it's not recognizing the --workspace flag which was added in some version of npm v7. I'm on npm v9 and I think some members of our team are using v10.

There's been a community member who also wanted to do a Chinese translation here too: #817
Unfortunately we haven't been able to move forward on a sustainable approach to adding localization for the site #355

from lit.dev.

zh-lx avatar zh-lx commented on July 27, 2024

Thank you for your answer, my npm version is v6. It can work now after I upgraded my npm version.

I didn't notice that someone had already translated this part of the information into Chinese before, and now I think this can help me save a lot of work. I think a good way to keep Chinese and English documents synchronized is for me to translate them separately on the branch I cloned. When there is a new commit in the main branch of lit.dev, I just need to compare the diff and update the corresponding content on my branch.

Thank you again for your help!

from lit.dev.

AndrewJakubowicz avatar AndrewJakubowicz commented on July 27, 2024

Closing as it looks like the issue has been resolved. Please re-open if anything else comes up!
Thank you!

from lit.dev.

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.