Skip to content
Snippets Groups Projects
Commit 4ba560e2 authored by Thuc Pham's avatar Thuc Pham Committed by GitHub
Browse files

Fix: npm script does not run in window machine (#283)

parent 7cc658ec
No related branches found
No related tags found
No related merge requests found
......@@ -247,7 +247,7 @@ const installTSTemplate = async ({
// modify the dev script to use the custom api path
packageJson.scripts = {
...packageJson.scripts,
dev: `NEXT_PUBLIC_CHAT_API=${customApiPath} next dev`,
dev: `cross-env NEXT_PUBLIC_CHAT_API=${customApiPath} next dev`,
};
}
......
......@@ -37,6 +37,7 @@
"postcss": "^8.4.32",
"tailwindcss": "^3.3.6",
"typescript": "^5.3.2",
"@types/react-syntax-highlighter": "^15.5.11"
"@types/react-syntax-highlighter": "^15.5.11",
"cross-env": "^7.0.3"
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment