workshopper / workshopper/javascripting

Trying to run javascripting

Aperta
#351 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
JavaScript
Stelle
2.9k
Fork
1k
Merge medio
14h 47m
PR unite (30g)
1

Descrizione

Describe the bug

Hi, I'm a newbie and it's my first time trying Javascripting.

I followed the instructions and after installing node.js, I opened CMD as administrator, on Windows 11.
I ran the command npm install -g javascripting, and next i wrote javascripting, but nothing happens.
Just an error: "javascripting" is not recognized as an internal or external command,
an executable program or batch file.

To Reproduce
Steps to reproduce the behavior:

  1. Install node.js'
  2. Open Comand Prompt on Windows 11 as Administrator
  3. i see that in my prompt: C:\Windows\System32>
  4. Type: npm install -g javascripting
  5. wait npm finish installation, installation is ok
  6. Type: javascripting (something like that: C:\Windows\System32>javascripting)
  7. error

Expected behavior
Through the tutorials and videos I've watched, the javascripting program launches on the CMD.

So I did this

The npm install had no error, but I couldn't read the installation directory (too fast). I tried to figure out in which directory npm was actually installing javascripting. After some tries, I found javascripting in this directory:

C:\Windows\System32\node_modules\.bin
From here, you can also double click on javascripting.cmd.

I wrote this in command prompt

cd node_modules

C:\Windows\System32\node_modules>

cd .bin

C:\Windows\System32\node_modules\.bin>

javascripting

javascripting starts It works!

Execution environment (please complete the following information):

  • OS: Windows 11
  • Version 22621.1105
  • Node Version v19.4.0
  • NPM 9.3.1

What did I do wrong? Why doesn't javascripting start in my case like in the tutorials I've seen online?

Thanks

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Riprodurre l’installazione da un Windows 11 Command Prompt usando Node v19.4.0 e npm 9.3.1, iniziando dal comando segnalato npm install -g javascripting e dall’entry point javascripting. Verificare come la posizione dell’eseguibile globale viene resa disponibile in PATH e confrontarla con l’invocazione funzionante di node_modules\\.bin. Il lavoro è completato quando viene identificato se si tratta di un problema del package o dell’ambiente e viene documentata o testata una risoluzione riproducibile.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, node.js
Ambito
cli, developer-experience
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Da chiarire
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.