-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
if you are a windows user ,after npm install --global javascripting .maybe you will do
Open your terminal and run the following command:
javascripting
but, unfortunately. you will received an error in your cmd ,like this "javascripting is not an internal or external command, nor is it a program that can run" . so what should a windows user do?
Now , I will share the right way do in windows
if your os is windows 10
- open your powershell .
cdyour current path to thejavascripting,then input.\javascripting- you can choose one item ,then press enter key.
- enjoy your trainning.
ps: I am a chinese, I am very poor in english. so,maybe what I say you do not understand. Now,I will write all steps in chinese.
如果你当前使用的是windows环境,那么按照Run the workshop上面的步骤是不可行的。因为在执行了npm install --global javascripting,并且按照完成之后,在命令行里面执行javascripting命令会提示**'javascripting' 不是内部或外部命令,也不是可运行的程序
或批处理文件。**
正确的做法是:
使用powershell,然后,找到javascripting安装后的位置:比如我的是:E:\npm_packages\npm_g。然后,把powershell的当前路径也cd 到这里来。然后执行'\javascripting命令就可以打开了。后续的操作,所有需要执行javascripting命令的地方全部换成.\javascripting即可。比如校验命令,应该替换成:.\javascripting verify E:\javascriptWorkFloder\scope.js。里面路径切换成你自己的即可。