If you are doing front-end projects on windows 10 or 11.
specially, you want to run some of sample codes from GitHub!
Do not forget to install "npm i cross-env" on your project.
> npm i cross-env
The "cross-env" helps us save a lot of time. otherwise the codes threw errors!
for example:
read some of files from folder (markdown for blog etc.) on Nextjs
use "NODE_ENV=development" on project.json, see below command about lingui.
"__NoWorkOnWindow_lang:extract": "NODE_ENV=development lingui extract --clean",
"lang:extract": "cross-env NODE_ENV=development lingui extract --clean",
Happy Coding!
Top comments (0)