Git Product home page Git Product logo

Comments (4)

d1urno avatar d1urno commented on August 23, 2024 2

I've tested your repository and everything went just fine, just enabled target: 'static' in nuxt config file before executing npm run generate.

I believe your node version could be outdated...

#String.matchAll is supported in Node.js from version 12.0.0

Anyways, I will clean those deprecation messages, and some parsing errors happening when target: 'static' is not specified.

from nuxt-image-extractor.

d1urno avatar d1urno commented on August 23, 2024

Can you please provide a temporary repository so I can reproduce this error?

from nuxt-image-extractor.

thomas-ricci avatar thomas-ricci commented on August 23, 2024

Hey @d1urno I've just added you as a collaborator to a test repo. Apologies I didn't have too much time to go into detail.

I'm not sure if it makes too much of a difference but I'm using Dato CMS for my content management. I've configured your package correctly to my knowledge. This is a tiny part of my project. There are only two possible routes here with what I've got in the CMS (as specified at the top of nuxt.config.js:

  1. /projects/adrift
  2. /projects/wellbeing-of-sydney

Each is just a <p> element of the title and a small image.

If I disable your module it successfully generates the static files and the <img> src attribute has a value pointing to the external CMS server. If I enable the module I get the page.html.matchAll is not a function error.

from nuxt-image-extractor.

thomas-ricci avatar thomas-ricci commented on August 23, 2024

Yes that was it, thanks so much. I was still on v10.*. Been having issues with NVM on my machine. Can confirm it's working like a charm now. This module is awesome.

from nuxt-image-extractor.

Related Issues (11)

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.