Giter VIP home page Giter VIP logo

vite-plugin-version-mark's Issues

Error: spawn ENOMEM

error during build:
Error: spawn ENOMEM
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at spawn (node:child_process:700:9)
    at Object.execFile (node:child_process:327:17)
    at exec (node:child_process:225:25)
    at /repo/node_modules/vite-plugin-version-mark/dist/vite/index.cjs:39:5
    at new Promise (<anonymous>)
    at getGitSHA (/repo/node_modules/vite-plugin-version-mark/dist/vite/index.cjs:38:10)
    at analyticOptions (/repo/node_modules/vite-plugin-version-mark/dist/vite/index.cjs:59:41)
    at transformIndexHtml (/repo/node_modules/vite-plugin-version-mark/dist/vite/index.cjs:84:17)
    at applyHtmlTransforms (file:///repo/node_modules/vite/dist/node/chunks/dep-8609dc5d.js:37952:27)
    at async Object.generateBundle (file:///repo/node_modules/vite/dist/node/chunks/dep-8609dc5d.js:37823:26)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Build step 'Execute shell' marked build as failure
New run name is '#229-haida-webapp-2nd'
Finished: FAILURE

vite-plugin-version-mark in Nuxt3 is not work

import { vitePluginVersionMark } from 'vite-plugin-version-mark'
export default defineNuxtConfig({
  vite: {
    plugins: [vitePluginVersionMark({ ifGitSHA: true, ifShortSHA: true, ifMeta: true, ifLog: true, ifGlobal: true })],
  },
}

image

Sourcemaps support

When using the plugin, the following warning is displayed.

(vite-plugin-version-mark plugin) Sourcemap is likely to be incorrect: a plugin (vite-plugin-version-mark) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help

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.