Skip to content

about how to use in windows ! windows用户的操作方式需要转变!!! #195

@pythoncat1024

Description

@pythoncat1024

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

  1. open your powershell .
  2. cdyour current path to the javascripting,then input .\javascripting
  3. you can choose one item ,then press enter key.
  4. 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。里面路径切换成你自己的即可。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions