Giter Club home page Giter Club logo

Comments (14)

xiaokaike avatar xiaokaike commented on May 27, 2024

@oknoorap
npm & node version ?

from vue-color.

oknoorap avatar oknoorap commented on May 27, 2024
npm 2.14.20
node v4.4.0

from vue-color.

xiaokaike avatar xiaokaike commented on May 27, 2024

@oknoorap
try again? i don't have problem

 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

from vue-color.

oknoorap avatar oknoorap commented on May 27, 2024

Nothing happens, still got the same error, btw my uglifyjs version is

uglifyjs --version
uglify-js 2.6.2

I read somewhere uglify doesn't support babel 6 is that true? has this error related with babel6 + uglifyjs?

from vue-color.

oknoorap avatar oknoorap commented on May 27, 2024

asciicast

from vue-color.

xiaokaike avatar xiaokaike commented on May 27, 2024

try to update the devDependencies like this ?
joeeames/WebpackFundamentalsCourse#3

from vue-color.

oknoorap avatar oknoorap commented on May 27, 2024

which version works?

npm WARN peerDependencies The peer dependency babel-core@^5.0.0 included from babel-loader will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
^C
Tians-iMac:vue-color tian$ npm update
npm WARN unmet dependency /Users/tian/Kerja/git/btbldr/node_modules/vue-color/node_modules/babel-loader/node_modules/loader-utils requires object-assign@'^4.0.1' but will load
npm WARN unmet dependency /Users/tian/Kerja/git/btbldr/node_modules/vue-color/node_modules/babel-loader/node_modules/object-assign,
npm WARN unmet dependency which is version 3.0.0
npm WARN unmet dependency /Users/tian/Kerja/git/btbldr/node_modules/vue-color/node_modules/babel-preset-es2015/node_modules/babel-plugin-transform-regenerator requires babel-core@'^6.8.0' but will load
npm WARN unmet dependency /Users/tian/Kerja/git/btbldr/node_modules/vue-color/node_modules/babel-core,
npm WARN unmet dependency which is version 5.8.38
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "update"
npm ERR! node v4.4.0
npm ERR! npm  v2.14.20
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants babel-loader@^6.1.0

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/tian/Kerja/git/btbldr/node_modules/vue-color/npm-debug.log```


I'll update this issue tomorrow..

from vue-color.

xiaokaike avatar xiaokaike commented on May 27, 2024

i install uglifyjs too, but also without problem

what is your webpack version ?

from vue-color.

oknoorap avatar oknoorap commented on May 27, 2024

my webpack version 1.13.0

from vue-color.

xiaokaike avatar xiaokaike commented on May 27, 2024

the same as me T.T

from vue-color.

oknoorap avatar oknoorap commented on May 27, 2024

when I remove this line from webpack.config.js, the first answer from
Stackoverflow

exclude: /node_modules|vue\/src|vue-router\/|vue-loader\/|vue-hot-reload-api\//

it's success, but still the output have errors

from vue-color.

cassioscabral avatar cassioscabral commented on May 27, 2024

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
npm: 2.15.1

Could you try to use npm cache clean and if this doesn't succeed, try to remove the node_modules folder and try again(install and dist).

from vue-color.

gnclmorais avatar gnclmorais commented on May 27, 2024

Is this still a thing? I don’t see any dist formula on package.json

from vue-color.

cassioscabral avatar cassioscabral commented on May 27, 2024

I don't think so, it should be closed imo.

from vue-color.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.