You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an error during npm install while using the near-sandbox package on macOS (Darwin x64). The installation fails due to an unsupported platform error.
Error Output
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated [email protected]: use 3.0.0 instead, safe-buffer has been merged and released for compatibility
npm WARN deprecated [email protected]: This package is no longer supported.
...
npm ERR! Error: Unsupported platform: Darwin x64
npm ERR! at getPlatform (/Users/amiranasri/js-mac/node_modules/near-sandbox/dist/getBinary.js:17:11)
npm ERR! at AWSUrl (/Users/amiranasri/js-mac/node_modules/near-sandbox/dist/getBinary.js:20:30)
npm ERR! at getBinary (/Users/amiranasri/js-mac/node_modules/near-sandbox/dist/getBinary.js:31:19)
npm ERR! at Object.<anonymous> (/Users/amiranasri/js-mac/node_modules/near-sandbox/dist/install.js:4:27)
Environment Details
Node.js Version: v22.12.0
Operating System: macOS (Darwin x64)
Package: near-sandbox
Steps to Reproduce
Execute the following command in your terminal:
npx create-near-app@latest
Respond to the Prompt
You will see a prompt asking you to choose what you want to build. Use the arrow keys to navigate and press Enter to select one of the options:
A Web App for creating a frontend application.
A Smart Contract for creating a smart contract project for the NEAR blockchain.
Complete the Setup
After making your selection, follow the instructions provided by the CLI to configure your project.
Description
I'm encountering an error during
npm install
while using thenear-sandbox
package on macOS (Darwin x64). The installation fails due to an unsupported platform error.Error Output
Environment Details
near-sandbox
Steps to Reproduce
npx create-near-app@latest
You will see a prompt asking you to choose what you want to build. Use the arrow keys to navigate and press Enter to select one of the options:
npm install
.Expected Behavior
The installation should proceed without errors.
Actual Result
Page URL
https://docs.near.org/build/web3-apps/quickstart
Impact
Suggested Fix
No response
The text was updated successfully, but these errors were encountered: