Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Updated to latest version and getting a strange error when running npm run dev #1784

Open
@go-aegian

Description

@go-aegian

When building throws this warning
(node:19188) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at xxxxx\node_modules\tslib\package.json.
Update this package.json to use a subpath pattern like "./".
(Use node --trace-deprecation ... to show where the warning was created)
(node:19188) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at xxxxx\node_modules\msal\node_modules\tslib\package.json.
Update this package.json to use a subpath pattern like "./
".

After it builds looks ok until attempting to access via browser localhost:3000

Listening on http://localhost:3000

_xxxxx\node_modules\polka\build.js:64
let info = this.parse(req, true);
^

TypeError: this.parse is not a function
at Polka.handler (xxxxx\node_modules\polka\build.js:64:19)
at processImmediate (node:internal/timers:466:21)

Server crashed_

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions