Skip to content

Conversation

@a1291762
Copy link
Contributor

npm is a dependency, and it is listed as such for Ubuntu, but not for macOS.

I could not get the pebble SDK installed until I had npm. Since we are being directed to use homebrew, and it can install npm, do that.

@a1291762
Copy link
Contributor Author

[Thirteen:~/src/developer.rebble.io] [fix_sdk_setup_macos] link$ pebble sdk install latest
Installing SDK...

By using the Pebble SDK, you agree to the following:

PEBBLE TERMS OF USE
https://developer.rebble.io/developer.getpebble.com/legal/terms-of-use/index.html

PEBBLE DEVELOPER LICENSE
https://developer.rebble.io/developer.getpebble.com/legal/sdk-license/index.html

Downloading...
100%[=====================================================]   5.0 MiB/s 0:00:07
Extracting...
Preparing venv... (this may take a while)
Installing dependencies...
Collecting freetype-py>=2.5.1
  Using cached freetype_py-2.5.1-py3-none-macosx_10_9_universal2.whl (1.7 MB)
Collecting sh>=2.2.1
  Using cached sh-2.2.2-py3-none-any.whl (38 kB)
Collecting pypng>=0.20220715.0
  Using cached pypng-0.20220715.0-py3-none-any.whl (58 kB)
Installing collected packages: sh, pypng, freetype-py
Successfully installed freetype-py-2.5.1 pypng-0.20220715.0 sh-2.2.2
WARNING: You are using pip version 21.2.4; however, version 25.3 is available.
You should consider upgrading via the '/Users/link/Library/Application Support/Pebble SDK/SDKs/4.9.77/.venv/bin/python -m pip install --upgrade pip' command.
Installing JS dependencies... (this may take a while)
Failed.
Cleaning up failed install...
Done.
You must have npm ≥ 3.0.0 available on your path.

A new SDK, version 4.9.77, is available! Run `pebble sdk install 4.9.77` to get it.
Check out the release notes at https://developer.rebble.io/developer.pebble.com/sdk/changelogs/4.3/index.html

After brew install node

Installing JS dependencies... (this may take a while)
Downloading toolchain...
100%[=====================================================]   5.0 MiB/s 0:00:12
Extracting toolchain...
Done.
Installed.

I don't think homebrew separates node from npm though, as after installing one, the other is already installed?

@a1291762 a1291762 force-pushed the fix_sdk_setup_macos branch from 011d490 to 18b0ea8 Compare November 27, 2025 02:49
Copy link
Member

@Sorixelle Sorixelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks for the PR!

node/npm is a dependency, and it is listed as such for Ubuntu, but not
for macOS.

I could not get the pebble SDK installed until I had node/npm. Since we
are being directed to use homebrew, and it can install node/npm, do that.

Homebrew seems to install both when using either 'node' or 'npm',
so both are not listed separately.

Signed-off-by: Lincoln Ramsay <a1291762@gmail.com>
@Sorixelle Sorixelle force-pushed the fix_sdk_setup_macos branch from 18b0ea8 to fbad7c6 Compare December 2, 2025 06:48
@Sorixelle Sorixelle merged commit 1d48fd9 into pebble-dev:main Dec 2, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants