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

Network Viewer Example App Fails to Build #129

Closed
seanmarpo opened this issue Jul 12, 2024 · 5 comments
Closed

Network Viewer Example App Fails to Build #129

seanmarpo opened this issue Jul 12, 2024 · 5 comments

Comments

@seanmarpo
Copy link

Expected Behavior

The network-viewer example application successfully builds

Actual Behavior

The network-viewer example app no longer builds after the latest commit to update dependencies

Steps to Reproduce the Problem

  1. npm ci && cd examples && npm i && cd .. && npm run build
> [email protected] build
> SKIP_PREFLIGHT_CHECK=true node ../node_modules/react-scripts/bin/react-scripts.js build

Creating an optimized production build...
Failed to compile.

[eslint] Failed to load config "react-app" to extend from.
Referenced from: /Users/smarpo/test/network-viewer/examples/package.json


ERROR: "build:examples" exited with 1.

Specifications

  • Version: latest commit
  • Platform: MacOS / Node v18 / Python 3.10.8 (now required after the latest dependency bump)
@yuyi-sl
Copy link
Contributor

yuyi-sl commented Jul 19, 2024

Thank you for your interest in this project!

We will not be addressing current issues as we are working on a new release now. We are open to receive feedback once the new release is done.

@rus-99-pk
Copy link

Hello!

@seanmarpo, thank you for your question.

@yuyi-sl, when do you have a plan to release new version? And will it be pack to docker-container?

@rus-99-pk
Copy link

Probably, i stucked on the same problem:

npm error gyp ERR! UNCAUGHT EXCEPTION 
npm error gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
npm error gyp ERR! stack     at createConfigFile (/home/admuser/git/network-viewer/node_modules/node-gyp/lib/configure.js:117:21)
npm error gyp ERR! stack     at /home/admuser/git/network-viewer/node_modules/node-gyp/lib/configure.js:84:9
npm error gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:194:23)
npm error gyp ERR! System Linux 6.9.6-200.fc40.x86_64
npm error gyp ERR! command "/usr/bin/node-20" "/home/admuser/git/network-viewer/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm error gyp ERR! cwd /home/admuser/git/network-viewer/node_modules/node-sass
npm error gyp ERR! node -v v20.12.2
npm error gyp ERR! node-gyp -v v7.1.2
npm error gyp ERR! Node-gyp failed to build your package.
npm error gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
npm error Build failed with error code: 7

@yuyi-sl
Copy link
Contributor

yuyi-sl commented Aug 1, 2024

Hey @seanmarpo and @rus-99-pk ,

executing npm ci && cd examples && npm i && cd .. && npm run build should be working now. The issue was one incompatible dependency.

@seanmarpo
Copy link
Author

Thank you! Tested and the build does work on the main branch. You can close this out.

@diemol diemol closed this as completed Aug 2, 2024
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

4 participants