Skip to content

Instantly share code, notes, and snippets.

@jasperf
Last active November 16, 2024 09:51
Show Gist options
  • Save jasperf/44068b6a0ff550d3630a9875defd0751 to your computer and use it in GitHub Desktop.
Save jasperf/44068b6a0ff550d3630a9875defd0751 to your computer and use it in GitHub Desktop.

Having an issue with latest Sage 10 set up running yarn build:

yarn build
yarn run v1.22.22
$ bud build
(node:76623) ExperimentalWarning: CommonJS module /Users/user/code/site.com/site/web/app/themes/nynaeve/node_modules/tailwindcss/lib/lib/load-config.js is loading ES Module /Users/user/code/site.com/site/web/app/themes/nynaeve/tailwind.config.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

╭ sage [7c5a3ee7e664393f]                                                                                                  ./public
│
│ │ Unexpected end of JSON input
│
╰ 1 error

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Pinned Node to version 22 using Volta thinking it may work better than using latest 23 version


 user@mbp  ~/code/site.com/site/web/app/themes/nynaeve  volta list
⚡️ Currently active tools:

    Node: v22.11.0 (current @ /Users/user/code/site.com/site/web/app/themes/nynaeve/
    package.json)
    Yarn: v4.5.0 (default)
    Tool binaries available: NONE

See options for more detailed reports by running `volta list --help`.

but still having that error now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment