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.
When I follow the instructions and attempt to install, the following error prevents installation:
If I try to subsequently manually install
@socketsupply/socket-darwin-x64npm 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.