Error in development when adding cache-bust in package json


#1

I have added cache-bust in the package.json as the following

      "live-reload",
      "node_modules/can-zone/register",
      "node_modules/steal-cache-bust/cache-bust.js"
    ]

Now when I run donejs develop I get the following error

Error: Error loading "@dev" at file:/Users/xxx/Sites/xxx.xxx.xxx/node_modules/steal/ext/dev.js
ENOENT: no such file or directory, open 
'/Users/xxx/Sites/xxx.xxx.xxx/node_modules/steal/ext/dev.js?version=1513346254297'
    at Error (native)

#2

Hm, that error starts happening as soon as you add it to your configDependencies?

Any chance you have a repo available to take a look at the issue?


#3

Yes, this error only occurs when I add it to my configDependencies

Here is the repo: https://github.com/rehat101/carbon/blob/master/package.json#L38


#4

After looking through the docs, I had forgotten that we had incorporated cache busting into core, so you don’t need to configure it separately anymore.

Check out the cacheVersion and cacheKey docs for more info.