Skip to content

Instantly share code, notes, and snippets.

@TechplexEngineer
Created December 24, 2012 04:55
Show Gist options
  • Save TechplexEngineer/4367638 to your computer and use it in GitHub Desktop.
Save TechplexEngineer/4367638 to your computer and use it in GitHub Desktop.
Error when installing v8-profiler
C:\Users\Techplex.Engineer\Desktop\nodeApp>npm install v8-profiler
npm http GET https://registry.npmjs.org/v8-profiler
npm http 304 https://registry.npmjs.org/v8-profiler
> v8-profiler@3.6.2-1 install C:\Users\Techplex.Engineer\Desktop\nodeApp\node_modules\v8-profiler
> node-gyp rebuild
C:\Users\Techplex.Engineer\Desktop\nodeApp\node_modules\v8-profiler>node "C:\Users\Techplex.Engineer\AppData\Roaming\npm\node_modules\npm\bin\node-gyp
-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
profile_node.cc
heap_profiler.cc
cpu_profiler.cc
graph_edge.cc
snapshot.cc
graph_node.cc
..\graph_node.cc(76): warning C4244: 'argument' : conversion from 'uint64_t' to 'uint32_t', possible loss of data [C:\Users\Techplex.Engineer\Desktop
\nodeApp\node_modules\v8-profiler\build\profiler.vcxproj]
..\graph_node.cc(84): warning C4244: 'argument' : conversion from 'uint64_t' to 'uint32_t', possible loss of data [C:\Users\Techplex.Engineer\Desktop
\nodeApp\node_modules\v8-profiler\build\profiler.vcxproj]
profiler.cc
profile.cc
..\snapshot.cc(90): warning C4244: 'argument' : conversion from 'uint64_t' to 'v8::SnapshotObjectId', possible loss of data [C:\Users\Techplex.Engine
er\Desktop\nodeApp\node_modules\v8-profiler\build\profiler.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\Users\Techplex.Engineer\Desktop\n
odeApp\node_modules\v8-profiler\build\Release\profiler.dll) does not match the Linker's OutputFile property value (C:\Users\Techplex.Engineer\Desktop
\nodeApp\node_modules\v8-profiler\build\Release\profiler.node). This may cause your project to build incorrectly. To correct this, please make sure t
hat $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). [C:\Users\Techplex.Engineer\Desktop\no
deApp\node_modules\v8-profiler\build\profiler.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(991,5): warning MSB8012: TargetExt(.dll) does not match the Linker's Out
putFile property value (.node). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and
$(TargetExt) property values match the value specified in %(Link.OutputFile). [C:\Users\Techplex.Engineer\Desktop\nodeApp\node_modules\v8-profiler\b
uild\profiler.vcxproj]
Creating library C:\Users\Techplex.Engineer\Desktop\nodeApp\node_modules\v8-profiler\build\Release\profiler.lib and object C:\Users\Techplex.Eng
ineer\Desktop\nodeApp\node_modules\v8-profiler\build\Release\profiler.exp
graph_node.obj : error LNK2001: unresolved external symbol "public: class v8::HeapGraphNode const * __cdecl v8::HeapGraphNode::GetDominatorNode(void)
const " (?GetDominatorNode@HeapGraphNode@v8@@QEBAPEBV12@XZ) [C:\Users\Techplex.Engineer\Desktop\nodeApp\node_modules\v8-profiler\build\profiler.vcxpr
oj]
graph_node.obj : error LNK2001: unresolved external symbol "public: class v8::HeapGraphEdge const * __cdecl v8::HeapGraphNode::GetRetainer(int)const
" (?GetRetainer@HeapGraphNode@v8@@QEBAPEBVHeapGraphEdge@2@H@Z) [C:\Users\Techplex.Engineer\Desktop\nodeApp\node_modules\v8-profiler\build\profiler.vc
xproj]
graph_node.obj : error LNK2001: unresolved external symbol "public: int __cdecl v8::HeapGraphNode::GetRetainersCount(void)const " (?GetRetainersCount
@HeapGraphNode@v8@@QEBAHXZ) [C:\Users\Techplex.Engineer\Desktop\nodeApp\node_modules\v8-profiler\build\profiler.vcxproj]
graph_node.obj : error LNK2001: unresolved external symbol "public: int __cdecl v8::HeapGraphNode::GetRetainedSize(void)const " (?GetRetainedSize@Hea
pGraphNode@v8@@QEBAHXZ) [C:\Users\Techplex.Engineer\Desktop\nodeApp\node_modules\v8-profiler\build\profiler.vcxproj]
C:\Users\Techplex.Engineer\Desktop\nodeApp\node_modules\v8-profiler\build\Release\profiler.node : fatal error LNK1120: 4 unresolved externals [C:\Use
rs\Techplex.Engineer\Desktop\nodeApp\node_modules\v8-profiler\build\profiler.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\Techplex.Engineer\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:232:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:674:10)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Users\\Techplex.Engineer\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Techplex.Engineer\Desktop\nodeApp\node_modules\v8-profiler
gyp ERR! node -v v0.8.1
gyp ERR! node-gyp -v v0.7.3
gyp ERR! not ok
npm ERR! v8-profiler@3.6.2-1 install: `node-gyp rebuild`
npm ERR! `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the v8-profiler@3.6.2-1 install script.
npm ERR! This is most likely a problem with the v8-profiler 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 v8-profiler
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "node" "C:\\Users\\Techplex.Engineer\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "v8-profiler"
npm ERR! cwd C:\Users\Techplex.Engineer\Desktop\nodeApp
npm ERR! node -v v0.8.1
npm ERR! npm -v 1.1.69
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Techplex.Engineer\Desktop\nodeApp\npm-debug.log
npm ERR! not ok code 0
C:\Users\Techplex.Engineer\Desktop\nodeApp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment