-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPM run dist error #1
Comments
@oknoorap |
|
@oknoorap vue-color git:(master) ✗ npm run dist
> [email protected] dist /Users/xiaokai/xeme/vuejs/vue-color
> webpack --progress --hide-modules --config webpack.build.js && NODE_ENV=production webpack --progress --hide-modules --config webpack.build.min.js
Hash: af746c1539236f51a17c
Version: webpack 1.13.0
Time: 13219ms
Asset Size Chunks Chunk Names
./dist/vue-color.js 190 kB 0 [emitted] vue-color
./dist/vue-color.js.map 273 kB 0 [emitted] vue-color
Hash: af4fcd67dd5fe1a55792
Version: webpack 1.13.0
Time: 13528ms
Asset Size Chunks Chunk Names
./dist/vue-color.min.js 61.4 kB 0 [emitted] vue-color
➜ vue-color git:(master) ✗ node -v
v4.4.0
➜ vue-color git:(master) ✗ npm -v
2.14.20
|
Nothing happens, still got the same error, btw my uglifyjs version is
I read somewhere uglify doesn't support babel 6 is that true? has this error related with babel6 + uglifyjs? |
try to update the devDependencies like this ? |
which version works?
|
i install uglifyjs too, but also without problem what is your webpack version ? |
my webpack version 1.13.0 |
the same as me T.T |
when I remove this line from webpack.config.js, the first answer from
it's success, but still the output have errors |
I tried on Windows and worked fine. I had to change the NODE_ENV=production to SET "NODE_ENV=production" inside the package.json though. On windows the NODE_ENV doesn't work. Node: 4.4.3 Could you try to use |
Is this still a thing? I don’t see any |
I don't think so, it should be closed imo. |
I got this error when trying to run
npm run dist
The text was updated successfully, but these errors were encountered: