Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to create Mini App (Error: ENOENT: no such file or directory, open *\test\apps\server\.env') #100

Open
QuentinNev opened this issue Nov 11, 2024 · 1 comment

Comments

@QuentinNev
Copy link

When running the command npm create gramio@latest ./test, I get this error :

Error: ENOENT: no such file or directory, open 'C:\Users\OnStandBy\Documents\dev\_RaptorLab\Shockwaves\fuck\apps\server\.env'
    at async open (node:internal/fs/promises:638:25)
    at async writeFile (node:internal/fs/promises:1208:14)
    at async C:\Users\OnStandBy\AppData\Local\npm-cache\_npx\fcaf6781abea57d9\node_modules\create-gramio\dist\index.js:207:2197
    at async [run] (C:\Users\OnStandBy\AppData\Local\npm-cache\_npx\fcaf6781abea57d9\node_modules\tasuku\dist\index.cjs:71:8168)
    at async u (C:\Users\OnStandBy\AppData\Local\npm-cache\_npx\fcaf6781abea57d9\node_modules\tasuku\dist\index.cjs:71:8395)
    at async C:\Users\OnStandBy\AppData\Local\npm-cache\_npx\fcaf6781abea57d9\node_modules\create-gramio\dist\index.js:207:1886 {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\\Users\\OnStandBy\\Documents\\dev\\test\\apps\\server\\.env'
}

Tested on Windows 10 and Ubuntu 24.10

@kravetsone
Copy link
Contributor

When running the command npm create gramio@latest ./test, I get this error :

Error: ENOENT: no such file or directory, open 'C:\Users\OnStandBy\Documents\dev\_RaptorLab\Shockwaves\fuck\apps\server\.env'
    at async open (node:internal/fs/promises:638:25)
    at async writeFile (node:internal/fs/promises:1208:14)
    at async C:\Users\OnStandBy\AppData\Local\npm-cache\_npx\fcaf6781abea57d9\node_modules\create-gramio\dist\index.js:207:2197
    at async [run] (C:\Users\OnStandBy\AppData\Local\npm-cache\_npx\fcaf6781abea57d9\node_modules\tasuku\dist\index.cjs:71:8168)
    at async u (C:\Users\OnStandBy\AppData\Local\npm-cache\_npx\fcaf6781abea57d9\node_modules\tasuku\dist\index.cjs:71:8395)
    at async C:\Users\OnStandBy\AppData\Local\npm-cache\_npx\fcaf6781abea57d9\node_modules\create-gramio\dist\index.js:207:1886 {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\\Users\\OnStandBy\\Documents\\dev\\test\\apps\\server\\.env'
}

Tested on Windows 10 and Ubuntu 24.10

oh sorry for the late response

when it caused? what step?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants