lc-soft / LCUI

C library for building user interfaces
https://lcui-dev.github.io
MIT License
4.13k stars 356 forks source link

Unable to execute `lcui create myapp` #225

Closed ZhUyU1997 closed 3 years ago

ZhUyU1997 commented 3 years ago

Describe the bug After installing @lcui /cli by cnpm, unable to execute lcui create myapp

To Reproduce Steps to reproduce the behavior:

  1. sudo cnpm install -g @lcui/cli
  2. lcui create myapp After my check, I modify the "/usr/local/bin/lcui" attribute from CRLF to LF, then work fine. I think this is the key.

Screenshots image

Environment (please complete the following information):

lc-soft commented 3 years ago

这个命令暂时只适用于 Windows 系统。

d1y commented 3 years ago

Describe the bug After installing @lcui /cli by cnpm, unable to execute lcui create myapp

To Reproduce Steps to reproduce the behavior:

1. sudo cnpm install -g @lcui/cli

2. lcui create myapp
   After my check, I modify the "/usr/local/bin/lcui" attribute from CRLF to LF, then work fine. I think this is the key.

Screenshots image

Environment (please complete the following information):

* OS and version: Ubuntu 20.04

npm -g 就可以