2023-01-11

https://github.com/nishio/kozaneba

  • Git was in.

Open in VSCode

  • It was in there.

$ npm start zsh: command not found: npm No npm.

% npm start sh: react-scripts: command not found

$ npm install react-scripts@latest :

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
...
npm ERR! Conflicting peer dependency: @types/react@16.14.34
...
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
...

(Note: shouldnā€™t this be npm install?)

$ npm start image :

Compiled successfully!

You can now view movidea in the browser.
  Local:            http://localhost:3000

The development environment is now working successfully.

Whereā€™s the production environment? Netlify

  • image
    • image
    • Thereā€™s some kind of warning.

image


error expect@29.3.1: The engine "node" is incompatible with this module. Expected version "^14.15.0 || ^16.10.0 || >=18.0.0". Got "12.18.0"

You can choose the Node.js version we use to build your site ā€¦


This page is auto-translated from /nishio/Kozaneba恮開ē™ŗē’°å¢ƒć‚’ä½œć‚‹ using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iā€™m very happy to spread my thought to non-Japanese readers.