Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Terminal not working with npm #546

Closed
mbkupfer opened this issue Jun 8, 2018 · 9 comments
Closed

Terminal not working with npm #546

mbkupfer opened this issue Jun 8, 2018 · 9 comments

Comments

@mbkupfer
Copy link

mbkupfer commented Jun 8, 2018

When I run the command npm ls command

I get the following output

PS C:\Users\mkupfer\Desktop\web-dev-sandbox\test-webpack> npm ls
test-webpack@1.0.0 C:\Users\mkupfer\Desktop\web-dev-sandbox\test-webpack
`-- (empty)

but in the GIT bash:


mkupfer@MKUPFER18 MINGW64 /c/Users/mkupfer/Desktop/web-dev-sandbox/test-webpack
$ npm ls
test-webpack@1.0.0 C:\Users\mkupfer\Desktop\web-dev-sandbox\test-webpack
+-- webpack@4.12.0
| +-- @webassemblyjs/ast@1.5.12
| | +-- @webassemblyjs/helper-module-context@1.5.12 deduped
| | +-- @webassemblyjs/helper-wasm-bytecode@1.5.12
| | +-- @webassemblyjs/wast-parser@1.5.12
| | | +-- @webassemblyjs/ast@1.5.12 deduped
| | | +-- @webassemblyjs/floating-point-hex-parser@1
.....
.....
.....

Any chance someone knows what is causing this?

@assmdx
Copy link

assmdx commented Jun 12, 2018

me too.. when I use 'npm install' or 'npm run',it doesn't works,however when I try this in windows cmd ,it works.

@the-j0k3r
Copy link
Collaborator

the-j0k3r commented Aug 17, 2018

I can confirm this as an issue.

Even running atom -v from withing platformio-ide-termnal outputs only v8.9.3 while running externally yields a definitive complete listing. See below.

C:\Users\Joker> atom -v

Atom    : 1.29.0
Electron: 2.0.5
Chrome  : 61.0.3163.100
Node    : 8.9.3

C:\Users\Joker> apm -v

apm  1.19.0
npm  3.10.10
node 6.9.5 x64
atom 1.29.0
python 3.5.2
git 2.18.0.windows.1
visual studio

Platformio-ide-terminal 2.8.4

The problem here is #543 But I would wait until #585 is merged

If that doesnt fix it someone needs to submit a fix.

@Lonniebiz
Copy link

I'm trying platformio-ide-terminal for the first time. I'm getting this:

npm -v
The program 'npm' is currently not installed. You can install it by typing:
sudo apt install npm

Yet, it is already installed and works from other terminals not embedded in Atom.

@cw00dw0rd
Copy link

Experiencing the same. Acts as if NPM isn't installed but definitely is installed externally. Ubuntu 18 here

@the-j0k3r
Copy link
Collaborator

I can confirm 2.9.0 fixes this issue + #630

@ivankravets please pin this issue and can close until newer information provided. thx

@calebhaye
Copy link

This is still an issue running v2.10.1

@UziTech
Copy link

UziTech commented Jan 7, 2021

This package is no longer maintained. Please uninstall platformio-ide-terminal and install either terminus or x-terminal

@ivankravets
Copy link
Member

@calebhaye what is your OS? Do you use the latest version of Atom? It should work without any issues.

@ChristopherIndrawan
Copy link

ChristopherIndrawan commented Jan 28, 2022

I was having the same issue, but then i just run atom as administrator, and it works. Idk if that's the problem with you all but that's the fix for my case. My teminal is Platformio-ide-terminal

@platformio platformio locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants