-
Notifications
You must be signed in to change notification settings - Fork 96
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
Unable to run on Win 8.1 #74
Comments
From what I can tell, there should be a "binary" named |
I have two files in local grunt folder: 1) grunt 2) grunt.cmd and the same files in global grunt folder.
it doesn't work, but if I change it to:
it works perfect. Also I've tried to use globally installed grunt but without success. I added grunt folder to PATH
but it does't work |
I see. We definitely need to do something about this. Any windows dev who'd care to take a jab at this? I'd assume the path separator is not correct either (should be \ on Windows, no?). I think the value of this (
|
@noseglid yep the path sep is \ on Windows. I have a feeling that the inconsistent slashes is what's screwing it over |
I could change it throughout the package to use platform specific path separator, but I'd have no way of testing it since I don't have any Windows platform at my disposal. If you guys would help me test it, maybe we could get something done? |
Sure I can help ya test it. I'm running 8.1 aswell. |
Allright, so I altered all the path variables so they should be platform specific (path separator is I really need some help testing it. It is on the branch git clone https://github.com/noseglid/atom-build -b dev/generic-paths
cd atom-build
apm install
apm link and reload atom. I'm looking forward to hearing if it works. |
Uncaught TypeError: Cannot read property 'replace' of undefined
it didnt work :( |
It seems as you didn't get the right code. Those stack traces doesn't match what is on the branch |
Okay I'll try again. It's just i did'nt get stack traces before. |
Executing: S:\Projects\CeeSS\node_modules.bin\gulp default New log it runs this time though. Almost X-Actly the same 🔪 but with right paths. I got it! On WinDOwS, you need to run gulp.cmd instead of gulp. |
In fact that would need all of them for the most part to use .cmd |
Cool. I've added so it uses |
Right I'll redownload |
Sorry about that, I just needed cough meds 😠 . Anyway so I got the latest patch, and.....
in the build log ( not stack trace) |
What... how did you open Atom? The path that it claims is not a path should be the root folder of the currently opened project. I don't see how the changes I've done to gulp, grunt, npm and apm build tools can affect that... |
Oh it's just cause I was looking at files outside of the directory. After restarting atom it works! 😄 |
That is great! Altough I might wanna do something about that anyway. Thanks for helping me resolving this! |
I've got the exception on build grunt on my windows 8.1 PC:
"Unable to execute: C:/node_modules/.bin/grunt"
As I guess the problem lays in defining path to grunt in file tools/Grunt.js:
Since I've made a stub for this case:
it works fine.
It looks like that this problem is common for all build tools on win pc, if so, is it possible to fix?
The text was updated successfully, but these errors were encountered: