mojs / mojs/mojs-player

Gulp babel-lib can't run via syntax error

Open
#12 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core
Dominant language
JavaScript
Stars
305
Forks
49
PR merge metrics
No merged PRs in 30d

Description

On master:

$ gulp babel-lib
[11:44:14] Using gulpfile ~/mysrc/weisjohn/mojs-player/gulpfile.js
[11:44:14] Starting 'babel-lib'...
[11:44:15] Plumber found unhandled error:
 SyntaxError in plugin 'gulp-babel'
Message:
    /Users/john/mysrc/weisjohn/mojs-player/js/mojs-player.babel.js: Unexpected token (504:20)
[11:44:15] Finished 'babel-lib' after 974 ms

I notice there's no .babelrc file in the repo, maybe that's related?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with gulpfile.js and reproduce the failure using gulp babel-lib. Inspect js/mojs-player.babel.js around line 504 and the Babel-related task configuration; completion means the command runs without the reported syntax error and produces its intended output.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, tooling
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.