Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A next.js server with nebula-node was failed to build. #29

Open
yusangeng opened this issue Sep 29, 2024 · 1 comment
Open

A next.js server with nebula-node was failed to build. #29

yusangeng opened this issue Sep 29, 2024 · 1 comment

Comments

@yusangeng
Copy link

yusangeng commented Sep 29, 2024

next.js version: 14.2.3

nebula-node version: 3.0.3

Error detail:

npm run build

> [email protected] build
> next build

  ▲ Next.js 14.2.13

   Creating an optimized production build ...
 ✓ Compiled successfully
 ✓ Linting and checking validity of types    
   Collecting page data  .Error: Could not locate the bindings file. Tried:
 → D:\workspace\graph-echart-demo\my-app\.next\build\addon.node
 → D:\workspace\graph-echart-demo\my-app\.next\build\Debug\addon.node
 → D:\workspace\graph-echart-demo\my-app\.next\build\Release\addon.node
 → D:\workspace\graph-echart-demo\my-app\.next\out\Debug\addon.node
 → D:\workspace\graph-echart-demo\my-app\.next\Debug\addon.node
 → D:\workspace\graph-echart-demo\my-app\.next\out\Release\addon.node
 → D:\workspace\graph-echart-demo\my-app\.next\Release\addon.node
 → D:\workspace\graph-echart-demo\my-app\.next\build\default\addon.node
 → D:\workspace\graph-echart-demo\my-app\.next\compiled\20.17.0\win32\x64\addon.node
 → D:\workspace\graph-echart-demo\my-app\.next\addon-build\release\install-root\addon.node
 → D:\workspace\graph-echart-demo\my-app\.next\addon-build\debug\install-root\addon.node
 → D:\workspace\graph-echart-demo\my-app\.next\addon-build\default\install-root\addon.node
 → D:\workspace\graph-echart-demo\my-app\.next\lib\binding\node-v115-win32-x64\addon.node
    at t (D:\workspace\graph-echart-demo\my-app\.next\server\app\api\get-graph-data\route.js:1:165646)
    at 3882 (D:\workspace\graph-echart-demo\my-app\.next\server\app\api\get-graph-data\route.js:1:3008)
    at t (D:\workspace\graph-echart-demo\my-app\.next\server\webpack-runtime.js:1:143)
    at 7958 (D:\workspace\graph-echart-demo\my-app\.next\server\app\api\get-graph-data\route.js:1:93185)
    at t (D:\workspace\graph-echart-demo\my-app\.next\server\webpack-runtime.js:1:143)
    at 2920 (D:\workspace\graph-echart-demo\my-app\.next\server\app\api\get-graph-data\route.js:1:92300)
    at t (D:\workspace\graph-echart-demo\my-app\.next\server\webpack-runtime.js:1:143)
    at 3912 (D:\workspace\graph-echart-demo\my-app\.next\server\app\api\get-graph-data\route.js:1:6683)
    at t (D:\workspace\graph-echart-demo\my-app\.next\server\webpack-runtime.js:1:143)
    at 1369 (D:\workspace\graph-echart-demo\my-app\.next\server\app\api\get-graph-data\route.js:1:3316) {
  tries: [
    'D:\\workspace\\graph-echart-demo\\my-app\\.next\\build\\addon.node',
    'D:\\workspace\\graph-echart-demo\\my-app\\.next\\build\\Debug\\addon.node',
    'D:\\workspace\\graph-echart-demo\\my-app\\.next\\build\\Release\\addon.node',
    'D:\\workspace\\graph-echart-demo\\my-app\\.next\\out\\Debug\\addon.node',
    'D:\\workspace\\graph-echart-demo\\my-app\\.next\\Debug\\addon.node',
    'D:\\workspace\\graph-echart-demo\\my-app\\.next\\out\\Release\\addon.node',
    'D:\\workspace\\graph-echart-demo\\my-app\\.next\\Release\\addon.node',
    'D:\\workspace\\graph-echart-demo\\my-app\\.next\\build\\default\\addon.node',
    'D:\\workspace\\graph-echart-demo\\my-app\\.next\\compiled\\20.17.0\\win32\\x64\\addon.node',
    'D:\\workspace\\graph-echart-demo\\my-app\\.next\\addon-build\\release\\install-root\\addon.node',
    'D:\\workspace\\graph-echart-demo\\my-app\\.next\\addon-build\\debug\\install-root\\addon.node',
    'D:\\workspace\\graph-echart-demo\\my-app\\.next\\addon-build\\default\\install-root\\addon.node',
    'D:\\workspace\\graph-echart-demo\\my-app\\.next\\lib\\binding\\node-v115-win32-x64\\addon.node'
  ]
}

> Build error occurred
Error: Failed to collect page data for /api/get-graph-data
    at D:\workspace\graph-echart-demo\my-app\node_modules\next\dist\build\utils.js:1268:15
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  type: 'Error'
}
@zhanghuidinah
Copy link

@wey-gu PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants