Comments (11)
The module just wraps git clone
, and git clone
has no means to do that. But I can fiddle with the file system and make that happen.
from skelmimosa.
This should be fixed now. But as is often the case, Windows...
There's also a good chance that the fix for this addressed issues #2 and issue #3, which I suspect are related.
Published 0.2.0 to npm of mimosa-skeleton.
from skelmimosa.
Had a chance to give this a go? Hoping all the problems were resolved with this. At least those you reported. =)
from skelmimosa.
Not yet. I've been swamped beyond believe. I'll try it out this afternoon.
On Tue, Jan 29, 2013 at 9:52 AM, dbashford [email protected] wrote:
Had a chance to give this a go? Hoping all the problems were resolved with
this. At least those you reported. =)—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-12837998.
Rob Eisenberg,
Blue Spire Consulting, Inc.
Caliburn Project
850.264.3996
from skelmimosa.
Here's what I'm getting now:
C:\Projects> mimosa skel:new durandal test
15:33:21 - Retrieving registry...
15:33:22 - Found skeleton in registry
15:33:22 - Cloning GitHub repo [[ git://github.com/BlueSpire/Durandal-Mimosa-Skeleton.git ]] to temp holding directory.
15:33:23 - Moving cloned repo to [[ C:\Projects\test ]].
15:33:24 - Cleaning up...
fs.js:582
return binding.unlink(pathModule._makeLong(path));
^
Error: EPERM, operation not permitted 'C:\Projects\temp-mimosa-skeleton-holding-directory.git\objects\pack\pack-954af9c
e1d697356484c2e17a56d277bfaa2a439.idx'
at Object.fs.unlinkSync (fs.js:582:18)
at Object.exports.rmdirSyncRecursive (C:\Users\Rob\AppData\Roaming\npm\node_modules\mimosa\node_modules\wrench\lib\w
rench.js:150:16)
at Object.exports.rmdirSyncRecursive (C:\Users\Rob\AppData\Roaming\npm\node_modules\mimosa\node_modules\wrench\lib\w
rench.js:144:21)
at Object.exports.rmdirSyncRecursive (C:\Users\Rob\AppData\Roaming\npm\node_modules\mimosa\node_modules\wrench\lib\w
rench.js:144:21)
at Object.exports.rmdirSyncRecursive (C:\Users\Rob\AppData\Roaming\npm\node_modules\mimosa\node_modules\wrench\lib\w
rench.js:144:21)
at _cloneGitHub (C:\Users\Rob\AppData\Roaming\npm\node_modules\mimosa\node_modules\mimosa-skeleton\lib\command\new.c
offee:59:14)
at ChildProcess.exithandler (child_process.js:538:7)
at ChildProcess.EventEmitter.emit (events.js:99:17)
at maybeClose (child_process.js:638:16)
at Process._handle.onexit (child_process.js:680:5)
The test directory looks good. But the temp holding directory is still present.
from skelmimosa.
Same result if I don't include a target directory.
from skelmimosa.
Ugh, ok, well, closer is better. Looking further.
from skelmimosa.
0.3.0 pushed. Now using rimraf
module to remove directory, which should alleviate any cross platform removal issues.
Give it a shot. You were failing on literally the last step, so hopefully this'll get us there. Let me know.
from skelmimosa.
Here's what I am getting now:
C:\Projects> cd test
C:\Projects\test> dir
C:\Projects\test> mimosa skel:new durandal
12:10:25 - Retrieving registry...
12:10:25 - Found skeleton in registry
12:10:25 - Cloning GitHub repo [[ git://github.com/BlueSpire/Durandal-Mimosa-Skeleton.git ]] to temp holding directory.
12:10:28 - Moving cloned repo to [[ C:\Projects\test ]].
12:10:28 - Cleaning up...
12:10:28 - An error occurred cleaning up the temporary holding directory Error: UNKNOWN, rmdir 'C:\Projects\test\temp-mi
mosa-skeleton-holding-directory.git\objects\pack\pack-954af9ce1d697356484c2e17a56d277bfaa2a439.idx'
The holding directory is actually empty, with the exception of the .git folder.
from skelmimosa.
First off, thanks for being my windows QA team.
I didn't think it was possible to get closer without being done.
But Error UNKNOWN is a bit of a problem. It doesn't help me too much. Is that path even a directory?
Are you able to successfully remove the .git directory? And if so, how would you do it? I may just have to, in the event of that error, and the fact that its dealing with windows, shell out and just exec something on the command line.
from skelmimosa.
As the original issue brought up in this ticket seems to be solved, I'm closing this out. I've opened a new issue regarding the problem with the .git folder on Windows.
from skelmimosa.
Related Issues (15)
- Unpublish mimosa-skeleton from npm HOT 1
- Node Error? HOT 2
- Create and maintain 2.x skeleton registry HOT 5
- Marionette Skeleton HOT 3
- Feature Idea: Automatic file removal for GIT HOT 10
- An angularjs+karma skeleton HOT 7
- Unexpected Artifacts HOT 2
- Automatically run npm install inside the project directory
- Typo (missing bug)
- git is not recognized from windows command prompt HOT 4
- Unable to fully remove .git folder on Windows HOT 3
- legal ...? HOT 2
- sample simple ember app HOT 10
- basic node.js npm project skeleton? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skelmimosa.