Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

when I execute below command, i get a error as below.Anyone know why? #206

Open
sinkix opened this issue Sep 26, 2021 · 1 comment
Open

Comments

@sinkix
Copy link

sinkix commented Sep 26, 2021

80249799@C80249799 MINGW64 /e/Workspace/Src/pkg/mod/github.com/google/battery-historian
$ go run setup.go

Generating JS runfiles...

Generating optimized JS runfiles...
failed to run command "java -jar E:\Workspace\Src\pkg\mod\github.com\google\battery-historian/third_parntry_point historian.upload --js js/.js --js E:\Workspace\Src\pkg\mod\github.com\google\battery-historWorkspace\Src\pkg\mod\github.com\google\battery-historian/third_party/closure-library/closure/goog/**/.file E:\Workspace\Src\pkg\mod\github.com\google\battery-historian/compiled/historian-optimized.js --out\battery-historian/compiled/manifest.MF --compilation_level SIMPLE_OPTIMIZATIONS":
exit status 4
E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/async/ure is only supported for ECMASCRIPT8 mode or better: async function

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/async/pre is only supported for ECMASCRIPT8 mode or better: async function

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/async/pre is only supported for ECMASCRIPT8 mode or better: async function

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/async/pre is only supported for ECMASCRIPT8 mode or better: async function

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/async/pre is only supported for ECMASCRIPT8 mode or better: async function

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/async/pre is only supported for ECMASCRIPT8 mode or better: async function

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/async/pre is only supported for ECMASCRIPT8 mode or better: async function

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/async/pre is only supported for ECMASCRIPT8 mode or better: async function

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/async/pre is only supported for ECMASCRIPT8 mode or better: async function

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/async/pre is only supported for ECMASCRIPT8 mode or better: async function

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/base.js:ctMissingProperties

  • @Suppress {strictMissingProperties} superClass_ and base is not defined on
    ^

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/crypt/aeter: strictMissingProperties

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/crypt/aeter: strictMissingProperties

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/crypt/aeter: strictMissingProperties

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/crypt/aeter: strictMissingProperties

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/crypt/aeter: strictMissingProperties

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/crypt/aeter: strictMissingProperties

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/crypt/haeter: strictMissingProperties

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/cssom/cs strictMissingProperties

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/cssom/cs: strictMissingProperties

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/date/dateckPrototypalTypes

E:/Workspace/Src/pkg/mod/github.com/google/battery-historian/third_party/closure-library/closure/goog/db/keyra strictMissingProperties

@gatlee21
Copy link

I got the same error but I haven't been able to resolve it yet. I've tried Java version 17 and openjdk version 1.8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants