Skip to content

add "es6-promise" in package.json #50

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add "es6-promise" in package.json
Add the "es6-promise" dependencies in package.json to avoid the following error : `ReferenceError: Promise is not defined at webpackDevMiddleware`
  • Loading branch information
Bertrand Rigal authored Jan 17, 2018
commit 029e86c2e6441d142fae4bad01aaf2a7fe9f6e1e
1 change: 1 addition & 0 deletions 4-redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
"es6-promise": "^4.2.2",
"react": "^0.14.6",
"react-dom": "^0.14.6",
"redux": "^3.5.2",
Expand Down