Skip to content
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

build-config task fails on windows #65

Open
maxild opened this issue Dec 16, 2014 · 1 comment
Open

build-config task fails on windows #65

maxild opened this issue Dec 16, 2014 · 1 comment

Comments

@maxild
Copy link

maxild commented Dec 16, 2014

Hi,

I am running the default task (> gulp), and the build-config task throws exceptions while trying to build the json files in the .www/config folder.

image

I am running on the latest bits, but can see that the repos (generator-SP, gulp-SP and SP) have no commits since this summer. So I am also curious if the style-prototype generator is actively maintained?

I am running on windows. Could that be a problem?

I have ruby 2.0.0p598 (2014-11-13) [x64-mingw32], node v0.10.33 and whatnot setup fine. I haven't tested this on mac os x. I could test this on my mac, but I need this to work on windows.

I did try to debug with node-inspector, but a lot of things in the build-config step wrt pages, menus etc, I couldn't wrap my head around. And there are no tests to see what all the helper functions are supposed to do.

Tell me what exactly you need to know about my environment (/pages folder, /.www folder), and I will gladly help to solve this issue.

@maxild
Copy link
Author

maxild commented Dec 17, 2014

It is a windows issue:-(

I setup my mac at home with dev env with rbenv, nvm and whatnot....and the thing worked.

So next question is could @Snugug help with understanding this thing. Then I could dig in and add some tests to see that all the usual suspects works correctly on both nix and windows.

Or maybe NodeJS together with windows is just too painful....don't get me started...or nobody using this thing is interested in windows support? Could be. NodeJS is PAINFULL on windows, compared to on *nix.

The bug on windows is a path-bug...Like I said earlier, I used node-inspector on windows and pattern objects (returned by pattern.info(someFolderOrFfile)) had some funny looking paths inside of them!

Would this be easy og hard to hunt down?

I find the hole thing

  1. yo generator (angular etc)
  2. gulpfile (gulp-style-prototype)
  3. style-prototype (sass stuff)

quite hard to grasp, and not you typical 'style guide boilerplate' architecture...

And where are the tests? node-inspector (or console.log etc) is such a pain to use!!!!

@maxild maxild changed the title build-config task fails build-config task fails on windows Dec 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant