Giter Site home page Giter Site logo

nuxt-svg-sprite-module's Issues

app.html clears after compilation

I began to notice the problem when there are too many files, app.html is simply cleared during compilation without errors. If there is no previously generated sprite, then everything works as it should. Why is that?

The "path" argument must be of type string. Received type undefined

I am getting this error when I did just as mentioned:

FATAL The "path" argument must be of type string. Received type undefined 21:33:09

at assertPath (path.js:39:11)
at join (path.js:1155:7)
at ModuleContainer.module.exports (node_modules/nuxt-svg-sprite-module/index.js:87:23)
at Promise (node_modules/@nuxt/core/dist/core.js:172:30)
at new Promise ()
at ModuleContainer.addModule (node_modules/@nuxt/core/dist/core.js:170:12)
at promise.then (node_modules/@nuxt/common/dist/common.js:1321:43)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at startup (internal/bootstrap/node.js:279:19)

╭───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ ✖ Nuxt Fatal Error │
│ │
│ TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: nuxt
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/syedharoon/.npm/_logs/2018-12-24T16_03_09_767Z-debug.log

description

A quick and dirty way to inline svg sprites in your Nuxt app.

Why is it dirty way? What do you mean?

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.