angular-redux / form

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

Toolchain fixes - Update for Angular 4 #5

Closed SethDavenport closed 7 years ago

SethDavenport commented 7 years ago

Tests recently started failing with this stack trace:

yarn test:

ERROR in ./source/tests.entry.ts
Module build failed: TypeError: Cannot set property 'babelOptions' of undefined
    at Object.ngcLoader (/Users/sdavenpo/code/angular-redux/ng2-redux-form/node_modules/@ngtools/webpack/src/loader.js:200:34)
28 01 2017 22:45:11.188:ERROR [karma]: { Error: no such file or directory
    at MemoryFileSystem.readFileSync (/Users/sdavenpo/code/angular-redux/ng2-redux-form/node_modules/memory-fs/lib/MemoryFileSystem.js:107:10)
    at MemoryFileSystem.(anonymous function) [as readFile] (/Users/sdavenpo/code/angular-redux/ng2-redux-form/node_modules/memory-fs/lib/MemoryFileSystem.js:300:34)
    at doRead (/Users/sdavenpo/code/angular-redux/ng2-redux-form/node_modules/karma-webpack/lib/karma-webpack.js:201:29)
    at Plugin.readFile (/Users/sdavenpo/code/angular-redux/ng2-redux-form/node_modules/karma-webpack/lib/karma-webpack.js:205:5)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
  code: 'ENOENT',
SethDavenport commented 7 years ago

Also, can't run the example: webpack fails with ERROR in Could not resolve "./module" from "./module"

SethDavenport commented 7 years ago

Actually this toolchain is diverging sharply from later angular releases, which is making it increasingly hard to maintain. @clbond @e-schultz let's see if we can simplify.

SethDavenport commented 7 years ago

Specific items:

clbond commented 7 years ago

I honestly am not sure it's worth the effort to maintain this library. As far as I know nobody is really using it. @SethDavenport

SethDavenport commented 7 years ago

Updated to work with angular 4: angular-redux/form@6.1.1 released with these fixes.