You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I'm following the Development/Feature.Development tutorial.
The 3 first parts works fine.
At the 4th, I have an issue running the make.
If I use node version 16, the build fail asking for 18, and if I use 18, the build fail asking for 16.
Expected Behavior
The scaffolding shouldn't fail :-)
Actual Behavior
❯ nvm use v16
Now using node v16.14.0 (npm v8.3.1)
❯ make scaffold-workflow
cd tools/scaffolding && go run scaffolder.go -m frontend-plugin
2023/12/26 11:56:44 Welcome!*** Analyzing environment...
*** Based on your environment, we've picked the following destination for your new workflow:> ~/repositories/clutch/frontend/workflowsIs this okay? [Y/n]: nEnter the destination folder [~/repositories/clutch/frontend/workflows]: ~/repositories/clutch-custom-gateway/frontend/workflowsIs this a wizard workflow? [Y/n]: YEnter the name of this workflow [Hello World]: AmiiboEnter a description of the workflow [Greet the world]: Lookup all Amiibo by nameEnter the developer's name [asura]:
Enter the developer's email [[email protected]]:...warning @clutch-sh/tools > react-scripts > workbox-webpack-plugin > workbox-build > @rollup/plugin-replace > magic-string > [email protected]: Please use @jridgewell/sourcemap-codec instead[3/5] Fetching packages...error [email protected]: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.14.0"warning [email protected]: The engine "pnpm" appears to be invalid.error Found incompatible module.info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.2023/12/26 11:58:38 `yarn --frozen-lockfile` returned the above errorexit status 1make: *** [Makefile:151: scaffold-workflow] Error 1
or
❯ nvm use v18
Now using node v18.6.0 (npm v8.13.2)
❯ make scaffold-workflow
cd tools/scaffolding && go run scaffolder.go -m frontend-plugin
2023/12/26 12:01:11 Welcome!
*** Analyzing environment...
*** Based on your environment, we've picked the following destination for your new workflow:
> ~/repositories/clutch/frontend/workflows
Is this okay? [Y/n]: n
Enter the destination folder [~/repositories/clutch/frontend/workflows]: ~/repositories/clutch-custom-gateway/frontend/workflows
Is this a wizard workflow? [Y/n]: Y
Enter the name of this workflow [Hello World]: Amiibo
Enter a description of the workflow [Greet the world]: Lookup all Amiibo by name
Enter the developer's name [asura]:
Enter the developer's email [[email protected]]:
...
2023/12/26 12:02:17 cd /tmp/clutch-scaffolding-522436709 && /home/asura/repositories/Charlie/demo4/clutch/build/bin
/yarn.sh --frozen-lockfile && ~/repositories/clutch/build/bin/yarn.sh tsc && ~/repositories/clutch/build/bin/yarn.sh compile
yarn install v1.22.11
info No lockfile found.
[1/5] Validating package.json...
error @clutch-sh/[email protected]: The engine "node" is incompatible with this module. Expected version ">=16.0.0 <17". Got "18.6.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2023/12/26 12:02:17 `yarn --frozen-lockfile` returned the above error
exit status 1
make: *** [Makefile:151: scaffold-workflow] Error 1
Hey 👋
Description
I'm following the
Development/Feature.Development
tutorial.The 3 first parts works fine.
At the 4th, I have an issue running the make.
If I use node version 16, the build fail asking for 18, and if I use 18, the build fail asking for 16.
Expected Behavior
The scaffolding shouldn't fail :-)
Actual Behavior
or
Version
Clutch sha is a76909a
The text was updated successfully, but these errors were encountered: