Error: ENOENT: no such file or directory when creating new project
Closed this issue ยท 1 comments
jkbktl commented
Environment
- node v9.8.0
- npm v5.8.0
- yarn v1.5.1
Steps to reproduce
After getting through all steps
yarn create v1.5.1
[1/4] ๐ Resolving packages...
[2/4] ๐ Fetching packages...
[3/4] ๐ Linking dependencies...
[4/4] ๐ Building fresh packages...
success Installed "create-strv-app@1.2.1" with binaries:
- create-strv-app
[STRV placeholder]
? Choose an application type: SPA
? Choose a template: default
? Enter your project name: projectname
? Sugar on top: styled-components
I expect no errors, but I got:
โ ERROR Failed with following error: Error: ENOENT: no such file or directory, open '/Users/username/STRV/projectname/package.json'
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: /usr/local/bin/create-strv-app
Arguments:
Directory: /Users/jakubkotula/STRV/test
Output:
".
prichodko commented
Great catch, thanks!