angular-redux / form

Keep your Angular2+ form state in Redux
MIT License
41 stars 15 forks source link

npm install error #16

Closed javico2609 closed 7 years ago

javico2609 commented 7 years ago
 npm install angular-redux/form --save

> @angular-redux/form@6.0.1 postinstall \node_modules\@angular-redux\form
> npm run build

> @angular-redux/form@6.0.1 prebuild \node_modules\@angular-redux\form
> npm run clean

> @angular-redux/form@6.0.1 clean \node_modules\@angular-redux\form
> rimraf dist

> @angular-redux/form@6.0.1 build \node_modules\@angular-redux\form
> ngc

Error at ......../node_modules/@angular-redux/form/source/state.ts:221:25: Type 'string' does not satisfy the constraint 'object'.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @angular-redux/form@6.0.1 build: `ngc`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @angular-redux/form@6.0.1 build script 'ngc'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @angular-redux/form package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ngc
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs @angular-redux/form
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls @angular-redux/form
npm ERR! There is likely additional logging output above.
SethDavenport commented 7 years ago

angular-redux/form@6.1.1 has been released with a number of toolchain fixes - can you try upgrading?