- This topic has 2 replies, 2 voices, and was last updated 5 years, 6 months ago by eric.r.glass.
-
AuthorPosts
-
eric.r.glassParticipantI have tsconfig.json created and experimentalDecorators is set to true, but CodeMix keeps on complainging that it is not set.
Experimental support for decorators is a feature that is subject to change in a future release. Set the ‘experimentalDecorators’ option to remove this warning.
support-swapnaModeratorEric,
Sorry that you are seeing this issue. I could not replicate the problem at my end.
Can you please clarify if the tsconfig.json is located in the root of the project or in the src folder? Please try closing all the editors, restart the IDE and then check if the warning persists.Similar problem is discussed here.
If none of the suggestions help, then please share with us the TS version details, the location of the tsconfig.json in the project and its contents, the decorator used in the ts file. It would be great if you can share with us a sample project to help us replicate the problem at our end (you can omit the node_modules folder and send us the rest of the files zipped along with all the configuration files)
Apologies for inconvenience caused.
–Swapna
Genuitec Support
eric.r.glassParticipantSorry, I have been away and could not get back with you. I have attached a simple Vue.js with TypeScript project created with @vue/cli and the command ‘vue create vuets’. Choose to manually select features, then accept the defaults for everything, apart from adding TypeScript and selected ESLint + Prettier with Lint on save; and placed config into package.json. The command ‘npm run serve’ compile and runs with no errors. In my Eclipse Java EE IDE for Web Developers version: Photon Release 4.8.0 I have the TypeScript pack 0.9.4 and Vue Pack 0.9.3 extension installed along with several others. I have tried turning on the CodeMix preferences -> Extensions -> TypeScript -> JavaScript Common – ‘Implicit Project Config: Check JS’ and ‘Implicit Project Config: Experimental Decorators’, but neither helped resolve the validation error markers. Thanks for any help that you can provide in getting this resolved.
Attachments:
You must be logged in to view attached files. -
AuthorPosts