We've moved discussions to Discord

Having trouble setting up

Bryan Stewart
Bryans-MacBook-Pro-2:dragon bryan.stewart$ bin/setup
== Installing dependencies ==
The Gemfile's dependencies are satisfied
Successfully installed foreman-0.87.2
Parsing documentation for foreman-0.87.2
Done installing documentation for foreman after 0 seconds
1 gem installed
yarn install v1.22.4
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
info fsevents@2.3.2: The engine "node" is incompatible with this module. Expected version "^8.16.0 || ^10.6.0 || >=11.0.0". Got "10.3.0"
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-android-arm64@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-android-arm64@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-android-arm64@0.14.14: The CPU architecture "x64" is incompatible with this module.
info esbuild-darwin-arm64@0.14.14: The CPU architecture "x64" is incompatible with this module.
info "esbuild-darwin-arm64@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-freebsd-64@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-freebsd-64@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-freebsd-arm64@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-freebsd-arm64@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-freebsd-arm64@0.14.14: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-32@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-linux-32@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-32@0.14.14: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-64@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-linux-64@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-arm@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-linux-arm@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-arm@0.14.14: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-arm64@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-linux-arm64@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-arm64@0.14.14: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-mips64le@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-linux-mips64le@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-mips64le@0.14.14: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-ppc64le@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-linux-ppc64le@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-ppc64le@0.14.14: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-s390x@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-linux-s390x@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-s390x@0.14.14: The CPU architecture "x64" is incompatible with this module.
info esbuild-netbsd-64@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-netbsd-64@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-openbsd-64@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-openbsd-64@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-sunos-64@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-sunos-64@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-windows-32@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-windows-32@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-windows-32@0.14.14: The CPU architecture "x64" is incompatible with this module.
info esbuild-windows-64@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-windows-64@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-windows-arm64@0.14.14: The platform "darwin" is incompatible with this module.
info "esbuild-windows-arm64@0.14.14" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-windows-arm64@0.14.14: The CPU architecture "x64" is incompatible with this module.
error js-cookie@3.0.1: The engine "node" is incompatible with this module. Expected version ">=12". Got "10.3.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

== Compiling CSS & JS ==
yarn run v1.22.4
$ node esbuild.config.js
✨  Done in 0.39s.
yarn run v1.22.4
$ tailwindcss --postcss -i ./app/assets/stylesheets/application.tailwind.css -o ./app/assets/builds/application.css
/Users/bryan.stewart/RAILS_APPS/dragon/node_modules/postcss-load-config/src/options.js:6
const req = (createRequire || createRequireFromPath)(path.resolve(process.cwd(), '_'))
                                                    ^

TypeError: (createRequire || createRequireFromPath) is not a function
    at Object.<anonymous> (/Users/bryan.stewart/RAILS_APPS/dragon/node_modules/postcss-load-config/src/options.js:6:53)
    at Module._compile (internal/modules/cjs/loader.js:702:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
    at Module.load (internal/modules/cjs/loader.js:612:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
    at Function.Module._load (internal/modules/cjs/loader.js:543:3)
    at Module.require (internal/modules/cjs/loader.js:650:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/Users/bryan.stewart/RAILS_APPS/dragon/node_modules/postcss-load-config/src/index.js:8:21)
    at Module._compile (internal/modules/cjs/loader.js:702:30)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

== Command ["bin/yarn run build:css"] failed ==
Bryans-MacBook-Pro-2:dragon bryan.stewart$ 


Bryan Stewart
Solution was to use nvm and install.10.3.0
Notifications
You’re not receiving notifications from this thread.