Comments (12)
After changing module to NodeNext
in tsconfig, it's getting an unknown error.
from create-t3-app.
weird cus it worked for me using pnpm
from create-t3-app.
you can use v4.0.8 till we fix this issue,
pnpx [email protected]
from create-t3-app.
@nexxeln Can you try cloning the repo into a new directory and running:
npm i
npm build
npm start
I was able to run those commands and scaffold successfully.
I also noticed that the published version of this package (4.2.7) differs from the version I get when running after a fresh clone (4.2.2).
from create-t3-app.
I was also able to successfully run the package after installing the latest version (4.2.7).
from create-t3-app.
I also noticed that the published version of this package (4.2.7) differs from the version I get when running after a fresh clone (4.2.2).
Yeah I haven't pushed yet.
I was also able to successfully run the package after installing the latest version (4.2.7).
It works as expected?
from create-t3-app.
@nexxeln To be crystal clear:
Running npx create-t3-app@latest
fails with the error we've seen before.
Running npm i -g create-t3-app@latest
, navigating to the install location and running npm start
seems to work ok.
I wonder if this is a directory/path issue somewhere. From my preliminary testing, the application never makes it out of https://github.com/nexxeln/create-t3-app/blob/194683722346cf1a43fe69f22e9da70d3395c8fc/src/cli/index.ts#L33 the function called here, runCli
.
Whenever npx
is used everything breaks.
from create-t3-app.
Yeah definitely the problem is in that file. Me and @asheeeshh are investigating.
from create-t3-app.
It's the getVersion
function inside getT3Version.ts
@nexxeln
Comment outing https://github.com/nexxeln/create-t3-app/blob/main/src/cli/index.ts#L66 seems to unblock the issue.
from create-t3-app.
Thank you for spotting that. Fix is on the way.
from create-t3-app.
Fixed but there is a new issue. See #65
from create-t3-app.
This is why tests are required lol
from create-t3-app.
Related Issues (20)
- docs: Installation documentation says "three commands" but lists four
- feat: PlanetScale w/ foreign key constraints HOT 1
- feat: use `#!/usr/bin/env bash` in all scripts
- bug: NextAuth redirecting to "/login" after authentication & signing out. HOT 8
- bug: "Cannot use namespace 'Database' as a type." TS error when using drizzle & better-sqlite-3 on a brand new T3 app HOT 2
- bug: `.env.js` always validates `DATABASE_URL` for `YOUR_MYSQL_URL_HERE` even when using a different database provider HOT 1
- bug: Start database script doesn't generate url encoded database password HOT 1
- bug: inconsistent dynamic loggerLink HOT 1
- bug: NextAuth (Auth.js) with Keycloak Provider expects non-existent `refresh_expires_in` field under `Account` table HOT 1
- bug: escaped newline in `echo` does not display properly HOT 1
- make it clear `start-database.sh` is optional
- feat: is this template good for t3 collection page? HOT 1
- feat: remove planetscale cli option HOT 1
- bug: When NextAuth authentication provider is selected, the Next Steps section need to indicate setting up Discord client info in .env file HOT 3
- bug: Error: Tried to access "$types.prototype" which is not available at runtime HOT 2
- bug: 'Error: Tried to access "$types.prototype" which is not available at runtime' (tRPC error when using --turbo flag)
- bug: HOT 1
- bug: Invalid environment variables when running on local
- bug: db:push throws "invalid url" HOT 6
- tRPC is not working properly in server component in App router due to root.ts file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from create-t3-app.