1
を
を
私をインストール'警備員' エラーが発生しているversition..i残り火..
私は、このコマンドラインを使用
ember -v
と私は、このようなエラーを見ている...
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
ember-cli: 2.9.1
node: 6.2.2
os: linux ia32
私はこのエラーを解決し、thisリンクをたどるしようとしましたが、私は別のエラーに
を持っている。これは私のstpesです:
// installing watchman from source
git clone https://github.com/facebook/watchman.git
cd watchman
./autogen.sh
./configure
make
sudo make install
make
コマンドを入力した場合
make all-am
make[1]: Entering directory '/home/karthick/watchman'
cd python && /usr/bin/python ./setup.py clean build_py -c -d . build_ext -i
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'
warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
running clean
removing 'build/temp.linux-i686-2.7' (and everything under it)
error removing build/temp.linux-i686-2.7: [Errno 13] Permission denied: 'build/temp.linux-i686-2.7/pywatchman'
error removing build/temp.linux-i686-2.7: [Errno 13] Permission denied: 'build/temp.linux-i686-2.7'
running build_py
running build_ext
building 'pywatchman.bser' extension
i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c pywatchman/bser.c -o build/temp.linux-i686-2.7/pywatchman/bser.o
pywatchman/bser.c:31:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'i686-linux-gnu-gcc' failed with exit status 1
Makefile:4139: recipe for target 'py-build' failed
make[1]: *** [py-build] Error 1
make[1]: Leaving directory '/home/karthick/watchman'
Makefile:899: recipe for target 'all' failed
make: *** [all] Error 2
いずれか私を助けて:(:(
私はember new app_name
を作成するとき、私はこのエラーを得た:(
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
EACCES: permission denied, open '/home/karthick/.config/configstore/bower-github.json'
You don't have access to this file.
Error: EACCES: permission denied, open '/home/karthick/.config/configstore/bower-github.json'
You don't have access to this file.
at Error (native)
at Object.fs.openSync (fs.js:634:18)
at FSMonitor._measure (/usr/local/lib/node_modules/ember-cli/node_modules/heimdalljs-fs-monitor/index.js:66:21)
at Object.openSync (/usr/local/lib/node_modules/ember-cli/node_modules/heimdalljs-fs-monitor/index.js:82:30)
at Object.fs.readFileSync (fs.js:502:33)
at FSMonitor._measure (/usr/local/lib/node_modules/ember-cli/node_modules/heimdalljs-fs-monitor/index.js:66:21)
at Object.readFileSync (/usr/local/lib/node_modules/ember-cli/node_modules/heimdalljs-fs-monitor/index.js:82:30)
at Object.create.all.get (/usr/local/lib/node_modules/ember-cli/node_modules/bower/lib/node_modules/configstore/index.js:35:26)
at Object.Configstore (/usr/local/lib/node_modules/ember-cli/node_modules/bower/lib/node_modules/configstore/index.js:28:44)
at readCachedConfig (/usr/local/lib/node_modules/ember-cli/node_modules/bower/lib/config.js:19:23)
okありがとうございます@pavol ...私はそれを試してみましょう..あなたが知っている.. :) –
しかし、私は同じ問題が...どのように監視人がインストールされているチェック? –
ああ、これはPythonのバージョンが間違っていると思われます。 '致命的なエラー:Python.h:そのようなファイルやディレクトリがありません。 ' 正しいpythonバージョンがインストールされていることを確認してください。私はPython 2.7.11+を持っています。 'python -V'を実行して、あなたのpythonバージョンを見つけましょう。 http://stackoverflow.com/a/34668690/1854744に関連する可能性があります – Pavol