Comments (8)
You need to install the dependencies first:
yarn run deps
from sockethub.
can't even install running
git clone [email protected]:sockethub/sockethub.git
cd sockethub/
npm install -g lerna
yarn run deps
lerna bootstrap
give me
lerna bootstrap
info cli using local version of lerna
lerna notice cli v4.0.0
lerna info versioning independent
lerna info Bootstrapping 10 packages
lerna info Installing external dependencies
lerna ERR! yarn install --mutex network:42424 --non-interactive exited 2 in '@sockethub/platform-xmpp'
lerna ERR! yarn install --mutex network:42424 --non-interactive stderr:
Usage: yarn [options]
yarn: error: no such option: --mutex
lerna ERR! yarn install --mutex network:42424 --non-interactive exited 2 in '@sockethub/platform-xmpp'
lerna WARN complete Waiting for 7 child processes to exit. CTRL-C to exit immediately.
from sockethub.
A little context on why yarn run deps
is needed, it's a workaround that I would love to remove if lerna fixes the issue, explained here. lerna/lerna#3070
As for running sockethub, @scenaristeur why are you running lerna bootstrap
after you run yarn run deps
which includes the bootstrap?
Anyway, for me, with a fresh checkout, this works:
git clone [email protected]:sockethub/sockethub.git
cd sockethub/
yarn run deps
yarn run dev
from sockethub.
smag@smag-IdeaPad:~/dev/newsockethub$ git clone [email protected]:sockethub/sockethub.git
cd sockethub/
yarn run deps
yarn run dev
Clonage dans 'sockethub'...
remote: Enumerating objects: 19198, done.
remote: Counting objects: 100% (3234/3234), done.
remote: Compressing objects: 100% (893/893), done.
remote: Total 19198 (delta 2498), reused 2995 (delta 2315), pack-reused 15964
Réception d'objets: 100% (19198/19198), 9.98 Mio | 6.36 Mio/s, fait.
Résolution des deltas: 100% (11666/11666), fait.
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'run'
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'run'
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$ yarn run dev
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'run'
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$ yarn run deps
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'run'
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$
from sockethub.
Hi David, you have to run each command separately. It looks like here the commands were all pasted in the terminal at once. Or you can chain them with
git clone [email protected]:sockethub/sockethub.git && cd sockethub/ && yarn run deps && yarn run dev
from sockethub.
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$ yarn --version
0.32+git
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$ npm -v
8.11.0
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$ node -v
v16.16.0
smag@smag-IdeaPad:~/dev/newsockethub$ ll
total 8
drwxrwxr-x 2 smag smag 4096 août 14 21:38 ./
drwxrwxr-x 28 smag smag 4096 août 14 21:27 ../
smag@smag-IdeaPad:~/dev/newsockethub$ git clone [email protected]:sockethub/sockethub.git
Clonage dans 'sockethub'...
remote: Enumerating objects: 19198, done.
remote: Counting objects: 100% (3228/3228), done.
remote: Compressing objects: 100% (896/896), done.
remote: Total 19198 (delta 2485), reused 2991 (delta 2306), pack-reused 15970
Réception d'objets: 100% (19198/19198), 9.93 Mio | 8.64 Mio/s, fait.
Résolution des deltas: 100% (11657/11657), fait.
smag@smag-IdeaPad:~/dev/newsockethub$ cd sockethub/
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$ yarn run deps
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'run'
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$ npm run deps
> deps
> yarn install && lerna bootstrap
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$ npm install
added 1147 packages, and audited 1148 packages in 1m
109 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$ yarn run deps
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'run'
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$
from sockethub.
Sorry, my bad . https://stackoverflow.com/questions/46013544/yarn-install-command-error-no-such-file-or-directory-install
Bad version of yarn
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$ sudo apt remove cmdtest
[sudo] Mot de passe de smag :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
python3-cliapp python3-ttystatus
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Les paquets suivants seront ENLEVÉS :
cmdtest
0 mis à jour, 0 nouvellement installés, 1 à enlever et 0 non mis à jour.
Après cette opération, 98,3 ko d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] O
(Lecture de la base de données... 380905 fichiers et répertoires déjà installés.)
Suppression de cmdtest (0.32.14.gcdfe14e-2) ...
Traitement des actions différées (« triggers ») pour man-db (2.10.2-1) ...
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$ sudo apt remove yarn
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Note : sélection de « cmdtest » au lieu de « yarn »
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
python3-cliapp python3-ttystatus
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$ sudo npm install -g yarn
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
added 1 package, and audited 2 packages in 964ms
found 0 vulnerabilities
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$ yarn --version
1.22.19
smag@smag-IdeaPad:~/dev/newsockethub/sockethub$ yarn run deps
yarn run v1.22.19
$ yarn install && lerna bootstrap
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
from sockethub.
@scenaristeur Glad it's working, BTW I created a PR fixing the issue with yarn deps
so it's no longer needed. Once it's merged you'll just need to do the standard yarn install
before running. #764
from sockethub.
Related Issues (20)
- Tag and publish pre-release of 5.0 HOT 1
- Split sockethub package into sockethub and @sockethub/server HOT 1
- Improve linting
- Generate Sockethub config with command-line tool
- Sockethub shutting down instead of handling exception HOT 8
- Add option to force clients to provide a token for access
- Platform Idea: Readability
- Switch to yarn workspaces and lerna-lite?
- docker-compose build does not seem to work HOT 1
- `socket.io.js.map` 404
- Platform Idea: Discourse Chat HOT 1
- Do we need to still support Node 14.x ? HOT 2
- Switch to `pnpm` & use it's workspaces
- Sentry integration
- Add tooltips and more descriptive text in the examples package
- Allow for password to be input on the Examples->IRC page
- Investigate switching from node to bun
- Investigate making use of .env for sockethub config
- IRC Commands (`\001 ACTION`) not working in node, alternative methods of using octals don't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sockethub.