-
-
Notifications
You must be signed in to change notification settings - Fork 433
Updated to latest version and getting a strange error when running npm run dev #1784
Comments
Here are the dependencies installed, node v16.4.0, npm v7.19.0 "dependencies": { Just running npm run dev generates that error, there are no other repro steps |
Try Greetings! |
Thanks @Oliver-Piorun it worked, only getting a strange message (node:5164) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at d:\project\test\node_modules\tslib\package.json. |
Hi! Seems like this issue/warning is already known: microsoft/tslib#134 Greetings! |
Hi Oliver, thanks for your reply. No it does not affect build/run at all. |
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
_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)
The text was updated successfully, but these errors were encountered: