Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package.json自動インストールが落ちる #38

Open
coord-e opened this issue Jul 13, 2018 · 1 comment
Open

package.json自動インストールが落ちる #38

coord-e opened this issue Jul 13, 2018 · 1 comment
Labels
bug Something isn't working difficult to reproduce Something difficult to reproduce, or there is no known way to reproduce it investigation required Further investigation is requested

Comments

@coord-e
Copy link
Contributor

coord-e commented Jul 13, 2018

Step 1: 環境

Step 2: 問題

再現のための手順:

  1. ./scripts/start.sh
  2. package.jsonを編集する
  3. まつ

どうなってしまうか:

  • エラーを吐く
frontend_1  | [3/4] Linking dependencies...
frontend_1  | warning " > [email protected]" has incorrect peer dependency "eslint@>=1.6.0 <5.0.0".
frontend_1  | warning " > [email protected]" has incorrect peer dependency "eslint@^2.10.2 || ^3 || ^4".
frontend_1  | warning " > [email protected]" has incorrect peer dependency "mobx@^3.0.0 || ^4.0.0".
frontend_1  | Compiling...
frontend_1  | Failed to compile.
frontend_1  |
frontend_1  | ./src/container/App.js
frontend_1  | Module not found: Can't resolve 'react-router-dom' in '/code/src/container'
frontend_1  | Compiling...
frontend_1  | /node_modules/react-dev-utils/ModuleScopePlugin.js:28
frontend_1  |         request.descriptionFileRoot.indexOf('/node_modules/') !== -1 ||
frontend_1  |                                     ^
frontend_1  |
frontend_1  | TypeError: Cannot read property 'indexOf' of undefined
frontend_1  |     at Resolver.resolver.plugin (/node_modules/react-dev-utils/ModuleScopePlugin.js:28:37)
frontend_1  |     at Resolver.applyPluginsAsyncSeriesBailResult1 (/node_modules/tapable/lib/Tapable.js:256:13)
frontend_1  |     at runNormal (/node_modules/enhanced-resolve/lib/Resolver.js:130:20)
frontend_1  |     at Resolver.doResolve (/node_modules/enhanced-resolve/lib/Resolver.js:116:3)
frontend_1  |     at Resolver.<anonymous> (/node_modules/enhanced-resolve/lib/TryNextPlugin.js:16:12)
frontend_1  |     at Resolver.applyPluginsAsyncSeriesBailResult1 (/node_modules/tapable/lib/Tapable.js:256:13)
frontend_1  |     at runNormal (/node_modules/enhanced-resolve/lib/Resolver.js:130:20)
frontend_1  |     at Resolver.doResolve (/node_modules/enhanced-resolve/lib/Resolver.js:116:3)
frontend_1  |     at Resolver.<anonymous> (/node_modules/enhanced-resolve/lib/FileKindPlugin.js:17:12)
frontend_1  |     at Resolver.applyPluginsAsyncSeriesBailResult1 (/node_modules/tapable/lib/Tapable.js:256:13)
frontend_1  |     at runNormal (/node_modules/enhanced-resolve/lib/Resolver.js:130:20)
frontend_1  |     at Resolver.doResolve (/node_modules/enhanced-resolve/lib/Resolver.js:116:3)
frontend_1  |     at Resolver.<anonymous> (/node_modules/enhanced-resolve/lib/NextPlugin.js:14:12)
frontend_1  |     at Resolver.applyPluginsAsyncSeriesBailResult1 (/node_modules/tapable/lib/Tapable.js:256:13)
frontend_1  |     at runAfter (/node_modules/enhanced-resolve/lib/Resolver.js:152:20)
frontend_1  |     at innerCallback (/node_modules/enhanced-resolve/lib/Resolver.js:146:3)
frontend_1  | error Command failed with exit code 1.
frontend_1  | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
frontend_1  | [4/4] Building fresh packages...
frontend_1  | error Command failed with signal "SIGTERM".
frontend_1  | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
frontend_1  | ERROR: "start:js" exited with 1.
frontend_1  | error Command failed with exit code 1.
frontend_1  | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
devenv_frontend_1 exited with code 1

どうなるべきだったのか:

  • スムーズにインストールが入り、そして再コンパイルが入る

関連:

@coord-e coord-e added the bug Something isn't working label Jul 13, 2018
@coord-e coord-e added this to the 開発環境整備 milestone Jul 13, 2018
@coord-e
Copy link
Contributor Author

coord-e commented Jul 14, 2018

なぜかさっき落ちなかったです

@coord-e coord-e added the investigation required Further investigation is requested label Jul 14, 2018
@coord-e coord-e added the difficult to reproduce Something difficult to reproduce, or there is no known way to reproduce it label Jul 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working difficult to reproduce Something difficult to reproduce, or there is no known way to reproduce it investigation required Further investigation is requested
Projects
None yet
Development

No branches or pull requests

1 participant