Skip to content

Can't resolve 'url' #409

@IanVS

Description

@IanVS

Describe the bug

Trying to add this package to my docusaurus 2.2 project, but I get an error now when I try to start it up.

Expected behavior

Docusaurus starts up.

Current behavior

failure:

Module not found: Error: Can't resolve 'url' in '/Users/ianvs/code/defined/dn-docs/node_modules/@paloaltonetworks/postman-code-generators/codegens/csharp-restsharp/lib'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
	- add a fallback 'resolve.fallback: { "url": require.resolve("url/") }'
	- install 'url'
If you don't want to include a polyfill, you can use an empty module like this:
	resolve.fallback: { "url": false }
client (webpack 5.75.0) compiled with 1 error

Possible solution

Steps to reproduce

The error happens.

Context

I'm unable to use this plugin.

Your Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions