kriasoft / kriasoft/babel-starter-kit

npm run build error

Open
#89 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
544
Forks
119
PR merge metrics
No merged PRs in 30d

Description

I follow the guides and everything goes ok until i run this command: 'npm run build', it prints: `Error: It looks like your Babel configuration specifies a module transformer. Please disable it. If you're using the "es2015" preset, consider using "es2015-rollup" instead.`

I've been met this issue before when i use rollup, and i used 'babelrc-rollup' to solve this problem.
##

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37795987-npm-run-build-error?utm_campaign=plugin&utm_content=tracker%2F18782092&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F18782092&utm_medium=issues&utm_source=github).

Contributor guide

Open the contributing guide

Research direction

Reproduce the problem by running `npm run build`, then locate the Babel configuration and the Rollup setup mentioned in the error. Done means the build completes without the module-transformer error; the issue does not name specific files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, rollup
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.