workshopper / workshopper/javascripting

Trying to run javascripting

オープン
#351 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
JavaScript
スター
2.9k
フォーク
1k
平均マージ
14時間 47分
マージ済み PR(30日)
1

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Windows 11 Command Prompt から Node v19.4.0 と npm 9.3.1 を使用して、報告された npm install -g javascripting コマンドと javascripting エントリーポイントからインストールを再現する。グローバル実行ファイルの場所が PATH にどのように公開されるかを確認し、動作する node_modules\\.bin の呼び出しと比較する。完了条件は、これがパッケージの問題か環境の問題かを特定し、再現可能な解決策を文書化またはテストすることである。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, node.js
領域
cli, developer-experience
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
説明が足りない
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。