workshopper / workshopper/javascripting
Trying to run javascripting
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 2.9k
- Fork
- 1k
- Merge trung bình
- 14 giờ 47 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
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:
- Install node.js'
- Open Comand Prompt on Windows 11 as Administrator
- i see that in my prompt: C:\Windows\System32>
- Type: npm install -g javascripting
- wait npm finish installation, installation is ok
- Type: javascripting (something like that: C:\Windows\System32>javascripting)
- 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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Tái hiện quá trình cài đặt từ Windows 11 Command Prompt bằng Node v19.4.0 và npm 9.3.1, bắt đầu với lệnh đã được báo cáo npm install -g javascripting và entry point javascripting. Kiểm tra cách vị trí của tệp thực thi global được đưa vào PATH và so sánh với lời gọi đang hoạt động của node_modules\\.bin. Hoàn thành khi xác định được đây là vấn đề của package hay của môi trường, đồng thời ghi lại hoặc kiểm thử một cách giải quyết có thể tái hiện.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, node.js
- Lĩnh vực
- cli, developer-experience
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 38/100