Skip to content

"export 'normalizeURL' was not found in '@nuxt/ufo' [IE] #8458

@andorfermichael

Description

@andorfermichael

Versions

  • nuxt: v2.14.10
  • node: v14.15.0

What is actually happening?

When running nuxt with the latest release 2.14.10, the following warning occurs:

"export 'normalizeURL' was not found in '@nuxt/ufo'

Command Line Output

$ nuxt
ℹ Using Tailwind CSS from ~/assets/css/tailwind.css                                                                                                                                                                      nuxt:tailwindcss 10:30:21
ℹ Merging Tailwind config from ~/tailwind.config.js                                                                                                                                                                      nuxt:tailwindcss 10:30:21
ℹ [HPM] Proxy created: /  -> https://staging.example.com                                                                                                                                                                                 10:30:22
ℹ [HPM] Proxy rewrite rule created: "^/api/" ~> "/spa/"                                                                                                                                                                                   10:30:22

   ╭───────────────────────────────────────╮
   │                                       │
   │   Nuxt @ v2.14.10                     │
   │                                       │
   │   ▸ Environment: development          │
   │   ▸ Rendering:   server-side          │
   │   ▸ Target:      server               │
   │                                       │
   │   Listening: http://localhost:3000/   │
   │                                       │
   ╰───────────────────────────────────────╯

ℹ Preparing project for development                                                                                                                                                                                                       10:30:23
ℹ Initial build may take a while                                                                                                                                                                                                          10:30:23
ℹ Tailwind Colors available on http://localhost:3000/_tailwind                                                                                                                                                           nuxt:tailwindcss 10:30:23
✔ Builder initialized                                                                                                                                                                                                                     10:30:23
✔ Nuxt files generated                                                                                                                                                                                                                    10:30:23

✔ Client
  Compiled successfully in 22.97s

✔ Server
  Compiled successfully in 21.86s


 WARN  Compiled with 1 warnings                                                                                                                                                                                           friendly-errors 10:30:46


 WARN  in ./.nuxt/utils.js                                                                                                                                                                                                friendly-errors 10:30:46

"export 'normalizeURL' was not found in '@nuxt/ufo'                                                                                                                                                                       friendly-errors 10:30:46
                                                                                                                                                                                                                          friendly-errors 10:30:46
ℹ Waiting for file changes                                                                                                                                                                                                                10:30:46
ℹ Memory usage: 319 MB (RSS: 704 MB)                                                                                                                                                                                                      10:30:46
ℹ Listening on: http://localhost:3000/                                                                                                                                                                                                    10:30:46

Browser Console Output

TypeError: Object(...) is not a function
    NuxtJS 2
        getLocation
        _callee2$
    Babel 10
        tryCatch
        invoke
        defineIteratorMethods
        asyncGeneratorStep
        _next
        promise callback*asyncGeneratorStep
        _next
        _asyncToGenerator
        _asyncToGenerator
        _createApp
    NuxtJS 11
        createApp
        <anonymous>
        <anonymous>
        js
        __webpack_require__
        fn
        0
        __webpack_require__
        checkDeferredModules
        webpackJsonpCallback
        <anonymous>
[HMR] bundle 'client' has 2 warnings client.js:195
./.nuxt/utils.js 455:9-21
"export 'normalizeURL' was not found in '@nuxt/ufo'
./.nuxt/router.js 255:11-23
"export 'normalizeURL' was not found in '@nuxt/ufo'

Although it is defined as warning, it causes parts of the app not being rendered (correctly).

What is Expected?

Export should be found, and app should be rendered correctly.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions