Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module 'jsdom' #116

Open
nethala2000 opened this issue Jan 12, 2017 · 2 comments
Open

Error: Cannot find module 'jsdom' #116

nethala2000 opened this issue Jan 12, 2017 · 2 comments

Comments

@nethala2000
Copy link

This is my console putput
C:\Program Files\nodejs>npm install jsdom
C:\Program Files\nodejs
-- jsdom@9.9.1 +-- abab@1.0.3 +-- acorn@2.7.0 +-- array-equal@1.0.0 +-- content-type-parser@1.0.1 +-- html-encoding-sniffer@1.0.1 +-- iconv-lite@0.4.15 +-- sax@1.2.1 +-- symbol-tree@3.2.1 +-- webidl-conversions@3.0.1 +-- whatwg-encoding@1.0.1 | -- iconv-lite@0.4.13
+-- whatwg-url@4.3.0
| -- tr46@0.0.3 -- xml-name-validator@2.0.1

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
Copy link
Author

I have Python 2.7 and nodejs installed

@nethala2000
Copy link
Author

pre_render_d3_graph.txt
I am trying t execute this file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant