Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphCMS + Astro Example #248

Open
johnchourajr opened this issue Apr 24, 2022 · 0 comments
Open

GraphCMS + Astro Example #248

johnchourajr opened this issue Apr 24, 2022 · 0 comments

Comments

@johnchourajr
Copy link

Seeing an error on the GraphCMS + Astro example https://codesandbox.io/s/github/GraphCMS/graphcms-examples/tree/master/with-astro?file=/src/pages/index.astro

(node:57) UnhandledPromiseRejectionWarning: Error: Loading PostCSS Plugin failed: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received undefined

(@undefined)
    at load (/sandbox/node_modules/postcss-load-config/src/plugins.js:28:11)
    at /sandbox/node_modules/postcss-load-config/src/plugins.js:53:16
    at Array.map (<anonymous>)
    at plugins (/sandbox/node_modules/postcss-load-config/src/plugins.js:52:8)
    at AsyncFunction.transformAsync (/sandbox/node_modules/@snowpack/plugin-postcss/worker.js:20:17)
    at MessagePort.<anonymous> (/sandbox/node_modules/workerpool/src/worker.js:125:27)
    at MessagePort.[nodejs.internal.kHybridDispatch] (internal/event_target.js:399:24)
    at MessagePort.exports.emitMessage (internal/per_context/messageport.js:18:26)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:57) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, usethe CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:57) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant