Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

UnhandledPromiseRejectionWarning when building #69

Closed
MorMundHS-MA opened this issue Nov 24, 2017 · 2 comments
Closed

UnhandledPromiseRejectionWarning when building #69

MorMundHS-MA opened this issue Nov 24, 2017 · 2 comments

Comments

@MorMundHS-MA
Copy link

  1. I use the latest Version (v0.2.0).
  2. The minimal project is the current(v 1.2.4) vue webpack template with this build config

The only changes to the template config file are :
const MinifyPlugin = require('babel-minify-webpack-plugin')
and replacing UglifyJs with
new MinifyPlugin(),

When building I get this Error :

$ node build/build.js
(node:23633) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.
Done in 18.79s.
  1. Node version is v6.12.0 on Debian Stretch
@jamesisaac
Copy link

Duplicate of #68

@alexander-akait
Copy link
Member

Closing because duplicate. Thanks for issue!

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

3 participants