Comments (5)
Anthony filled me in. https://github.com/privatenumber/tsx/releases/tag/v4.11.0 should silence errors if the auto-detected tsconfig is invalid (only explicitly passed in ones error).
from tsx.
The error when running the nuxt/nuxi prepare
command is about missing ./.nuxt/tsconfig.json
file (the command will generate it):
I can apply a woraround using TSX_TSCONFIG_PATH
with a dummy/custom tsconfig.json
file and running TSX_TSCONFIG_PATH=tsconfig.prepare-nuxt.json nuxi prepare
from tsx.
Thanks for the issue.
Sorry, I don't have the context of Nuxt and Nuxi. I'm having trouble figuring out if you're actually reporting a tsx bug, or opening a feature request for better support for Nuxt.
As per the warning in the issue template, there doesn't seem to be a minimal reproduction so I'm going to close this for now.
Would you mind updating the issue so it's less about Nuxt and more about the actual tsx bug + minimal reproduction? Let me know when it's updated and I'll re-open.
from tsx.
Sure, I'm trying to figure out what's the problem, we have a few dependencies: unconfig, importx and jiti/tsx
from tsx.
@privatenumber thx, it should be fixed also in importx
on next release (then unconfig
then unocss nuxt
), tested on my local and works, thx again ❤️ :
from tsx.
Related Issues (20)
- Hot-reloading not working with Docker HOT 1
- `tsImport` results are various from whether `type: "module"` is set or not HOT 1
- `ERR_PACKAGE_IMPORT_NOT_DEFINED` on 4.16.0 HOT 1
- Parent-child pipes not relayed HOT 2
- CJS named import interop doesn't work from an ESM package HOT 2
- resolver prioritizes extension guessing over real path HOT 3
- tsx depends on golang package with vulnerability HOT 2
- `tsx watch` in `concurrently` hangs on Windows if there are certain modules imports HOT 4
- Not supported to run in the VSCode extension HOT 9
- regression: path ".." no longer supported HOT 3
- `__esModule` interop is applied to .cjs files HOT 1
- Can't --require/--import when using --env-file HOT 1
- Transformed file accesses out of scope variables in certain situations
- ESM only: The requested module './generated/index.js' does not provide an export named 'ConfigurationSetting' HOT 1
- how to run with pm2? HOT 1
- Unexpected identifier assert HOT 1
- Watch mode the dynamic import will restart the process.
- .
- Fix in 4.16.3 broke use of certain libraries when allowJs is true HOT 2
- `watch --include=.dotfile` does not watch the .dotfile 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 tsx.