-
Notifications
You must be signed in to change notification settings - Fork 109
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
npm install fails - error in spellchecker_mac.mm code #205
Comments
@VikasShashidhar what is the status of spellchecker? is there still compilation issue with that npm package - causing issue here? |
@lneir @bluechips23 Please see this PR -> #197 |
I just pulled down the latest code in master and the build is still failing. Here's some of the relevant build output:
|
Looks like rev 89e8238 that @VikasShashidhar just committed fixes the issue - I can now build. |
Hey @pmonks did you have to do anything else to build this? I am still getting the error. These are the steps I am following now:
I did git fetch and git pull and I can confirm I have the newest code, yet I still get the following error:
|
@bluechips23 You may have probably upgraded to the latest XCode.
One of the above should fix your issue. |
If you've not installed XCode, please install it. |
@bluechips23 FWIW I use the following script to build (npm seems to do a poor job of keeping itself and SymphonyElectron's modules up to date):
|
@pmonks You really don't need to do all of the above. Just run |
@VishwasShashidhar in theory that's true. In practice I've found npm to be... ...a "tad" unreliable. 😉 |
Thanks @pmonks and @VishwasShashidhar - I finally got this to work. I had the newest XCode - 9.1 beta 2. After uninstalling it and reinstalling XCode 8.3, |
This just started recurring for me:
My install of Xcode recently updated itself (to |
@pmonks You may have switched branches perhaps? On "master", it's working fine for me and on Jenkins too. |
Yeah I'm on master too: pmonks@mthay ~/D/s/SymphonyElectron$ git branch
* master
pmonks@mthay ~/D/s/SymphonyElectron$ Are you building with Xcode v9? |
If two people with two different machines are having the same issue, then chances are there will be more folks who are going to have the same problem when they upgrade to Xcode 9+. Looks like @VishwasShashidhar is aware of this issue as reported here electron-userland/electron-spellchecker#88 But I don't think this really solves the problem. At least it didn't for me or for @pmonks. Please see if you can reproduce this on a clean machine with XCode 9. I ran into this issue on a brand new Mac with newest XCode. Only downgrading to Xcode 8.3 solved it for me. |
@pmonks @bluechips23 I've got the same XCode version on my laptop too. If you are facing the 4.0.6 version of electron-spellchecker, you shouldn't face this issue as it has been fixed in that version. It's weird that you folks are facing the issue. Could you try and do a clean install of the Symphony repo and see if you can repro the issue. |
Fresh checkout & build:
It looks like npm is still picking up v4.0.5 of @paulcbetts/spellchecker (look for What might be causing npm to mess up the transitive dependency versions like that? |
That's weird! Can you try clearing npm cache and see if that makes any difference? |
That didn't seem to help:
|
I also tried whacking |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I did a clone of the master branch this morning and I ran
npm install
and I got the following error. Seems like there's an error in the code but let me know if I'm doing something wrong.I'm running on MacOS - 10.12.6 (Sierra).
Error:
The text was updated successfully, but these errors were encountered: