Coder Social home page Coder Social logo

astro-media's People

Contributors

gvkhna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

astro-media's Issues

Failed to load url cheerio (resolved id: cheerio)

i can't run it do i need also astro-image ?

๐Ÿƒ [start] Running command "astro dev"
Failed to load url cheerio (resolved id: cheerio) in /home/manjaro/DEV/uno test/marina copie/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-media/integration/lib/get-image.ts. Does the file exist?
02:38:45 [vite] Error when evaluating SSR module /node_modules/.pnpm/[email protected][email protected]/node_modules/astro-media/integration/lib/get-image.ts: failed to import "cheerio"
|- Error: Cannot find module 'cheerio' imported from '/home/manjaro/DEV/uno test/marina copie/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-media/integration/lib/get-image.ts'
    at nodeImport (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55873:25)
    at ssrImport (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55775:30)
    at eval (eval at instantiateModule (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55834:28), <anonymous>:4:37)
    at async instantiateModule (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55837:9)

02:38:45 [vite] Error when evaluating SSR module /node_modules/.pnpm/[email protected][email protected]/node_modules/astro-media/integration/index.ts: failed to import "/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-media/integration/lib/get-image.ts"
|- Error: Cannot find module 'cheerio' imported from '/home/manjaro/DEV/uno test/marina copie/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-media/integration/lib/get-image.ts'
    at nodeImport (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55873:25)
    at ssrImport (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55775:30)
    at eval (eval at instantiateModule (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55834:28), <anonymous>:4:37)
    at async instantiateModule (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55837:9)

02:38:45 [vite] Error when evaluating SSR module /home/manjaro/DEV/uno test/marina copie/astro.config.mjs: failed to import "/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-media/integration/index.ts"
|- Error: Cannot find module 'cheerio' imported from '/home/manjaro/DEV/uno test/marina copie/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-media/integration/lib/get-image.ts'
    at nodeImport (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55873:25)
    at ssrImport (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55775:30)
    at eval (eval at instantiateModule (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55834:28), <anonymous>:4:37)
    at async instantiateModule (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55837:9)

02:38:45 [astro] Unable to load /home/manjaro/DEV/uno test/marina copie/astro.config.mjs

 error   Cannot find module 'cheerio' imported from '/home/manjaro/DEV/uno test/marina copie/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-media/integration/lib/get-image.ts'
Error: Cannot find module 'cheerio' imported from '/home/manjaro/DEV/uno test/marina copie/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-media/integration/lib/get-image.ts'
    at nodeImport (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55873:25)
    at ssrImport (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55775:30)
    at eval (eval at instantiateModule (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55834:28), <anonymous>:4:37)
    at async instantiateModule (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-439026c8.js:55837:9)

 error   Cannot read properties of undefined (reading 'map')
  File:
    /home/manjaro/DEV/uno test/marina copie/node_modules/.pnpm/[email protected][email protected]/node_modules/astro/dist/events/error.js:21:34
  Code:
    20 |     cliCommand: cmd,
    > 21 |     configErrorPaths: err.issues.map((issue) => issue.path.join("."))
         |                                  ^
      22 |   };
      23 |   return [{ eventName: EVENT_ERROR, payload }];
      24 | }
  Stacktrace:
TypeError: Cannot read properties of undefined (reading 'map')
    at eventConfigError (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected][email protected]/node_modules/astro/dist/events/error.js:21:34)
    at handleConfigError (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected][email protected]/node_modules/astro/dist/cli/index.js:126:45)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected][email protected]/node_modules/astro/dist/cli/index.js:192:5
    at async runCommand (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected][email protected]/node_modules/astro/dist/cli/index.js:186:76)
    at async cli (file:///home/manjaro/DEV/uno%20test/marina%20copie/node_modules/.pnpm/[email protected][email protected]/node_modules/astro/dist/cli/index.js:260:5)

โŒ [start] Failed with exit status 1

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.