Can't fetch npm private packages from gitlab repository

I’m trying to connect my NextJS project to Cloudflare pages but I’m having troubles installing private packages. I’ve followed this article and I generate personal access token but it failed. This is my .npmrc.pages file

@letsbit:registry=https://gitlab.com/api/v4/projects/29263954/packages/npm/
//gitlab.com/api/v4/projects/29263954/packages/npm/:_authToken=${NPM_TOKEN}

Because it runs as a gitlba pipeline I also tried using CI_JOB_TOKEN variable without defining it on the Cloudflare env variables.

Thanks!