Closed eqslab closed 7 months ago
Honestly, bit difficult to say what exactly went wrong for this use case, since the ci builds were successful with the pr #86 , here was my last build using this updated action, maybe @eqslab can revert to the older actions and see if things are running smoothly
https://github.com/embedded-consultants/embedded-consultants.github.io/actions/runs/7891626344
We are getting the same story.
ERROR POSTCSS: failed to transform "css/style-lazy.css" (text/css): file:///home/runner/work/embedded-consultants.github.io/embedded-consultants.github.io/node_modules/@sindresorhus/merge-streams/index.js:2
import {PassThrough as PassThroughStream, getDefaultHighWaterMark} from 'node:stream';
^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: The requested module 'node:stream' does not provide an export named 'getDefaultHighWaterMark'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)
Node.js v18.15.0
Total in 3[94](https://github.com/embedded-consultants/embedded-consultants.github.io/actions/runs/7891626344/job/21536339760#step:8:95)2 ms
Error: error building site: POSTCSS: failed to transform "css/style.css" (text/css): file:///home/runner/work/embedded-consultants.github.io/embedded-consultants.github.io/node_modules/@sindresorhus/merge-streams/index.js:2
import {PassThrough as PassThroughStream, getDefaultHighWaterMark} from 'node:stream';
^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: The requested module 'node:stream' does not provide an export named 'getDefaultHighWaterMark'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)
Fixed it by NODE_VERSION: "20.0.0"
in the .github main.yml file.
Fixed it by
NODE_VERSION: "20.0.0"
in the .github main.yml file.
It worked out for me! A big, big thank you!
I have updated the node version in main.yml file. thanks to @embedded-consultants
Hello guys! Could you please verify the correctness of config file for GitHub Actions?
I got an error trying to build a website. Sounds like it could be a problem with
postcss-cli
, but my attempts to solve the issue weren't successful. Will be very helpful for the help. Thank you!