https://github.com/lostpebble/vite-class-undefined-error
https://github.com/lostpebble/vite-class-undefined-error
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lostpebble/vite-class-undefined-error
- Owner: lostpebble
- Created: 2022-08-16T09:57:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-16T12:20:00.000Z (over 3 years ago)
- Last Synced: 2025-01-16T11:27:00.757Z (11 months ago)
- Language: TypeScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vite Class undefined issue
Install dependencies
```
yarn
```
Run dev (it works no issue)
```
yarn dev
```
Build and run (the built bundle does not work)
```
yarn build
yarn serve
```
The following error is occurring on the built script:
```
Uncaught TypeError: Class extends value undefined is not a constructor or null
at account_multisig.js:48:41
at requireAccount_multisig (account_multisig.js:453:2)
at common-index.js:34:31
at requireCommonIndex (common-index.js:53:136)
at requireRpc_errors (rpc_errors.js:10:24)
at json-rpc-provider.js:20:22
at requireJsonRpcProvider (json-rpc-provider.js:356:27)
at index.js:9:29
at requireProviders (index.js:12:131)
at requireAccount (account.js:10:21)
```