windows上面装环境确实很折磨
如果你要使用pyscipt的editor功能
必须使用worker
然后worker要用npx static-handler --coi ./public/
来打开
如果显示ENOENT: no such file or directory, lstat ‘C:\Users\xxx\AppData\Roaming\npm’
那么要使用
npm config set prefix ‘C:\Program Files\nodejs\node_modules\npm’
你看看自己把npm文件夹装在哪了自己改
然后就可以使用pyscipt了