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

Thorwing error URL is not defined #47

Open
imshafikul opened this issue Sep 14, 2020 · 1 comment
Open

Thorwing error URL is not defined #47

imshafikul opened this issue Sep 14, 2020 · 1 comment

Comments

@imshafikul
Copy link

/nextjs-redux-starter/node_modules/next/dist/next-server/lib/router/utils/parse-relative-url.js:1
(function (exports, require, module, __filename, __dirname) { "use strict";exports.__esModule=true;exports.parseRelativeUrl=parseRelativeUrl;var _utils=require("../../utils");const DUMMY_BASE=new URL(typeof window==='undefined'?'http://n':(0,_utils.getLocationOrigin)());/**
^

ReferenceError: URL is not defined
at Object. /nextjs-redux-starter/node_modules/next/dist/next-server/lib/router/utils/parse-relative-url.js:1:193)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/nextjs-redux-starter/node_modules/next/dist/next-server/lib/router/utils/prepare-destination.js:1:199)
at Module._compile (module.js:653:30)

@santoshvijapure
Copy link

@shafikulz was you able to resolve this issue? I'm having a similar issue.

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