Skip to content

[npm install] Error: ENOENT: no such file or directory, open '.env' #20

@AaronChern

Description

@AaronChern

Hi @anmonite

I install the latest Node.js and re-install this app.
The following error message occurs.
Will this affect the function of this app?

C:\Games\wows-stats-plus-master>start "" http://localhost:8080

C:\Games\wows-stats-plus-master>npm install
npm WARN deprecated request@2.88.2: request has been deprecated, see https://git
hub.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported

wows-stats-plus@1.2.1 postinstall C:\Games\wows-stats-plus-master
node install.js

Error: ENOENT: no such file or directory, open '.env'
at Object.openSync (fs.js:462:3)
at Object.readFileSync (fs.js:364:35)
at Object.config (C:\Games\wows-stats-plus-master\node_modules\dotenv\lib\ma
in.js:30:37)
at Object. (C:\Games\wows-stats-plus-master\install.js:1:19)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js
:71:12)
at internal/main/run_main_module.js:17:47 {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: '.env'
}
wows-stats installer is running on port: 8080

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions