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

Module not found: Can't resolve 'fs' #443

Closed
CyberBishop opened this issue Feb 11, 2024 · 0 comments
Closed

Module not found: Can't resolve 'fs' #443

CyberBishop opened this issue Feb 11, 2024 · 0 comments

Comments

@CyberBishop
Copy link

nextron build --linux

[nextron] Clearing previous builds
[nextron] Building renderer process
info - Linting and checking validity of types
info - Creating an optimized production build
Failed to compile.

../node_modules/electron/index.js
Module not found: Can't resolve 'fs' in '/home/.../myapp/node_modules/electron'

Import trace for requested module:
../node_modules/electron/index.js

Build failed because of webpack errors

Cannot build electron packages:
Error: Command failed with exit code 1: next build /home/.../myapp/renderer

Link to project repo:
https://github.com/CyberBishop/leshpq

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

1 participant