anmonite / wows-stats-plus

Battle match statistics viewer for World of Warships
MIT License
23 stars 9 forks source link

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

Open AaronChern opened 4 years ago

AaronChern commented 4 years ago

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

anmonite commented 4 years ago

Hi, AaronChern. The second post have to be reported as a new issue.

AaronChern commented 4 years ago

Hi, AaronChern. The second post have to be reported as a new issue. Hi @anmonite

I move the second post here. https://github.com/anmonite/wows-stats-plus/issues/21

AaronChern commented 3 years ago

debug_2