You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> yarn build
yarn run v1.16.0
$ rimraf lib
$ webpack
Error parsing bundle asset "/home/billyrennekamp/GitHub.com/okwme/talkshop/node_modules/@lunie/cosmos-keys/lib/cosmos-keys.js": no such file
No bundles were parsed. Analyzer will show only original module sizes from stats file.
Webpack Bundle Analyzer saved report to /home/billyrennekamp/GitHub.com/okwme/talkshop/node_modules/@lunie/cosmos-keys/bundle_analyzer/bundle_sizes.html
Hash: 9ff046ef7a3d30eefde6
Version: webpack 4.41.3
Time: 84ms
Built at: 2020-01-02 23:12:12
2 assets
Entrypoint main = cosmos-keys.js cosmos-keys.js.map
[0] ./src/types.ts 304 bytes {0} [built] [failed] [1 error]
[1] ./src/cosmos-keys.ts 429 bytes {0} [built] [failed] [1 error]
[2] ./src/cosmos-keystore.ts 442 bytes {0} [built] [failed] [1 error]
[3] multi ./src/index.ts 28 bytes {0} [built]
[4] ./src/index.ts 88 bytes {0} [built]
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production'for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/
ERROR in ./src/cosmos-keys.ts 11:18
Module parse failed: Unexpected token (11:18)
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
|| /* tslint:disable-next-line:strict-type-predicates */
> const windowObject: Window | null = typeof window === 'undefined'? null : window
|| // returns a byte buffer of the size specified
@ ./src/index.ts 2:0-29 2:0-29
@ multi ./src/index.ts
ERROR in ./src/cosmos-keystore.ts 19:39
Module parse failed: Unexpected token (19:39)
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
|| // loads and decrypts a wallet from localstorage
>exportfunctiongetStoredWallet(address: string, password: string): Wallet {
| const storedWallet = loadFromStorage(address)
|if (!storedWallet) {
@ ./src/index.ts 3:0-33 3:0-33
@ multi ./src/index.ts
ERROR in ./src/types.ts 1:7
Module parse failed: Unexpected token (1:7)
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
>export interface KeyPair {
| privateKey: Buffer
| publicKey: Buffer
@ ./src/index.ts 1:0-23 1:0-23
@ multi ./src/index.ts
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: