solid-ui icon indicating copy to clipboard operation
solid-ui copied to clipboard

[CLI] Something went wrong while configuring your tsconfig.json.

Open xehpuk opened this issue 2 years ago • 2 comments

npx solidui-cli@latest init
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
│
◇  Would you like to use TypeScript? (recommended)
│  No
│
◇  Where is your global CSS file?
│  src/styles/root.css
│
◇  Where is your tailwind.config.js located?
│  tailwind.config.js
│
◇  Configure the import alias for the src directory:
│  ~/*
│                                                                                                                                                                                                                                    
◇  ui.config.json successfully created!                                                                                                                                                                                              
│                                                                                                                                                                                                                                    
◇  Done configuring your tsconfig.json                                                                                                                                                                                               
│                                                                                                                                                                                                                                    
◇  Done creating utils.ts file!                                                                                                                                                                                                      
│
◇  ui.preset.js successfully created!
│
◇  Done done configuring your tailwind.config.cjs
│
◇  Done Writing CSS styles!
│
◆  Project configuration completed.
│
◆  Would you like to install the required dependencies? (recommended)
│  ● Yes / ○ No
└
│
■  Something went wrong while configuring your tsconfig.json. Please make sure it is formatted correctly and doesn't contain any comments.

Note: There is no tsconfig.json as I chose not to use TypeScript.

xehpuk avatar Jan 02 '24 15:01 xehpuk

Also: A utils.ts (instead of utils.js) was created.

xehpuk avatar Jan 02 '24 15:01 xehpuk

The problem with the javascript version is that it's still in the early stages and wasn't developed any further after Michael took a break from the project. But I'll put it on the list of things that I'll do next.

If you want to contribute feel free to open a PR :)

stefan-karger avatar Jan 03 '24 11:01 stefan-karger