atom-ternjs
atom-ternjs copied to clipboard
There is no active server
I install atom-ternjs plugin to my atom editor. When I want to configure server, I get error "There is no active server" please help :)
me too
This error only pops up if there is no server running. A server is only running if there is an open text-editor (JavaScript).
- Does the error still show up if there is an active editor?
- if so: which grammar is shown in the bottom right?
- is the server forked for the current directory or are there any error or warning in the console?
1: To install a package called language-babel 2: Change this grammar to become language-babel in the bottom right 3: Successfully solve the problem
😄 thanks
Click on the Save&Restart Server is always the upper right corner of the There is active server or Restarting Server, in the end how to configure, Please advise, thank you
Sorry, but I installed Babel etc but it does not work. What is this server that is not started?
edit: removed package "React" which is not compatible with "language-babel" and now the config page shows.
Thank you! Camillo
Does the error still show up if there is an active editor?
What does this "active editor" mean?
I'm also getting this error when I select "Configure project". I do it as instructed
-
Open any JavaScript file from within your project
-
Navigate to Packages -> Atom Ternjs -> Configure project
But the error occurs every time. It's a React project with JSX files (.jsx) and Javascript files (.js). And .css too .
Sorry, I didn't try what camillo777 said one post above mine. It worked for me. Disabling React-package (+ installing language-babel package) did it for me too. I don't know why.
me too
Hi, @tststs is it possible to use this package with custom grammars? I'm using language-semantic-js
This might be relevant: https://github.com/p-e-w/language-javascript-semantic/issues/31
My case:
I had installed language-javascript-jsx package https://atom.io/packages/language-javascript-jsx
What I did:
- Uninstalled language-javascript-jsx package.
- Installed lagnuage-babel package https://atom.io/packages/language-babel
- Restarted atom
Worked
Indeed, I also had language-javascript-jsx
installed but after uninstalling it and instead using language-babel
the tern server was available again.
遇到这个问题,在本地项目打开一个js文件,然后在选择配置文件就发现可以了
i also have the same questions
As mentioned by Himansu: Uninstall language-javascript-jsx package. Installed lagnuage-babel package Restart atom. This worked fine for me as well
Did this:
Uninstall language-javascript-jsx package. Installed lagnuage-babel package Restart atom. This worked fine for me as well
UPD: both .js and .html files:
Doesn't works. Switching grammar in the right bottom corner to babel and various versions of ES doesn't works as well.
Tried this one https://github.com/tststs/atom-ternjs/issues/317 Worked once for .html, and doesn't works again ("There is no active server" message) after Atom's restart.
UPD 2: Reinstalled and reuninstalled language-javascript-jsx package. Started to work again in both types of files.
Just uninstalling language-javascript-jsx
and then restarting atom worked for me.
#361 Might fix this :eyes: If the issue that you're facing is when the language scope name changes
For me, I had not opened a .js
file yet, only .ts
or .tsx
which I had configured in .tern-project