-
Notifications
You must be signed in to change notification settings - Fork 93
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
epage-cli 初始化一个项目 #9
Comments
@Protagonistss 然后 |
我确认了一下 [email protected] install /usr/local/lib/node_modules/epage-cli/node_modules/husky husky > Setting up git hooks [email protected] postinstall /usr/local/lib/node_modules/epage-cli/node_modules/husky Thank you for using husky!
|
@Protagonistss 我没有复现你的问题,可以再试下 |
epage init widgets ⠇ Downloading template...cd: no such file or directory: /Users/huangshan/Desktop/widgets (node:41141) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/Users/huangshan/Desktop/widgets/build/webpack.build.js' (node:41141) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/Users/huangshan/Desktop/widgets/package.json' 问题是模版down成功了,但是没有自动创建widgets工作目录,才导致下面的错误吗? |
Describe the bug
TypeError: Cannot read property 'replace' of undefined
at ReadFileContext.callback (/Users/huangshan/.config/yarn/global/node_modules/epage-cli/bin/epage.js:64:10)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:237:13)
To Reproduce
Steps to reproduce the behavior:
1、yan global add epage-cli
2、epage init explore-widgets
Expected behavior
执行 epage init explore-widgets 希望可以创建成功
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: