keplergl / keplergl/kepler.gl

[Bug]-- npm run deployment producing error

Open
#1,278 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
12k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
66

Description

**Describe the bug**
When running
npm run deploy

Getting following error

ERROR in ../src/utils/split-map-utils.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /var/www/html/kepler/keplergl/src/utils/split-map-utils.js: Unexpected token, expected "," (45:24)

**To Reproduce**
Steps to reproduce the behavior:
Step-1
export DropboxClientId= id

Step-2
export MapboxAccessToken= token
Step-3
yarn install

till here everything is fine
but after that when you run deployment command

Step-4
npn run build

Getting following error
ERROR in ../src/utils/split-map-utils.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /var/www/html/kepler/keplergl/src/utils/split-map-utils.js: Unexpected token, expected "," (45:24)

- Version:latest
- OS:Ubuntu 18.04

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with src/utils/split-map-utils.js at line 45 and reproduce the failure using the reported npm run build or deployment steps after yarn install. Check the syntax error reported by babel-loader; done means the build completes without the unexpected-token error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.