Closed hauptanja closed 2 years ago
@hauptanja
Version 2.0.0
switched to target ES2020
, before it was ES2019
.
It seems that your version of Vuejs does not support optional chaining.
I could switch back to target ES2019
if needed.
There is no bug on my side.
Version 2.0.1 switched back to target ES2019
Client version
2.0.0
Node version
16.13.2
Operating System type
Mac OS X
Operating system version
macOS big sur 11.1
Describe the bug
I updated my electron - vue js app to the latest version of eufy-security-client and my project now fails to compile.
To reproduce
Screenshots & Logfiles
ERROR Failed to compile with 5 errors 5:34:19 PM
error in ./node_modules/eufy-security-client/build/http/station.js
Module parse failed: Unexpected token (307:46) 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 | isIntegratedDevice() { | if (device_1.Device.isLock(this.getDeviceType()) || device_1.Device.isSmartDrop(this.getDeviceType())) {
@ ./node_modules/eufy-security-client/build/http/index.js 23:13-33 @ ./node_modules/eufy-security-client/build/index.js @ ./src/camerasUtil.js @ ./src/background.js @ multi ./src/background.js
error in ./node_modules/eufy-security-client/build/p2p/session.js
Module parse failed: Unexpected token (478:127) 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 | } | else {
@ ./node_modules/eufy-security-client/build/p2p/index.js 4:16-36 @ ./node_modules/eufy-security-client/build/index.js @ ./src/camerasUtil.js @ ./src/background.js @ multi ./src/background.js
error in ./node_modules/eufy-security-client/build/eufysecurity.js
Module parse failed: Unexpected token (519:24) 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 | await this.api.login(options) | .then(async () => {
@ ./node_modules/eufy-security-client/build/index.js 22:13-38 @ ./src/camerasUtil.js @ ./src/background.js @ multi ./src/background.js
error in ./node_modules/eufy-security-client/build/push/service.js
Module parse failed: Unexpected token (588:24) 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 | this.resetRetryTimeout(); | this.clearCredentialsTimeout();
@ ./node_modules/eufy-security-client/build/push/index.js 18:13-33 @ ./node_modules/eufy-security-client/build/index.js @ ./src/camerasUtil.js @ ./src/background.js @ multi ./src/background.js
error in ./node_modules/eufy-security-client/build/http/api.js
Module parse failed: Unexpected token (98:74) 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 | (options, error, retryCount) => { | // This will be called on
retryWithMergedOptions(...)
@ ./node_modules/eufy-security-client/build/http/index.js 18:13-29 @ ./node_modules/eufy-security-client/build/index.js @ ./src/camerasUtil.js @ ./src/background.js @ multi ./src/background.js
ERROR Build failed with errors.
Additional context
No response