Error: Cannot find module 'jsdom'
This is my console putput
C:\Program Files\nodejs>npm install jsdom
C:\Program Files\nodejs
-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] +-- [email protected] | -- [email protected]
+-- [email protected]
| -- [email protected] -- [email protected]
npm WARN enoent ENOENT: no such file or directory, open 'C:\Program Files\nodejs\package.json' npm WARN nodejs No description npm WARN nodejs No repository field. npm WARN nodejs No README data npm WARN nodejs No license field. npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\IBM_ADMIN\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "jsdom" npm ERR! node v7.4.0 npm ERR! npm v4.0.5 npm ERR! path C:\Program Files\nodejs\node_modules.staging npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall mkdir
npm ERR! Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules.staging' npm ERR! { Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules.staging' npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'mkdir', npm ERR! path: 'C:\Program Files\nodejs\node_modules\.staging' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\IBM_ADMIN\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "jsdom" npm ERR! node v7.4.0 npm ERR! npm v4.0.5 npm ERR! path C:\Program Files\nodejs\npm-debug.log.4247684683 npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall open
npm ERR! Error: EPERM: operation not permitted, open 'C:\Program Files\nodejs\npm-debug.log.4247684683' npm ERR! { Error: EPERM: operation not permitted, open 'C:\Program Files\nodejs\npm-debug.log.4247684683' npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'open', npm ERR! path: 'C:\Program Files\nodejs\npm-debug.log.4247684683' } npm ERR! npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request: npm ERR! C:\Program Files\nodejs\npm-debug.log
C:\Program Files\nodejs>Error: Cannot find module 'jsdom'npm install jsdom 'Error:' is not recognized as an internal or external command, operable program or batch file.
I have Python 2.7 and nodejs installed
pre_render_d3_graph.txt I am trying t execute this file