【问题标题】:ENOTEMPTY error when creating project with skeleton on Brunch在早午餐上创建带有骨架的项目时出现 ENOTEMPTY 错误
【发布时间】:2013-03-31 19:29:52
【问题描述】:

我在 Windows 上...当我使用 brunch new projectname 创建一个项目时,它可以工作,但是当我指定一个骨架时,我得到了这个错误:

c:\xampp-portable\htdocs>brunch new marionette --skeleton https://github.com/SimbCo/brunch-with-marionette.git
09 Apr 12:14:52 - log: Created skeleton directory layout
09 Apr 12:14:52 - error: { [Error: ENOTEMPTY, rmdir 'c:\xampp-portable\htdocs\marionette\.git\objects\00']
errno: 53,
code: 'ENOTEMPTY',
path: 'c:\\xampp-portable\\htdocs\\marionette\\.git\\objects\\00' }

有什么想法吗?

【问题讨论】:

  • 我没弄明白,但我注意到的是:*这是一个与 Windows 相关的问题(在我的 Mac 上一切正常,在我的 win8 笔记本电脑上坏了)* 你仍然可以使用 git clone 来建立一个新项目*我现在会在他们的 repo 上发布一个问题。

标签: javascript git build command-prompt brunch


【解决方案1】:

引用 Paul Miller (link) 的话:

只需克隆 git repo 并删除 .git 目录,然后执行 npm installbrunch new 就是这样做的

这对我来说很重要:)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-11-10
    • 1970-01-01
    • 2015-07-16
    • 1970-01-01
    • 2015-11-14
    • 2017-08-08
    • 2018-08-27
    相关资源
    最近更新 更多