Giter Club home page Giter Club logo

Comments (7)

msmarino avatar msmarino commented on May 26, 2024

Further to this, I can't even get the cloned project to run!

C:\Users\Usuario\Documents\Dev\Vue\vue-awesome>npm install

> [email protected] prepublish C:\Users\Usuario\Documents\Dev\Vue\vue-awesome
> npm run icons && npm run build && cp -r ./src/* . && rm index.js


> [email protected] icons C:\Users\Usuario\Documents\Dev\Vue\vue-awesome
> node build/icons.js

694 icon modules generated.

> [email protected] build C:\Users\Usuario\Documents\Dev\Vue\vue-awesome
> cross-env NODE_ENV=production webpack --progress --hide-modules

[0] Hash: 9ceb1b1128f8ff024686ec2498a550fe1a26c37a
Version: webpack 2.1.0-beta.22
Child
    Hash: 9ceb1b1128f8ff024686
    Version: webpack 2.1.0-beta.22
    Time: 25279ms
        Asset    Size  Chunks             Chunk Names
    bundle.js  498 kB       0  [emitted]  main
Child
    Hash: ec2498a550fe1a26c37a
    Version: webpack 2.1.0-beta.22
    Time: 25262ms
             Asset    Size  Chunks             Chunk Names
    vue-awesome.js  443 kB       0  [emitted]  main

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
npm ERR! node v7.0.0
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `cross-env NODE_ENV=production webpack --progress --hide-modules`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script 'cross-env NODE_ENV=production webpack --progress --hide-modules'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the vue-awesome package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     cross-env NODE_ENV=production webpack --progress --hide-modules
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs vue-awesome
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls vue-awesome
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Usuario\Documents\Dev\Vue\vue-awesome\npm-debug.log

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] No repository field.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v7.0.0
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] prepublish: `npm run icons && npm run build && cp -r ./src/* . && rm index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepublish script 'npm run icons && npm run build && cp -r ./src/* . && rm index.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the vue-awesome package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run icons && npm run build && cp -r ./src/* . && rm index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs vue-awesome
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls vue-awesome
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Usuario\Documents\Dev\Vue\vue-awesome\npm-debug.log

from vue-awesome.

Justineo avatar Justineo commented on May 26, 2024

Oops I found the problem here. The exclude regex should be /node_modules(?![\\/]vue-awesome[\\v])/ ?? because on Windows the path separator is \.

from vue-awesome.

msmarino avatar msmarino commented on May 26, 2024

Spot on! Thx

from vue-awesome.

bmwertman avatar bmwertman commented on May 26, 2024

I'm seeing this same issue running on my Mac but updating the exclude in /build/webpack.base.conf.js to /node_modules(?![\\/]vue-awesome[\\/])/ isn't getting rid of the;

ERROR in static/js/vendor.1724b56a402d6484b6c1.js from UglifyJs SyntaxError: Unexpected token: name (Icon) [./~/vue-awesome/icons/sign-out.js:1,0]

from vue-awesome.

bmwertman avatar bmwertman commented on May 26, 2024

Nevermind. I didn't update it for loaders, only preloaders.

from vue-awesome.

antonioreyna avatar antonioreyna commented on May 26, 2024

hello, where exactly should you change that regex? im having that issue when trying to do gulp --production on my laravel project.

from vue-awesome.

Justineo avatar Justineo commented on May 26, 2024

@antonioreyna #8 (comment)

from vue-awesome.

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.