Open garralab opened 7 years ago
I am having the same issue on my Win7 machine
me too, on Windows 10
Hello. Same issue:
The filename, directory name, or volume label syntax is incorrect.
Error occurred while processing: ${ATOM_HOME:-$HOME/.atom}/snippets.
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\user\AppData\Local\Temp\apm-install-dir-11759-13264-1gihbxb.4xyainqaor\package.json'
I'm running atom which was installed through Chocolatey if that makes a difference.
This error hasn't been resolved yet, right? Because it still occurred to me too (Win10) --> the log-file mentioned to be sent does not exist after the installation fails, because it's a temporary directory. If the above commit can solve, please merge.
Same won't install on Windows Installing “modular-snippets@0.1.3” failed
mkdir -p "${ATOM_HOME:-$HOME/.atom}"/snippets
This is not going to get updated is it?
I was really hoping to be able to have project-specific snippets.
Would love to see this resolved, if possible @danielbayley
Dirty workaround to make installation work: 1) download this package source code from Github 2) Unpack in .atom\packages\atom-modular-snippets 3) Edit with Notepad file: package.json 4) Delete line: "preinstall": "mkdir -p \"${ATOM_HOME:-$HOME/.atom}\"/snippets" 5) run commandline/terminal (cmd) 6) Change directory to package folder (cd "C:\Users[xxxxx].atom\packages\atom-modular-snippets") 7) Type in: apm install 8) Create /snippets folder ("C:\Users[xxxxx].atom\snippets") 8) Profit (I've made it to work) 9) If something goes wrong do: apm uninstall atom-modular-snippets
If you can fix the line "preinstall": "mkdir -p \"${ATOM_HOME:-$HOME/.atom}\"/snippets" and fork this package, please do so :)
I'm unable to install this plugin. Install give the error:
La sintassi del nome del file, della directory o del volume non è corretta. Errore occorso durante l'elaborazione: ${ATOM_HOME:-$HOME/.atom}/snippets.
That means file, directory or volume syntax error