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

17 comments
Comment actions Permalink

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

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

0
Comment actions Permalink

The plugin id "JavaScript" is not working yet.

0
Comment actions Permalink

Please show/link your full Gradle build file

 

0
Comment actions Permalink

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
Comment actions Permalink

I upgrade to 1.1.4 that not working yet.

Cannot find builtin plugin 'JavaScript' for IDE

 

0
Comment actions Permalink

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
Comment actions Permalink

Failed. Only build successed when plugins was empty.

plugins.set(listOf("JavaScript"))
0
Comment actions Permalink

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

0
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

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

0
Comment actions Permalink

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

0
Comment actions Permalink

Only build success when I remove "JavaScript" from plugins

0
Comment actions Permalink

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
Comment actions Permalink

Thank you! I got it.

0

Please sign in to leave a comment.