My problem specifically is depicted below:
"C:\Program Files (x86)\JetBrains\IntelliJ IDEA 13.1.6\bin\runnerw.exe" "C:\Program Files\nodejs\node.exe" --debug-brk=60953 --nolazy bin\www
Debugger listening on port 60953
{ [Error: ENOENT: no such file or directory, open 'c:\Users\markk\Documents\work\q\internal\freelist.js']
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'c:\\Users\\markk\\Documents\\work\\q\\internal\\freelist.js' }
{ [Error: ENOENT: no such file or directory, open 'c:\Users\markk\Documents\work\q\internal\child_process.js']
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'c:\\Users\\markk\\Documents\\work\\q\\internal\\child_process.js' }
{ [Error: ENOENT: no such file or directory, open 'c:\Users\markk\Documents\work\q\internal\socket_list.js']
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'c:\\Users\\markk\\Documents\\work\\q\\internal\\socket_list.js' }
And this happens with the default Node.js+Express.js project I created. As a result the IDE does not debug the node javascript code.
I found this - https://github.com/nodejs/node/issues/1328, which seems relevant, but I do not understand how does it apply to IntelliJ IDEA 13.
Related
I am creating a mobile application on expo go. Recently I started receiving the following error when I ran expo start. I have updated expo, npm, deleted and reinstalled my node modules, clear cache with expo start -c. None of them seem to fix the error. I have also made sure to check all the import statements to verify that they exist.
Error: ENOENT: no such file or directory, open 'C:\Users\alterfix\OneDrive\Desktop\Eater\http:\192.168.1.11:19000\src%5CApp.bundle?platform=android&dev=true&hot=false&strict=false&minify=false'
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at getCodeFrame (C:\Users\alterfix\OneDrive\Desktop\Eater\node_modules\metro\src\Server.js:949:18)
at Server._symbolicate (C:\Users\alterfix\OneDrive\Desktop\Eater\node_modules\metro\src\Server.js:1022:22)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Server._processRequest (C:\Users\alterfix\OneDrive\Desktop\Eater\node_modules\metro\src\Server.js:429:7) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'C:\Users\alterfix\OneDrive\Desktop\Eater\http:\192.168.1.11:19000\src%5CApp.bundle?platform=android&dev=true&hot=false&strict=false&minify=false'
}
Any solutions?
I am using the module node-7z-forall and tried to extract a file. and ending with below error
{ Error: spawn <project-path>/node_modules/node-7z-forall/binaries/linux/7za ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
errno: 'ENOENT',
code: 'ENOENT',
syscall:
'spawn <project-path>/node_modules/node-7z-forall/binaries/linux/7za',
path:
'<project-path>/node_modules/node-7z-forall/binaries/linux/7za',
spawnargs:
[ 'x',
'/tmp/QMTH1648468809779.zip',
'-o/tmp/QMTH1648468809779',
'-pkarnatakaBank',
'-ssc',
'-y',
'-bb2' ] }
please help me on this
Hi I found the solution for my problem:
Some dependencies were not installed properly. Removed the existing module and reinstalled again. and it worked for me.
I completed a blog in Next js and I uploaded it on github :
https://github.com/xspd3000/frontend
I want to deploy it on Vercel but it gave me error
> Build error occurred
[Error: ENOENT: no such file or directory, scandir 'C:/projects/tailgradient/frontend/data/posts'] {
type: 'Error',
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: 'C:/projects/tailgradient/frontend/data/posts'
}
how can I solve this?
I am trying to use node-7z to unzip files in a NodeJS program.
It threw this error.
Error: spawn 7z ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn 7z',
path: '7z',
spawnargs: [
'x',
'/var/somefolder/myfolder/uploads/myfile.zip',
'-pMyPassword',
'-o/var/somefolder/myfolder',
'-y',
'-bb3'
]
}
apt install p7zip-full resolved the issue.
Apparently the 7-zip binaries were needed.
I have a blog, and I want to transfer the local folders to another computer.
First, I npm init a new folder on my new computer. Then, I transfer all documents except 'node_modules' and 'public'.
Next, I run
npm install
npm install hexo-deployer-git --save
npm install hexo-generator-feed --save
npm install hexo-generator-sitemap --save
After hexo s, the terminal shows me text the following. How can I do to find my blog back? Thank you in advance.
INFO Validating config
INFO Start processing
FATAL {
err: Error: ENOENT: no such file or directory, open './sitemap_template.xml'
at Object.openSync (fs.js:498:3)
at readFileSync (fs.js:394:35)
at module.exports (C:\Users\bbcco\myblog\node_modules\hexo-generator-sitemap\lib\template.js:27:34)
at Hexo.module.exports (C:\Users\bbcco\myblog\node_modules\hexo-generator-sitemap\lib\generator.js:36:16)
at Hexo.tryCatcher (C:\Users\bbcco\myblog\node_modules\bluebird\js\release\util.js:16:23)
at Hexo.<anonymous> (C:\Users\bbcco\myblog\node_modules\bluebird\js\release\method.js:15:34)
at C:\Users\bbcco\myblog\node_modules\hexo\lib\hexo\index.js:405:22
at tryCatcher (C:\Users\bbcco\myblog\node_modules\bluebird\js\release\util.js:16:23)
at MappingPromiseArray._promiseFulfilled (C:\Users\bbcco\myblog\node_modules\bluebird\js\release\map.js:68:38)
at MappingPromiseArray.PromiseArray._iterate (C:\Users\bbcco\myblog\node_modules\bluebird\js\release\promise_array.js:115:31)
at MappingPromiseArray.init (C:\Users\bbcco\myblog\node_modules\bluebird\js\release\promise_array.js:79:10)
at MappingPromiseArray._asyncInit (C:\Users\bbcco\myblog\node_modules\bluebird\js\release\map.js:37:10)
at _drainQueueStep (C:\Users\bbcco\myblog\node_modules\bluebird\js\release\async.js:97:12)
at _drainQueue (C:\Users\bbcco\myblog\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\bbcco\myblog\node_modules\bluebird\js\release\async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\bbcco\myblog\node_modules\bluebird\js\release\async.js:15:14)
at processImmediate (internal/timers.js:464:21) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: './sitemap_template.xml'
}
} Something's wrong. Maybe you can find the solution here: %s https://hexo.io/docs/troubleshooting.html