-
Notifications
You must be signed in to change notification settings - Fork 316
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
npx create-remix@latest bugs when selecting JavaScript #182
Comments
Just hit the same bug as a newcomer to Remix, opting for Javascript. Doesn't exactly inspire confidence given the lack of response to the issue. |
Fixed by remix-run/remix#4891, which was released in v1.9.0 on Dec 16 2022. Additional improvements to the TS->JS conversion were made in remix-run/remix#5163 along with a write up of the approach in the form of a decision doc: https://github.com/remix-run/remix/blob/dev/decisions/0008-only-support-js-conversion-for-app-code.md |
I am getting the same issue on new laptop on Windows 11. |
What version of Remix are you using?
1.8.2
Steps to Reproduce
On an M1 Mac, MacOs 12.6.1. Running the create-remix@latest/indie stack, I get a bunch of errors when I select JavaScript (works if I choose Typescript)
Using nvm, I tested on fresh installs of node v19.2.0, v18.12.1, and v16.18.1. Same errors on each.
Looks like these might be ESM related. (Sorry, totally new to Remix)
On the setup described above, as of Dec 7, 2022, running the following I get a bunch of errors. (See below)
Expected Behavior
I would expect it to install without these errors.
Actual Behavior
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
The text was updated successfully, but these errors were encountered: