Skip to content
This repository was archived by the owner on Dec 9, 2018. It is now read-only.
This repository was archived by the owner on Dec 9, 2018. It is now read-only.

unable to install npm in local project directory #207

@redrowthueswar

Description

@redrowthueswar

I'm opening this issue because:

i am trying npm installation, some problems npm installtion time....
i was given python path in environmental variables and also set the path in cmd like..(npm config set python C:\Python27\python.exe)
but it display below errors......how to resolve this errors?

StackTrace:
npm issue

D:\bimflow-singtemplate\bimflow>npm install
npm WARN package.json Sing@3.1.0 No repository field.
npm WARN package.json Sing@3.1.0 scripts['server'] should probably be scripts['s
tart'].
npm WARN package.json Sing@3.1.0 No README data
npm WARN package.json angular2-color-picker@1.0.3 No repository field.
npm WARN package.json glyphicons-halflings@1.9.0 No repository field.
npm WARN package.json jquery-flot@0.8.3 No repository field.
npm WARN package.json messenger@1.4.2 'repositories' (plural) Not supported. Ple
ase pick one as the 'repository' field
npm WARN package.json ts-helper@0.0.1 No description
npm WARN package.json @angular/common@2.0.0-rc.1 No description
npm WARN package.json @angular/common@2.0.0-rc.1 No repository field.
npm WARN package.json @angular/compiler@2.0.0-rc.1 No description
npm WARN package.json @angular/compiler@2.0.0-rc.1 No repository field.
npm WARN package.json @angular/core@2.0.0-rc.1 No description
npm WARN package.json @angular/core@2.0.0-rc.1 No repository field.
npm WARN package.json @angular/platform-browser@2.0.0-rc.1 No description
npm WARN package.json @angular/platform-browser@2.0.0-rc.1 No repository field.
npm WARN package.json @angular/http@2.0.0-rc.1 No description
npm WARN package.json @angular/http@2.0.0-rc.1 No repository field.
npm WARN package.json @angular/platform-browser-dynamic@2.0.0-rc.1 No descriptio
n
npm WARN package.json @angular/platform-browser-dynamic@2.0.0-rc.1 No repository
field.
npm WARN package.json @angular/router@2.0.0-rc.1 No description
npm WARN package.json @angular/router@2.0.0-rc.1 No repository field.
npm WARN package.json @angular/router-deprecated@2.0.0-rc.1 No description
npm WARN package.json @angular/router-deprecated@2.0.0-rc.1 No repository field.

npm WARN package.json @angular/upgrade@2.0.0-rc.1 No description
npm WARN package.json @angular/upgrade@2.0.0-rc.1 No repository field.
\

contextify@0.1.15 install D:\bimflow-singtemplate\bimflow\node_modules\ricksha
w\node_modules\d3\node_modules\jsdom\node_modules\contextify
node-gyp rebuild
D:\bimflow-singtemplate\bimflow\node_modules\rickshaw\node_modules\d3\node_modul
es\jsdom\node_modules\contextify>if not defined npm_config_node_gyp (node "C:\Pr
ogram Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\n
ode-gyp\bin\node-gyp.js" rebuild ) else (rebuild)
Traceback (most recent call last):
File "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\gyp
\gyp_main.py", line 18, in
sys.exit(gyp.script_main())
File "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\gyp
\pylib\gyp__init__.py", line 534, in script_main
return main(sys.argv[1:])
File "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\gyp
\pylib\gyp__init__.py", line 527, in main
return gyp_main(args)
File "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\gyp
\pylib\gyp__init__.py", line 503, in gyp_main
options.circular_check)
File "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\gyp
\pylib\gyp__init__.py", line 98, in Load
generator.CalculateVariables(default_variables, params)
File "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\gyp
\pylib\gyp\generator\msvs.py", line 1867, in CalculateVariables
generator_flags.get('msvs_version', 'auto'))
File "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\gyp
\pylib\gyp\MSVSVersion.py", line 402, in SelectVisualStudioVersion
versions = _DetectVisualStudioVersions(version_map[version], 'e' in version)

**KeyError: '2015'
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Program Files (x86)\nodejs\node_
modules\npm\node_modules\node-gyp\lib\configure.js:343:16)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074
:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\Program Files (x86)\nodejs\node_modules\npm\nod
e_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\bimflow-singtemplate\bimflow\node_modules\rickshaw\node_modules
d3\node_modules\jsdom\node_modules\contextify
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (
x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE

npm ERR! contextify@0.1.15 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the contextify@0.1.15 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\bimflow-singtemplate\bimflow\npm-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions