-
Notifications
You must be signed in to change notification settings - Fork 18
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
Type-checking errors aren't reported #43
Comments
What do you mean by "it doesn't work"? Do you get any errors, any crashes? Or you don't get a behaviour you expect? The warnings are pretty self-explanatory :
It means you need to have
It means the optional dependency |
No.
I expect type checking in Parcel and none occurs.
Isn't v1.9.0 and v1.9.1 part of that range? |
Yes
Please provide a reproduction Did you try using |
Repro: (1) Create an empty folder and add this
(2) Create an
(3) install and run (Windows 10)
(4) notice lack of type checking
|
Awesome, that's perfect, thanks. Will check ASAP. |
i have same problem as @qwertie parcel not reporting ts errors, while i have a Using |
I always get a pass when using this plugin when |
If it helps I get this each time:
|
I receive the exact same error while using typescript. yarn run v1.7.0 |
@quantuminformation NOTE: if you have a , on the last line in "compilerOptions" it breaks. Removing this comma, fixes the issue. https://stackoverflow.com/questions/201782/can-you-use-a-trailing-comma-in-a-json-object/201856#201856 |
Thanks @Vipsey. It's weird that "parcelTsPluginOptions": {
"transpileOnly": false
} does not work but "parcelTsPluginOptions": {} works. |
the needs-repro can be removed, I suppose. |
Since there are no instructions for running the plug-in within parcel I assume it is supposed to work automatically - is that right? - but for me it doesn't.
My
parcel --version
is1.9.0
but during installation I'm told "npm WARN [email protected] requires a peer of parcel-bundler@^1.9.0 but none is installed. You must install peer dependencies yourself."Any ideas? I installed both with
--global
, then tried reinstallingparcel-bundler
andparcel-plugin-typescript
with--save-dev
; this time I got v1.9.1 and the warning message did not appear, but when running.\node_modules\.bin\parcel
there is no sign that the plugin is running, e.g. no type errors.Other warnings did appear:
The text was updated successfully, but these errors were encountered: