Skip to content
This repository was archived by the owner on Jun 15, 2025. It is now read-only.
This repository was archived by the owner on Jun 15, 2025. It is now read-only.

Installation fails on darwin-x64 (Intel MacBook) #67

Description

@joewxboy

When I follow the instructions and attempt to install, the following error prevents installation:

% npx create-socket-app react
Initializing npm package...Ok.
Installing developer dependencies...Ok.
Installing '@socketsupply/socket' locally (ssc not in PATH)
Installing dependencies...Ok.
Adding package scripts...Ok.
Creating socket files...
> feedback-cyborg@1.0.0 init-project
> ssc init --config

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@socketsupply/socket-darwin-x64' imported from /{my local path}/node_modules/@socketsupply/socket/bin/ssc.js
    at Object.getPackageJSONURL (node:internal/modules/package_json_reader:267:9)
    at packageResolve (node:internal/modules/esm/resolve:768:81)
    at moduleResolve (node:internal/modules/esm/resolve:854:18)
    at defaultResolve (node:internal/modules/esm/resolve:984:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:780:12)
    at #cachedDefaultResolve (node:internal/modules/esm/loader:704:25)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:687:38)
    at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:305:38)
    at onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:643:36)
    at TracingChannel.tracePromise (node:diagnostics_channel:344:14) {
  code: 'ERR_MODULE_NOT_FOUND'
}
Ok.
Updating project configuration...
Unable to read socket.ini: Error: ENOENT: no such file or directory, open 'socket.ini'
    at async open (node:internal/fs/promises:634:25)
    at async Object.readFile (node:internal/fs/promises:1238:14)
    at async main (file:///{my local path}/.npm/_npx/d5a408ba81afe2c4/node_modules/create-socket-app/index.js:286:14)

If I try to subsequently manually install @socketsupply/socket-darwin-x64 npm finds the package but will not install because the directory is not empty.

I've tried with 18.x and latest of Node installed via nvm.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions