Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Can no longer test run builds of my next.js project because it defaults to sandbox and i sandbox it cannot access fonts.googleapis.com.
cd [redacted] && npm run build
> [email protected] build
> next build
▲ Next.js 15.5.7
- Environments: .env.local, .env.production
Creating an optimized production build ...
getaddrinfo ENOTFOUND fonts.googleapis.com
Retrying 1/3...
getaddrinfo ENOTFOUND fonts.googleapis.com
Retrying 1/3...
getaddrinfo ENOTFOUND fonts.googleapis.com
Retrying 2/3...
getaddrinfo ENOTFOUND fonts.googleapis.com
Retrying 2/3...
getaddrinfo ENOTFOUND fonts.googleapis.com
Retrying 3/3...
getaddrinfo ENOTFOUND fonts.googleapis.com
Retrying 3/3...
[Error: getaddrinfo ENOTFOUND fonts.googleapis.com] {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'fonts.googleapis.com'
}
[Error: getaddrinfo ENOTFOUND fonts.googleapis.com] {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'fonts.googleapis.com'
}
Failed to compile.
config/fonts.ts
`next/font` error:
Failed to fetch `Fira Code` from Google Fonts.
config/fonts.ts
`next/font` error:
Failed to fetch `Inter` from Google Fonts.
> Build failed because of webpack errors
Turning on ‘Legacy Terminal Tool’ in ‘Settings / Agents’ reverts me to the older behaviour which works fine.
Steps to Reproduce
Prompt" ‘run a build for testing’
Expected Behavior
Previously it would run a build and fix errors, now it fails.
Operating System
MacOS
Version Information
Version: 2.4.22 (Universal)
VSCode Version: 1.105.1
Commit: 618c607a249dd7fd2ffc662c6531143833bebd40
Date: 2026-01-26T22:51:47.692Z (2 days ago)
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin x64 25.2.0
For AI issues: which model did you use?
Auto
Does this stop you from using Cursor
No - Cursor works, but with this issue
