Cannot find builtin plugin

Answered

Cannot find builtin plugin JavaScript and TypeScript(JavaScriptLangauge ) for IDE: D:\.gradle\caches\modules-2\files-2.1\com.jetbrains.intellij.idea\ideaIU\2021.2.1\382c0b089ef214062b04298f4537997f79fc6090\ideaIU-2021.2.1

Directory ..plugins/JavaScriptLangauge was existed

0
17 comments

Please make sure you are using latest gradle-intellij-plugin version.

Please switch to use plugin IDs instead, using directory names is deprecated.

0

The plugin id "JavaScript" is not working yet.

0

Please show/link your full Gradle build file

 

0

You're using version 1.0.0 which does not work fully when building against latest IDE version, please always upgrade to latest version of Gradle plugin (1.1.4). https://gitee.com/zxy_c/wechat-miniprogram-plugin/blob/master/build.gradle.kts#L75

0

I upgrade to 1.1.4 that not working yet.

Cannot find builtin plugin 'JavaScript' for IDE

 

0

Please try to minimize problem by reducing to single plugin first

plugins.set(listOf("JavaScript"))

 

Then, add all other dependencies again one by one and also switch to use IDs (org.jetbrains.plugins.less,org.jetbrains.plugins.stylus,org.jetbrains.plugins.sass,com.intellij.css)

0

Failed. Only build successed when plugins was empty.

plugins.set(listOf("JavaScript"))
0

Please try reimporting/refreshing the Gradle project from tool window.

0

It seems the problems are caused by the provided gradle-6.7-bin.zip. Known issue will be fixed in next release https://github.com/JetBrains/gradle-intellij-plugin/issues/750

 

until then, please switch to Gradle 7 (faster and better anyway), replace gradle-wrapper.properties with this

---

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

---

0

PS: please fix this

com.zxy.ijplugin.wechat_miniprogram.lang.wxs.WXSFileType@6e0ec65a from 'PluginDescriptor(name=Wechat mini program support, id=com.zxy.ijplugin.wechat-miniprogram, descriptorPath=plugin.xml, path=~/idea-ultimate/wechat-miniprogram-plugin/build/idea-sandbox/plugins/wechat mini program, version=3.5.7, package=null)' (class com.zxy.ijplugin.wechat_miniprogram.lang.wxs.WXSFileType) and
com.zxy.ijplugin.wechat_miniprogram.qq.QSFileType@194594dc from 'PluginDescriptor(name=Wechat mini program support, id=com.zxy.ijplugin.wechat-miniprogram, descriptorPath=plugin.xml, path=~/idea-ultimate/wechat-miniprogram-plugin/build/idea-sandbox/plugins/wechat mini program, version=3.5.7, package=null)' (class com.zxy.ijplugin.wechat_miniprogram.qq.QSFileType)
both have the same .getDisplayName(): 'JavaScript 1.8'. Please override either one's getDisplayName() to something unique.
0

Thank you! I switched to gradle 7.2. It have the same problem.

0

It works for me using Gradle 7.2. Please make sure to regenerate Gradle wrapper, try refreshing Gradle project.

0

Only build success when I remove "JavaScript" from plugins

0

Please try shutdown IDE, removing all contents below

- .gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIU

-  .gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/unzipped.com.jetbrains.plugins

directories and reimport Gradle project to force redownload of IDE platform artifacts.

0

Thank you! I got it.

0

Please sign in to leave a comment.