abelljs/abell

value.startsWith is not a function in abell serve

saurabhdaware opened this issue · 0 comments

Describe the bug

Log:

(node:30998) UnhandledPromiseRejectionWarning: TypeError: value.startsWith is not a function
    at Object.entries.filter (/home/saurabh/Desktop/projects/abellorg/abell/src/utils/abell-bundler.js:19:39)
    at Array.filter (<anonymous>)
    at clearBundleCache (/home/saurabh/Desktop/projects/abellorg/abell/src/utils/abell-bundler.js:19:8)
    at onContentChanged (/home/saurabh/Desktop/projects/abellorg/abell/src/commands/serve.js:165:9)

Steps to Reproduce

  1. Run abell serve on project with components.
  2. Change something in content directory.

The issue is with clearBundleCache function