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
FS Dependency issue #143
Comments
I don't see anything about prerender-node in those errors. I don't think any of those errors have anything to do with prerender-node since those aren't dependencies of prerender-node. Feel free to reopen if I'm wrong. |
@thoop I am facing this issue after adding the below line in my code. So, it seems like either I am going something wrong or the issue is Vue. Please look on it and help me out |
Did you run |
Actually, I need to check out what is it and whether the Vue supports it or not. Yes, I have run the above command only and add it to my project. |
Were you able to fix this and did it have anything to do with prerender-node? Feel free to reopen if needed. |
I am using this in vuejs. After installing this library using npm.
And added importing line in my app.js file
Vue.use(require('prerender-node').whitelisted(['/judgements', '/judgements/.*', '/articles', '/articles/.*', '/', '/plans']));
And run the npm using (npm run watch) after that I was getting the below error
Then I have run this command as per the instructions npm install --save fs net tls
But still I am getting below error.
From somewhere I have read to add the empty dependency of all the required modules in webpack.config.js
exports.node = {
dgram: 'empty',
fs: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty',
};
But after doing this I am getting the below warnings
I am not sure where I am doing wrong. Please help me out in this.
The text was updated successfully, but these errors were encountered: