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

Webpack compatibility #114

Closed
duzenko opened this issue Oct 26, 2016 · 3 comments
Closed

Webpack compatibility #114

duzenko opened this issue Oct 26, 2016 · 3 comments

Comments

@duzenko
Copy link

duzenko commented Oct 26, 2016

I'm trying to use your package in a webpack-based project.

Here's my error

ERROR in (webpack)/~/watchpack/~/graceful-fs/fs.js
Module not found: Error: Cannot resolve module 'fs' in D:\dev\pos\Source\web\node_modules\webpack\node_modules\watchpack\node_modules\graceful-fs
 @ (webpack)/~/watchpack/~/graceful-fs/fs.js 3:9-22

Is there any way to make it work with node-firebird?

@mariuz
Copy link
Collaborator

mariuz commented Oct 26, 2016

See the related

pugjs/pug-loader#8

try adding

node: {
  fs: "empty"
}

to your webpack config

@mariuz mariuz closed this as completed Oct 26, 2016
@duzenko
Copy link
Author

duzenko commented Oct 26, 2016

I did my research. That does not help.

@mariuz mariuz reopened this Oct 26, 2016
@duzenko
Copy link
Author

duzenko commented Oct 26, 2016

My bad.
I tried to call firebird on the client side.
Closed.

@mariuz mariuz closed this as completed Oct 26, 2016
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