workshopper / workshopper/javascripting

Trying to run javascripting

Offen
#351 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
JavaScript
Sterne
2.9k
Forks
1k
Ø Merge
14 Std. 47 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Reproduziere die Installation über eine Windows 11 Command Prompt mit Node v19.4.0 und npm 9.3.1, beginnend mit dem gemeldeten Befehl npm install -g javascripting und dem javascripting-Entry-Point. Prüfe, wie der Speicherort der globalen ausführbaren Datei in PATH verfügbar gemacht wird, und vergleiche ihn mit dem funktionierenden Aufruf von node_modules\\.bin. Als erledigt gilt, festzustellen, ob es sich um ein Package- oder ein Umgebungsproblem handelt, und eine reproduzierbare Lösung zu dokumentieren oder zu testen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, node.js
Bereich
cli, developer-experience
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
38/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.