node.js - trouble installing less with npm -


so installed node , npm. cmdprompt recognizes both when test node -v , npm -v. however, cannot install (less or bower) using npm.

npm -install -g less yields:

c:\users\user>npm install -g less c:\users\user\appdata\roaming\npm;npm\npm\lessc -> c:\users\user\appdata \roaming\npm;npm\npm\node_modules\less\bin\lessc less@2.5.1 c:\users\user\appdata\roaming\npm;npm\npm\node_modules\less ├── graceful-fs@3.0.8 ├── mime@1.3.4 ├── image-size@0.3.5 ├── errno@0.1.4 (prr@0.0.0) ├── promise@6.1.0 (asap@1.0.0) ├── mkdirp@0.5.1 (minimist@0.0.8) ├── source-map@0.4.4 (amdefine@1.0.0) └── request@2.60.0 (aws-sign2@0.5.0, forever-agent@0.6.1,     stringstream@0.0.4, ca seless@0.11.0, tunnel-agent@0.4.1, oauth-sign@0.8.0, isstream@0.1.2, json-string ify-safe@5.0.1, extend@3.0.0, node-uuid@1.4.3, qs@4.0.0, combined-stream@1.0.5, mime-types@2.1.4, form-data@1.0.0-rc3, tough-cookie@2.0.0, http-signature@0.11.0 , bl@1.0.0, hawk@3.1.0, har-validator@1.8.0) 

i've looked around stackover flow , tried changing system environment variables, nothing seems help. suggestions?

system variables(windows 7 professional):

path: c:\users\user\appdata\roaming\npm;c:\program files\nodejs\

node_path: %appdata%\npm\node_modules

update:

i got work using: node c:\users\user\appdata\roaming\npm\npm\node_modules\less\bin\lessc styles.less > styles.css

but there way (possibly editing paths), not have enter , instead lessc styles.less > styles.css?

seems using command prompt in non-administrator mode. open command prompt admin , try again.

it should work.

i hope know how run cmd admin. otherwise might link.

hope helps :)


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -