-
Notifications
You must be signed in to change notification settings - Fork 0
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
Сould not install on Mac OS Catalina #16
Comments
Hi @sashabeep, can you provide some more info like your NodeJS version? |
v10.16.3
|
You have to probably run |
It's already installed
|
So Xcode is not installed / updated then? |
In general this is a node-gyp issue with missing build deps on your system, not this project =) |
Xcode not installed, only command line tools. It was always enough... |
xcode CLI does not work without Xcode ;-) |
|
Well, the terminal output says it =) And this is a node-gyp issue if it is one at all, not a foundation-* issue =) |
See nodejs/node-gyp#569 and other relevant issues. Closing as this is not an issue on our end and not specific to node-foundation-customizer. |
Also relevant: |
node-sass 4.5.3 does not supported by node 10x sass/node-sass#2672 (comment) |
It will be built from source in this case. I tried to install node-sass 4.5.3 on 10.16.3 on Mojave and it works: ➜ node-sass-test yarn init -y
yarn init v1.19.0
warning The yes flag has been set. This will automatically answer yes to all questions, which may have security implications.
success Saved package.json
✨ Done in 0.04s.
➜ node-sass-test node --version
v10.16.3
➜ node-sass-test yarn add [email protected]
yarn add v1.19.0
info No lockfile found.
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
success Saved lockfile.
success Saved 152 new dependencies.
info Direct dependencies
└─ [email protected]
info All dependencies
...
├─ [email protected]
...
✨ Done in 146.23s.
➜ node-sass-test Same for npm here: ➜ node-sass-test npm i
...
gyp info ok
Installed to /Users/danielruf/projects/node-sass-test/node_modules/node-sass/vendor/darwin-x64-64/binding.node
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
added 176 packages from 139 contributors and audited 516 packages in 148.607s
found 0 vulnerabilities
➜ node-sass-test npm ls --depth=0
[email protected] /Users/danielruf/projects/node-sass-test
└── [email protected]
Please provide the whole console output as I can not reproduce this. |
Same over here. I can confirm that installing xcode CLI only has always been enough - but after upgrading to macOS Catalina, ❯ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
> yarn
[...]
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/Cellar/node@10/10.16.3/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16) |
Not really, no. The terminal output, if it is to be trusted, explicitly says that is looks for |
Having the exact same issue after updating to the latest release on macOS Catalina. It was working completely fine before the improvements and stability release for Cataline. Anything that can be used to fix this for now? |
In general this is an issue with node-gyp I guess. Nothing that we can track or fix in this case here. |
@DanielRuf That's pity, i think i will try this on VM with other OS later. Waiting for new version and online customizer wake-up. Using simple template with foundation-cli or "download everything" on the site i cannot uncheck various js plugins i don't use, and ZURB template is too complicated for me at this point |
If you're having issues even after doing |
I can confirm too. Tried
|
Please see nodejs/node-gyp#1861, nodejs/node-gyp#1927 and the other issues and report this at node-gyp. This is nothing that we can handle or fix as I already wrote and our issue tracker is not the right place for this thirdparty dependency which is part of NodeJS =) |
And also nodejs/node-gyp#1861 (comment) for some steps which you can try. |
This worked for me, Thank you! |
You might need to open Xcode, then in the menu go to |
Removing and reinstalling the command line tools does the trick:
|
Worked for me as well. Thanks! |
This worked for me, Thank you |
@mlx-martin in my case still getting those errors, so i'll leave it for now
|
There is some error above this. |
Worked for me! Thank you. |
I'm locking this issue as it should be resolved and comments like "I have this too" and "thanks it works now" do not contribute any new things. This sends a notification to everyone in this issue. Please use the linked node-gyp issue if you still face this problem. Closing as resolved. |
Full screen of errors, mainly due to permissions and so. Can't figure out how to install it.
Installation guide requires update
The text was updated successfully, but these errors were encountered: