Questions tagged [enoent]

Use enoent for questions related to the ENOENT message which stands for "Error, No Entity" returned by the C runtime library.

References

146 questions
2
votes
2 answers

Can't install NPM dependencies on Windows 10

Not too sure what's changed with Node.js and NPM recently (i.e. in the last several days) but I can't seem to find a way to install node_modules dependencies for any projects using Node.js on Windows 10 anymore... My current setup is as…
Marc Bosse
  • 336
  • 1
  • 3
  • 17
2
votes
1 answer

Trying to copy SQLite database in Android and getting "No such file or directory"

I have a database and I want to copy it to SD Card to keep a backup and I found this code: private void exportDB(){ File sd = Environment.getExternalStorageDirectory(); File data = Environment.getDataDirectory(); FileChannel…
2
votes
1 answer

Electron add resource file on package

I am building my first electron app, but I cant package it. When I am testing using npm start everything works but when I tried to package it and when it done, I run it, but I am getting something like this ENOENT: no such file or directory,…
zer09
  • 1,507
  • 2
  • 28
  • 48
2
votes
0 answers

Docker/Node error: Error: connect ENOENT /var/run/docker.sock

I'm trying to get a simple Dockerfile to run a node application and so far it has been difficult. I have finally got it to run and compile, however I am running into the following error. This is my first dockerfile and I really haven't seen this…
Peter Weyand
  • 2,159
  • 9
  • 40
  • 72
2
votes
0 answers

Write file to absolute path outside of app directory [Node.js]

I'm trying to create and write to a file in a folder outside of node app's source folder. I have a absolute path like this E:\myFolder\ but when I try to writeFile with fs it throws ENOENT error. I've created E:\myFolder manually, but I think the…
kecman
  • 813
  • 3
  • 14
  • 34
2
votes
0 answers

Visual code debug error: ENOENT: no such file or directory, open '.env'

iam new in node.js sails framework. i have installed sails and created my first application using command sails new testapp i have successfully running/debugging my sample application using visual studio code. But i cant debug my another code…
Abdul Manaf
  • 4,933
  • 8
  • 51
  • 95
2
votes
1 answer

Node.js ENOENT Reading PDF file

I need to read pdf file and I use pdf-text-extract. It works perfectly on my localhost. But when I tried to run the program on server, I got the following error spawn called { '0': 'pdftotext', '1': [ '-layout', '-enc', 'UTF-8', …
2
votes
1 answer

Fatal error: spawn ENOENT

Gruntfile.js content: grunt.initConfig({ connect: { server: { options: { port: 5005, base: '.' } } }, qunit: { all:…
Ashwin Hegde
  • 1,733
  • 4
  • 19
  • 49
1
vote
0 answers

Live Server ENOENT: no such file or directory, open Error

My Live Server extension stopped working after reinstalling node js. In the runtime status tab of the extension, it says ENOENT: no such file or directory, open. It does not open browser, go live button doesn't work as well. I tried adding…
Arphis
  • 11
  • 2
1
vote
0 answers

Parcel showing ENOENT: no such file or directory error when I save my html

beginner web dev here, first time using parcel and sass. So, I have the parcel set up, but when I change and save the src/index.html, terminal shows me this error, instead of changing the dist/index.html. It is very weird because in the error, there…
Firippo
  • 13
  • 3
1
vote
1 answer

ENOENT error while deploy JEST test with THREE JS OrbitControls

I´ve finished the implementations of a new feature that uses Orbit Controls library, they all work properly, the three Js module is imported as documentation says: import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls'; but later…
1
vote
0 answers

React App deployment error on github pages

I'm getting this error while running 'npm run deploy' for my application. node:events:505 throw er; // Unhandled 'error' event ^ Error: spawn git ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) …
1
vote
0 answers

ENOENT: dist folder can't be generated by both ng build and ng serve

When I run the angular commands ng build or ng serve, I get the following error and the dist folder is not generated: An unhandled exception occurred: ENOENT: no such file or directory, lstat…
Sandar
  • 11
  • 2
1
vote
0 answers

Getting ENOENT error in git path when running npm test

Firstly i want to apologize in advance for the poor english. I'm following the path made by The Odin Project to learn web development, so im fairly new into coding and the use of linux/ubuntu, just started to use node.js, there are some exercises…
1
vote
1 answer

Error: ENOENT: no such file or directory, open. All the solutions out ther dont work for me

I keep having this error, and i dont know what to do. This is my code: const fs = require('fs'); const archivo = fs.readFileSync('C:\Users\marco\OneDrive\Desktop\Code\WebDeveloping\txt\test.txt'); console.log(archivo); And this is the…
1 2
3
9 10