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

os.version is not a function / Can't resolve 'os" #230

Open
ITOskarWozniak opened this issue Feb 15, 2024 · 0 comments
Open

os.version is not a function / Can't resolve 'os" #230

ITOskarWozniak opened this issue Feb 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ITOskarWozniak
Copy link

ITOskarWozniak commented Feb 15, 2024

Describe the bug
I'm able to run the tests.
But not able to create build.
This is extension for chrome plugin

To Reproduce
N/A - I just installed and was trying to reproduce login exaple

Expected behavior
No errors

Screenshots

  1. Firstly getting "Can't resolve 'os'", so fixed it by below

`const NodePolyfillPlugin = require("node-polyfill-webpack-plugin");

module.exports = {
plugins: [
new NodePolyfillPlugin()
],
}`
Screenshot 2024-02-15 at 13 47 20

  1. After that getting "os.version is not a function"
    Screenshot 2024-02-15 at 13 54 11

As I see error is comming from this place
image

  1. When I stub os.version from above then i'm getting error that "cookies" is undefined
    image

But in the network tab I can see sessionid & sessionid_sign
image

At the end I started to receive below "Capcha check"
image

Environment:

  • OS: MacOS
  • Node version: v18.17.0

Additional context
N/A

@ITOskarWozniak ITOskarWozniak added the bug Something isn't working label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants