Tom-Bonnike / netlify-plugin-inline-source

A Netlify plugin to inline your assets/sources, built on top of the `inline-source` package.
https://www.npmjs.com/package/netlify-plugin-inline-source
MIT License
29 stars 8 forks source link

[ERROR] "Not Found" #14

Closed leobenkel closed 2 years ago

leobenkel commented 2 years ago

Hello, Just today, this plugin stopped working unexpectedly.

2:36:56 PM: ─────────────────────────────
2:36:56 PM:   Plugin "netlify-plugin-inline-source" failed                  
2:36:56 PM: ─────────────────────────────
2:36:56 PM: ​
2:36:56 PM:   Error message
2:36:56 PM:   Error: Inlining sources failed.
2:36:56 PM:   Not Found
2:36:56 PM: ​
2:36:56 PM:   Plugin details
2:36:56 PM:   Package:        netlify-plugin-inline-source
2:36:56 PM:   Version:        1.0.4
2:36:56 PM:   Repository:     git+https://github.com/Tom-Bonnike/netlify-plugin-inline-source.git
2:36:56 PM:   npm link:       https://www.npmjs.com/package/netlify-plugin-inline-source
2:36:56 PM:   Report issues:  https://github.com/Tom-Bonnike/netlify-plugin-inline-source/issues
2:36:56 PM: ​
2:36:56 PM:   Error location
2:36:56 PM:   In "onPostBuild" event in "netlify-plugin-inline-source" from netlify.toml and package.json
2:36:56 PM:       at Request.callback (/node_modules/superagent/lib/node/index.js:883:15)
2:36:56 PM: ​
2:36:56 PM:   Resolved config
2:36:56 PM:   build:
2:36:56 PM:     command: npm run build
2:36:56 PM:     commandOrigin: config
2:36:56 PM:     environment:
2:36:56 PM:       - LOGGLY_TOKEN
2:36:56 PM:     publish: /opt/build/repo/out
2:36:56 PM:     publishOrigin: config
2:36:56 PM:   functions:
2:36:56 PM:     '*':
2:36:56 PM:       included_files:
2:36:56 PM:         - '!node_modules/@next/swc-*/**/*'
2:36:56 PM:         - '!node_modules/next/dist/compiled/@ampproject/toolbox-optimizer/**/*'
2:36:56 PM:   headers:
2:36:57 PM:     - for: /_next/static/chunks/*
      values:
        cache-control: public, max-age=31536000, immutable
  plugins:
    - inputs: {}
      origin: ui
      package: '@netlify/plugin-nextjs'
    - inputs:
        prettyURLs: true
        trailingSlash: false
      origin: config
      package: '@netlify/plugin-sitemap'
    - inputs:
        compress: true
        pretty: false
        svgAsImage: false
      origin: config
      package: netlify-plugin-inline-source
    - inputs: {}
      origin: config
      package: netlify-plugin-cache-nextjs
    - inputs: {}
      origin: config
      package: netlify-plugin-minify-html
  redirects:
    - from: /root
      status: 301
      to: /
    - from: /home
      status: 301
      to: /
    - from: /blog
      query:
        a: ':a'
      status: 301
      to: /blog/:a
    - from: /blog
      to: /publicPresence
    - conditions:
        Cookie: __prerender_bypass,__next_preview_data
      force: true
      from: /_next/data/QPDFIGZo5T5CAaNqxJUz4/publicPresence.json
      status: 200
      to: /.netlify/functions/next_publicPresence
    - conditions:
        Cookie: __prerender_bypass,__next_preview_data
      force: true
      from: /publicPresence
      status: 200
      to: /.netlify/functions/next_publicPresence
    - force: true
      from: /_next/image*
      query:
        q: ':quality'
        url: ':url'
        w: ':width'
      status: 301
      to: /nextimg/:url/:width/:quality
    - from: /nextimg/*
      status: 200
      to: /.netlify/functions/next_image
Caching artifacts
Tom-Bonnike commented 2 years ago

👋 Sorry for not answering earlier. Is this still a problem for you? Could it be that inline-source doesn’t manage to fetch the content of one of the sources you want to inline?

Tom-Bonnike commented 2 years ago

I’ll re-open if this is still a problem :)