xkjyeah / vue-google-maps

Google maps component for vue with 2-way data binding
https://xkjyeah.github.io/vue-google-maps/
1.88k stars 475 forks source link

Support build on newer versions of node #792

Open jeancaffou opened 1 year ago

jeancaffou commented 1 year ago

On new versions of node build fails with an error

npm ERR!   opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
npm ERR!   library: 'digital envelope routines',
npm ERR!   reason: 'unsupported',
npm ERR!   code: 'ERR_OSSL_EVP_UNSUPPORTED'
npm ERR! }
npm ERR!
npm ERR! Node.js v18.15.0

So as a workaround we add --openssl-legacy-provider to the build command.