CyrilChandelier
CyrilChandelier
RRailway
Created by shrihari on 10/2/2023 in #✋|help
nextjs memory gradually increases even if no use . starts at 300mb to reaches 2.5GB.
had a similar issue with NestJS (backend), last week I figured that I needed to run npm run start:prod instead of npm run start in order to cap the memory climb; I wonder if there is something similar for NextJS?
8 replies
RRailway
Created by CyrilChandelier on 10/2/2023 in #✋|help
Github personal access token stopped working using yarn/npm install
back to the original problem, are you aware of any change that happened between Friday and now that could break this?
19 replies
RRailway
Created by CyrilChandelier on 10/2/2023 in #✋|help
Github personal access token stopped working using yarn/npm install
thanks; it's too much of a hack though, at some point I'll need to understand how to deal with private packages
"preinstall": "./preinstall.sh",
"postinstall": "rm package.json; mv package.json.bak package.json",
"preinstall": "./preinstall.sh",
"postinstall": "rm package.json; mv package.json.bak package.json",
19 replies
RRailway
Created by CyrilChandelier on 10/2/2023 in #✋|help
Github personal access token stopped working using yarn/npm install
I added a preinstall step during the yarn install that replaces the access token variable in the package.json with the actual value coming from the environment
19 replies
RRailway
Created by CyrilChandelier on 10/2/2023 in #✋|help
Github personal access token stopped working using yarn/npm install
alright, after much fighting with OS incompatibilities, I found a way to move this access token to the environment variables 👍
19 replies
RRailway
Created by CyrilChandelier on 10/2/2023 in #✋|help
Github personal access token stopped working using yarn/npm install
I'm not sure I can do this from a JSON file (package.json) but I'll look; do you think it is possibly related to the issue, or unrelated just a better practice?
19 replies
RRailway
Created by CyrilChandelier on 10/2/2023 in #✋|help
Github personal access token stopped working using yarn/npm install
indeed, but that's okay for now and the personal access token has very limited scope
19 replies
RRailway
Created by CyrilChandelier on 10/2/2023 in #✋|help
Github personal access token stopped working using yarn/npm install
it's hardcoded in the package.json
19 replies
RRailway
Created by CyrilChandelier on 10/2/2023 in #✋|help
Github personal access token stopped working using yarn/npm install
project id: 3a5ae89e-a2aa-4063-8520-b522f0318da9
19 replies