我在安装latex-sketch-plugin时出错。我不知道如何安装这个插件,但我的论文需要它,因为我必须制作一些需要编写数学方程式的图表。所以基本上,我有节点包管理器
amar@admin:~$ npm -v
5.4.2
我将latex-sketch-plugin repo克隆git clone
到草图插件文件夹中,即~/Library/Application Support/com.bohemiancoding.sketch3/Plugins
但是当我执行时npm run watch
出现以下错误
amar@admin:~$ npm run watch
npm ERR! path /Users/amar/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/Users/amar/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/amar/.npm/_logs/2017-11-08T04_14_49_190Z-debug.log