/ or a different directory my guess is that next has an output directory that isn’t root.; rm -rf .next/.cache to your build script.Data Cache and Full Route Cache
//registry.npmjs.org/:_authToken=${NPM_TOKEN}; rm -rf .next/.cacheData CacheFull Route Cache