grunt-requirejs icon indicating copy to clipboard operation
grunt-requirejs copied to clipboard

Error: Cannot find module 'jsdom'

Open nethala2000 opened this issue 8 years ago • 2 comments

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.

nethala2000 avatar Jan 12 '17 09:01 nethala2000

I have Python 2.7 and nodejs installed

nethala2000 avatar Jan 12 '17 09:01 nethala2000

pre_render_d3_graph.txt I am trying t execute this file

nethala2000 avatar Jan 12 '17 09:01 nethala2000