Akshay
Akshay

Reputation: 3866

Installing failes for plugin “[email protected]” in github's atom ide

I am trying to install atom-typescript package in GitHub's Atom. When I press the Install button I get the following error.

Installing atom-typescript to C:\Users\vadherak\.atom\packages
assert.js:93
  throw new assert.AssertionError({
        ^
AssertionError: Expected there to only be one child in node_modules
    at C:\Users\vadherak\AppData\Local\atom\app-1.7.0-beta1\resources\app\apm\lib\install.js:165:22
    at ChildProcess.onChildExit (C:\Users\vadherak\AppData\Local\atom\app-1.7.0-beta1\resources\app\apm\lib\command.js:51:49)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:766:16)
    at Process.ChildProcess._handle.onexit (child_process.js:833:5)

I have tried installing using command prompt too, it is giving me same error.

Finally, I tried executing the apm install --check command and it showed Checking for native build tools done, regardless of executing this command I got the same error when I tried to install the package.

If have logged this issues as an issue with the atom-typescript project.

Upvotes: 0

Views: 139

Answers (1)

Richard Slater
Richard Slater

Reputation: 6368

As alluded to in my comment on your GitHub Issue for this problem, can I ask you to either update to 1.7.0-beta4 and try to install atom-typescript again, if it is still a problem for you please can you post a full list of the packages you have installed.

You can get a list of all installed packages from the command line by issuing the following command:

 apm list

This will print a list of all of the packages installed both built-in and community:

Built-in Atom Packages (89)
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
...

Community Packages (49) C:\Users\richa\.atom\packages
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
....

This is extremely helpful to us in diagnosing issues with atom given nearly infinite possible combinations of packages and software versions.

Upvotes: 1

Related Questions