Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solid + Tailwind, setting allowJs to true causes tsconfig.json to complain about overwriting input files #1127

Closed
MarByteBeep opened this issue Nov 15, 2023 · 1 comment

Comments

@MarByteBeep
Copy link

Describe the bug

If I set allowJS: true in the tsconfig.json, vscode suddenly gives me warnings like these:

Cannot write file 'c:/svn/test/postcss.config.cjs' because it would overwrite input file.

Your Example Website or App

None

Steps to Reproduce the Bug or Issue

  1. Install Solid + Tailwind
npm init solid@latest

# select Solid + Tailwind

npm install
  1. Edit tsconfig.json and add allowJs: true
  2. Observe VSCode warnings

Expected behavior

There should be no warnings

Screenshots or Videos

No response

Platform

"devDependencies": {
"autoprefixer": "^10.4.15",
"postcss": "^8.4.28",
"solid-start-node": "^0.3.10",
"tailwindcss": "^3.3.3",
"typescript": "^4.9.5",
"vite": "^4.4.9"
},
"dependencies": {
"@solidjs/meta": "^0.29.1",
"@solidjs/router": "^0.8.3",
"solid-js": "^1.8.5",
"solid-start": "^0.3.10"
},
"engines": {
"node": "18"
}

Additional context

No response

@ryansolid ryansolid transferred this issue from solidjs/solid Nov 21, 2023
@ryansolid
Copy link
Member

In setting up for SolidStart's next Beta Phase built on Nitro and Vinxi we are closing all PRs/Issues that will not be merged due to the system changing. If you feel your issue was closed by mistake. Feel free to re-open it after updating/testing against 0.4.x release. Thank you for your patience.

See #1139 for more details.

CodingKoopa added a commit to hackbinghamton/hackathon-manager that referenced this issue Jan 2, 2024
We only ever use JS for our configs, and this was causing this error:
solidjs/solid-start#1127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants