TypeError: this.addDependency is not a function
at module.exports (/Users/user/Sites/fw7-app/node_modules/framework7-component-loader/lib/get-partials.js:35:18)
at Object.loader (/Users/user/Sites/fw7-app/node_modules/framework7-component-loader/lib/index.js:35:24)
at LOADER_EXECUTION (/Users/user/Sites/fw7-app/node_modules/loader-runner/lib/LoaderRunner.js:119:14)
at runSyncOrAsync (/Users/user/Sites/fw7-app/node_modules/loader-runner/lib/LoaderRunner.js:120:4)
at iterateNormalLoaders (/Users/user/Sites/fw7-app/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
at Array. (/Users/user/Sites/fw7-app/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/Users/user/Sites/fw7-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /Users/user/Sites/fw7-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
at /Users/user/Sites/fw7-app/node_modules/graceful-fs/graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)
Getting the following error... How do I fix it?
TypeError: this.addDependency is not a function at module.exports (/Users/user/Sites/fw7-app/node_modules/framework7-component-loader/lib/get-partials.js:35:18) at Object.loader (/Users/user/Sites/fw7-app/node_modules/framework7-component-loader/lib/index.js:35:24) at LOADER_EXECUTION (/Users/user/Sites/fw7-app/node_modules/loader-runner/lib/LoaderRunner.js:119:14) at runSyncOrAsync (/Users/user/Sites/fw7-app/node_modules/loader-runner/lib/LoaderRunner.js:120:4) at iterateNormalLoaders (/Users/user/Sites/fw7-app/node_modules/loader-runner/lib/LoaderRunner.js:232:2) at Array. (/Users/user/Sites/fw7-app/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/Users/user/Sites/fw7-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /Users/user/Sites/fw7-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
at /Users/user/Sites/fw7-app/node_modules/graceful-fs/graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)