Skip to content

[BUG Report] Chrome build fails #115

Open
@hsnbozkurt

Description

@hsnbozkurt

Your issue may already be reported!
Please search on the issue track before creating one.

Expected Behavior

Sucsesufly Builds

Current Behavior

`$ npm run build:chrome

[email protected] build:chrome
cross-env BUILD_TARGET=chrome vue-cli-service build

  • Building for production...

Retrieve main langs...
Retrieve and filter cards langs...
Generating langs files...
ERROR Failed to compile with 2 errors6:55:45 PM

error in ./src/components/Card/main.js?vue&type=script&lang=js&

Syntax Error: TypeError: Cannot read property 'range' of null
at Array.forEach ()

@ ./src/components/Card/main.js?vue&type=script&lang=js& 1:0-265 1:281-284 1:286-548 1:286-548
@ ./src/components/Card/index.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/eslint-loader??ref--13-0!./src/components/Home/main.js?vue&type=script&lang=js&
@ ./src/components/Home/main.js?vue&type=script&lang=js&
@ ./src/components/Home/index.vue
@ ./src/router/index.js
@ ./src/main.js
@ multi ./src/main.js

error in ./src/i18n/index.js

Syntax Error: Thread Loader (Worker 1)
Cannot read property 'range' of null
at Array.forEach ()

@ ./src/main.js 8:0-30 43:2-6
@ multi ./src/main.js

ERROR Build failed with errors.
`

Possible Solution

i don't know

Steps to Reproduce (for bugs)

  1. git clone https://github.com/Alexays/Epiboard.git
  2. cd Epiboard/
  3. npm i
  4. npm run build:chrome

Context

Trying To build the extension for using new turkish languadge

Your Environment

  • Version used: master commit 5f3b206
  • Browser Name and version:Not Browser releated
  • Operating System and version: Windows 8.1
  • npm : 7.6.0
  • node : v14.15.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions