Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Module build failed: Error: .sourceMap is an alias for .sourceMaps, cannot use both #19

Open
pwalczyszyn opened this issue Feb 20, 2018 · 1 comment

Comments

@pwalczyszyn
Copy link

Actual behavior

Build fails when current project has beta version of Babel 7 configured in package.json.

Twist Version: 0.1.2
Node Version: 8.9.4
NPM Version: 5.6.0
Operating System and Version: OSX High Sierra
Babel version: 7.0.0-beta.40

This is the stack trace I'm seeing:

at assertNoDuplicateSourcemap (/Users/pwalczys/Projects/my-project/node_modules/@babel/core/lib/config/validation/options.js:107:11)
    at validate (/Users/pwalczys/Projects/my-project/node_modules/@babel/core/lib/config/validation/options.js:60:3)
    at loadConfig (/Users/pwalczys/Projects/my-project/node_modules/@babel/core/lib/config/index.js:37:48)
    at transformSync (/Users/pwalczys/Projects/my-project/node_modules/@babel/core/lib/transform-sync.js:13:36)
    at Object.transform (/Users/pwalczys/Projects/my-project/node_modules/@babel/core/lib/transform.js:20:65)
    at transpile (/Users/pwalczys/Projects/my-project/node_modules/babel-loader/lib/index.js:55:20)
    at Object.module.exports (/Users/pwalczys/Projects/my-project/node_modules/babel-loader/lib/index.js:179:20)
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server app/renderer.js
@joekukish
Copy link

@lanther It seems like the plugins are not compatible with [email protected]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants