私は(Windowsの場合)eb create
を実行しようとすると、私は次のエラーを取得する:スキップしない.ebignore node_modules(アマゾン)
ERROR: FileNotFoundError :: [WinError 3] The system cannot find the path specified: './website\\frontend\\node_modules\\gulp-sass\\node_modules\\node-sass\\node_modules\\sass-graph\\node_modules\\yargs\\node_modules\\read-pkg-up\\node_modules\\read-pkg\\node_modules\\normalize-package-data\\node_modules\\is-builtin-module\\node_modules'
マイ.ebignoreファイルは次のようになり、また、大部分の上で動作しますファイル:
# Project Files
webiste/static/
env/
.idea/
node_modules/
私はeb create --verbose
を実行すると、私は次のような出力が得られます。
INFO: -skipping: ./website\frontend\node_modules\gulp-sass\node_modules\node-sass\node_modules\sass-graph\node_modules\yargs\node_modules\read-pkg-up\node_modules\read-pkg\node_modules\normalize-package-data\node_modules\hosted-git-info\LICENSE
INFO: -skipping: ./website\frontend\node_modules\gulp-sass\node_modules\node-sass\node_modules\sass-graph\node_modules\yargs\node_modules\read-pkg-up\node_modules\read-pkg\node_modules\normalize-package-data\node_modules\hosted-git-info\package.json
INFO: -skipping: ./website\frontend\node_modules\gulp-sass\node_modules\node-sass\node_modules\sass-graph\node_modules\yargs\node_modules\read-pkg-up\node_modules\read-pkg\node_modules\normalize-package-data\node_modules\hosted-git-info\README.md
INFO: -skipping: ./website\frontend\node_modules\gulp-sass\node_modules\node-sass\node_modules\sass-graph\node_modules\yargs\node_modules\read-pkg-up\node_modules\read-pkg\node_modules\normalize-package-data\node_modules\is-builtin-module\index.js
INFO: -skipping: ./website\frontend\node_modules\gulp-sass\node_modules\node-sass\node_modules\sass-graph\node_modules\yargs\node_modules\read-pkg-up\node_modules\read-pkg\node_modules\normalize-package-data\node_modules\is-builtin-module\license
INFO: +adding: ./website\frontend\node_modules\gulp-sass\node_modules\node-sass\node_modules\sass-graph\node_modules\yargs\node_modules\read-pkg-up\node_modules\read-pkg\node_modules\normalize-package-data\node_modules\is-builtin-module/
INFO: +adding: ./website\frontend\node_modules\gulp-sass\node_modules\node-sass\node_modules\sass-graph\node_modules\yargs\node_modules\read-pkg-up\node_modules\read-pkg\node_modules\normalize-package-data\node_modules\is-builtin-module\node_modules
INFO: Traceback (most recent call last):
File "C:\Python34\lib\site-packages\ebcli\core\ebrun.py", line 45, in run_app
app.run()
File "C:\Python34\lib\site-packages\cement\core\foundation.py", line 797, in run
return_val = self.controller._dispatch()
File "C:\Python34\lib\site-packages\cement\core\controller.py", line 472, in _dispatch
return func()
File "C:\Python34\lib\site-packages\cement\core\controller.py", line 478, in _dispatch
return func()
File "C:\Python34\lib\site-packages\ebcli\core\abstractcontroller.py", line 60, in default
self.do_command()
File "C:\Python34\lib\site-packages\ebcli\controllers\create.py", line 265, in do_command
source=source)
File "C:\Python34\lib\site-packages\ebcli\operations\createops.py", line 75, in make_new_env
build_config=build_config)
File "C:\Python34\lib\site-packages\ebcli\operations\commonops.py", line 867, in create_app_version
version_label, source_control, staged=staged)
File "C:\Python34\lib\site-packages\ebcli\operations\commonops.py", line 1054, in _zip_up_project
fileoperations.zip_up_project(file_path, ignore_list=ignore_files)
File "C:\Python34\lib\site-packages\ebcli\core\fileoperations.py", line 436, in zip_up_project
zip_up_folder('./', location, ignore_list=ignore_list)
File "C:\Python34\lib\site-packages\ebcli\core\fileoperations.py", line 423, in zip_up_folder
_zipdir('./', zipf, ignore_list=ignore_list)
File "C:\Python34\lib\site-packages\ebcli\core\fileoperations.py", line 493, in _zipdir
zipf.write(cur_file)
File "C:\Python34\lib\zipfile.py", line 1322, in write
st = os.stat(filename)
FileNotFoundError: [WinError 3] The system cannot find the path specified: './website\\frontend\\node_modules\\gulp-sass\\node_modules\\node-sass\\node_modules\\sass-graph\\node_modules\\yargs\\node_modules\\read-pkg-up\\node_modules\\read-pkg\\node_modules\\normalize-package-data\\node_modules\\is-builtin-module\\node_modules'
(成功と私のenvフォルダをスキップした後)
node_modulesファイルを何回もスキップした後でも、なぜ突然追加を開始したいのかわかりません。
編集:私はまた、EX/node_modulesため、書式設定のあらゆる可能な方法を試してみました、\ node_modules、\ node_modules、node_modules/**/、node_modules/など。