Cant build extension in rush

I cant understand what you say.
Can you please explain me?

You have to run the build command in extension folder directory. At what path you’re running the command?

1 Like

Can you explain in a video please

I am running command at extension folder directory but its show same error


I having a new problem

Search it in the rush topic. This problem is posted a lot of times there.

1 Like

I cant understand where is the problem in Environment variables.

You are probably missing a path to the Java Bin directory and home.

Which Path can you say

Changing anyone of the path is okay, can you try running java -version in terminal (cmd)?

Can you follow this post to run the command javac -version

That is the problem, you have set up Java but not the compiler.

How to setup this can you say

What I can see from your previous screenshots is that you have not added the java path.

Follow the second example here (setting up javac)

2 Likes

Is this right

1 Like

Yes, try compiling the extension. rush build

Is this problem in my code

Yes, in rush you dont use those annotations and designer stuff, they are moved to rush.yml file.