Apm install fails on windows due to misplaced package.json


apm install linter-selint@8.4.1 --verbose

I get the log:

npm WARN enoent ENOENT: no such file or directory, open ‘C:\Users\dan\AppData\Local\Temp\apm-install-dir-118513-11488-gsuu1a.9m0w6zuxr\package.json’

When I look in the directory there is only the directory node_modules, containing the directory linter-eslint which does contain a package.json file. I suspect this may be a problem with how the .tgz file is extracted

If I run Atom it offers me the option to install the same package and version that failed from apm, and Atom GUI package installation quietly fails after several minutes.

Is there a way to specify to apm where to look for the package.json (assuming the one nested in directories is the one needed)?

apm 1.19.0
npm 3.10.10
node 6.9.5 x64
atom 1.27.2
Windows 8.1 Enterprise

.apmrc config:



I also have node 10.3.0 installed on the box - hmm may be due to the old node in PATH - will see if removing this helps


Nope, the node in the PATH is 10.3.0