asciidisco / asciidisco/grunt-requirejs
Error: Cannot find module 'jsdom'
- Dominant language
- JavaScript
- Stars
- 298
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Research direction
The report names no project files or tests; its only entry point is the Windows command prompt running npm install jsdom under C:\Program Files\nodejs. Start by reproducing the installation and module-resolution error in the project context, then verify whether the issue is specific to the project or the reported Node.js/npm environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 18/100