hagopj13 / hagopj13/node-express-boilerplate
Error occurs at installing
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
[LogFile](https://pastebin.com/raw/LGWH48z2)
`Done in 34.33s.
PS G:\Lecture\Programming\MERN\node\test> yarn create-nodejs-express-app v1
yarn run v1.22.19
warning package.json: No license field
$ G:\Lecture\Programming\MERN\node\test\node_modules\.bin\create-nodejs-express-app v1
Downloading files from repo https://github.com/hagopj13/node-express-boilerplate.git
Cloned successfully.
Installing dependencies...
[1/4] Resolving packages...
success Already up-to-date.
warning package.json: No license field
warning No license field
Dependencies installed successfully.
Error: ENOENT: no such file or directory, copyfile 'G:\Lecture\Programming\MERN\node\test\v1\.env.example' -> 'G:\Lecture\Programming\MERN\node\test\v1\.env'
at Object.copyFileSync (node:fs:2866:3)
at setup (G:\Lecture\Programming\MERN\node\test\node_modules\create-nodejs-express-app\bin\createNodejsApp.js:81:8)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errno: -4058,
syscall: 'copyfile',
code: 'ENOENT',
path: 'G:\\Lecture\\Programming\\MERN\\node\\test\\v1\\.env.example',
dest: 'G:\\Lecture\\Programming\\MERN\\node\\test\\v1\\.env'
}
Done in 1.07s.
PS G:\Lecture\Programming\MERN\node\test> `
Contributor guide
Research direction
Start with bin/createNodejsApp.js at the setup call reported on line 81, then reproduce the command shown in the issue on Windows. Check the generated project and the referenced .env.example path; done means installation completes without the ENOENT copyfile error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- express, javascript, node.js
- Domain
- backend, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100