Build error for Object Loader for Web App

heyhihello :wave:

I’ve been hitting an error when standing up a vue app that integrates the ObjectLoader. I tried sniffing around the repos to see if I was missing a module or something, but I couldn’t find anything strange. Any help or guidance is much appreciated!

Below is the error :arrow_down:

You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
|       // De-chunk
>       if( arr[0]?.speckle_type?.toLowerCase().includes('datachunk') ) {
|         return arr.reduce( ( prev, curr ) => prev.concat( curr.data ), [] )
|       }

Hey David on what node version are you on? Should be v14 at least (I believe).
Also, make sure to have set this in your vue.config.js:

image

1 Like

ayyooMatteo - Thanks for the spiffy response. Adding @speckle/objectloader healed the wound :hospital: up and running now :smiley:

2 Likes