2017-11-08 4 views
0

latex-sketch-pluginをインストール中にエラーが発生しました。私はこのプラグインをインストールする方法を完全には考えていませんが、私は数学的方程式も書く必要があるいくつかの図を作成する必要があるので、私の論文に必要です。だから、基本的に、私は、ノードのパッケージマネージャnpm run watchを実行中にlatex-sketch-pluginをインストールする際にエラーが発生しました

[email protected]:~$ npm -v 
5.4.2 

を持っていると私はへgit cloneを使用してlatex-sketch-pluginレポクローン化されたスケッチのプラグインフォルダすなわち~/Library/Application Support/com.bohemiancoding.sketch3/Plugins

私はnpm run watchを実行したとき、私は次のエラーを取得

[email protected]:~$ 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 

答えて

1

エラーメッセージに、/Users/amar/package.jsonが見つかりません。/Users/amarフォルダにnpmコマンドを実行したようです。プロジェクトをクローンしたフォルダで実行してください。したがって、npmはpackage.jsonを見つけることができます

関連する問題