Install Emmet and other packages in Atom Text Editor

I'm having problems installing emmet.io as a package in an Atom text editor (Win7 x64).

Any idea how I can do this?

I always get an error

`npm http GET https://registry.npmjs.org/emmet
npm http 304 https://registry.npmjs.org/emmet
npm http GET https://registry.npmjs.org/requirejs
npm http 304 https://registry.npmjs.org/requirejs
npm ERR! not found: git
npm ERR! 
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.`

`npm ERR! System Windows_NT 6.1.7601
npm ERR! command "c:\\Users\\USERNAME\\Desktop\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\bin\\\\node.exe" "c:\\Users\\USERNAME\\Desktop\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "c:\\Users\\USERNAME\\Desktop\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\.apmrc" "--userconfig" "C:\\Users\\OMARSERVICE\\.atom\\.apmrc" "install" "C:\\Users\\USERNAME\\.atom\\.node-gyp\\.atom\\.apm\\emmet\\2.1.3\\package.tgz" "--target=0.11.13" "--arch=ia32" "--msvs_version=2012"
npm ERR! cwd C:\Users\USERNAME~1\AppData\Local\Temp\apm-install-dir-114726-7860-1j2mfss
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! code ENOGIT`
+4
source share
4 answers

OK, I found a solution how to install any package on Atom.io

Instructions for Windows 7 (x32 / x64)

Note. Make sure Atom.io is closed.

  • Download https://windows.github.com/
  • Run the installation as standard
  • Launch Git Shell (Figure # 1)
  • Find the directory through Git Shell: cd ~/.atom/packages
  • Run git clone https://github.com/emmetio/emmet-atomor any package that you expect to install (Figure # 2).
  • , cd emmet-atom ( # 3)
  • , npm install ( 4)

, GitHub, https://github.com/github-user/package-name. URL .

!

:

Step 3 (figure # 1)Step 5 (figure # 2)Step 6 (figure # 3)Step 7 (figure # 4)4

+1

Atom/apm/npm git. Github git.

, ,

  • Git .
  • git
0

GIT, , , \ \. . SYSTEM NOT USER C:\Program Files (x86)\Git\bin; ( - git.exe) .

0

I have the same problem. I solved it this way: install git 2.1.3 from repo , then copy and paste the path to bin git into the C:\Program Files (x86)\Git\bininsdide path of the environment variables. After rebooting the PC, edit the text editing and find in the settings → the package, write emmet, click the button, install it and now it works, emmet is installed.

0
source

All Articles