Giter VIP home page Giter VIP logo

Comments (10)

lc-soft avatar lc-soft commented on August 18, 2024

Please try to use the following command instead of npm run start:

npm run build:css
lcpkg export --filter runtime --arch x64 --mode debug app
lcui build
lcui run

from lcui-cli.

lc-soft avatar lc-soft commented on August 18, 2024

The npm install command will install the fs-extra module. Have you run it in the my-project directory?

from lcui-cli.

NikeshKhatiwada avatar NikeshKhatiwada commented on August 18, 2024

Please try to use the following command instead of npm run start:

npm run build:css
lcpkg export --filter runtime --arch x64 --mode debug app
lcui build
lcui run

Error:
image

from lcui-cli.

lc-soft avatar lc-soft commented on August 18, 2024
npm install
npm run start

from lcui-cli.

NikeshKhatiwada avatar NikeshKhatiwada commented on August 18, 2024
npm install
npm run start

Error:
image
image

from lcui-cli.

lc-soft avatar lc-soft commented on August 18, 2024

node-gyp uses Python 2. please install Python 2 and try again.

image

image

Or try to specify the binary download address to skip building node-sass.

npm install --sass-binary-site=http://npm.taobao.org/mirrors/node-sass

from lcui-cli.

NikeshKhatiwada avatar NikeshKhatiwada commented on August 18, 2024

I already have Python 2 installed. Still getting error...
image
image
image
image

from lcui-cli.

lc-soft avatar lc-soft commented on August 18, 2024

I'll take some time to improve this tool and project template to solve these problems. Please wait a few days.

from lcui-cli.

lc-soft avatar lc-soft commented on August 18, 2024

I've improved lcui-cli. Now you can try again by following these steps:

  1. Install the latest version of lcui-cli: npm install -g @lcui/cli@latest
  2. Delete lcui-quick-start.zip file if it is exists in your work directory
  3. Delete the last project you created using lcui-cli, Or use a new project name in the next step
  4. create project and built it:
lcui create lcui-app-project
lcui setup
lcui build
lcui run

from lcui-cli.

NikeshKhatiwada avatar NikeshKhatiwada commented on August 18, 2024

Errors are fixed now. I close the issue.

from lcui-cli.

Related Issues (1)

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.