nick
nick copied to clipboard
New project doesn't seems to work as described in documentation
Describe the bug Following the steps at https://docs.nickcms.org/usage/installation
To Reproduce Steps to reproduce the behavior:
nvm use 22
cd my-nick-project
pnpm bootstrap
ends up with this error:
WARN The "workspaces" field in package.json is not supported by pnpm. Create a "pnpm-workspace.yaml" file instead.
> [email protected] bootstrap /Users/alin/sandbox/my-nick-project
> yarn && yarn migrate && yarn seed
yarn install v1.22.22
$ if [ -f $(pwd)/node_modules/.bin/missdev ]; then yarn develop; else yarn develop:npx; fi
yarn run v1.22.22
$ npx -p mrs-developer missdev --config=jsconfig.json --fetch-https
Using src/develop
Found nick at src/develop/nick
✓ update nick to branch main
Update paths in jsconfig.json
✨ Done in 2.08s.
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
success Already up-to-date.
✨ Done in 2.42s.
yarn run v1.22.22
$ yarn knex migrate:latest
$ babel-node --plugins ./src/develop/nick/src/plugins/strip-i18n.js node_modules/.bin/knex migrate:latest
/bin/sh: babel-node: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ELIFECYCLE Command failed.