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

Issue in using memcached library with NUXT #359

Open
prgwar opened this issue Sep 28, 2020 · 0 comments
Open

Issue in using memcached library with NUXT #359

prgwar opened this issue Sep 28, 2020 · 0 comments

Comments

@prgwar
Copy link

prgwar commented Sep 28, 2020

I am using memcached in NUXT Framework to build a isomorphic application. Though memcached is accessed in server side only. I am getting an error

These dependencies were not found:                                                                                                      
* child_process in ./node_modules/memcached/lib/connection.js                                                                     
* net in ./node_modules/memcached/lib/memcached.js 

After some googling its the issue with the webpack. Its node core library which is not available in browser so in package.json
it has to mentioned.

"browser": {
   "child_process": false,
   "net": false
 },

Manually editing the package json works. Kindly update me with a solution.

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