You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
021-08-09T00:08:33.2364306Z found 1 moderate severity vulnerability
2021-08-09T00:08:33.2364897Z run `npm audit fix` to fix them, or `npm audit` for details
2021-08-09T00:08:35.7013819Z ./node_modules/@cfworker/web/dist/accepts.js 10:11
2021-08-09T00:08:35.7014468Z Module parse failed: Unexpected token (10:11)
2021-08-09T00:08:35.7015531Z You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
2021-08-09T00:08:35.7016705Z | const parseAcceptCharset = preferredCharsets;
2021-08-09T00:08:35.7017311Z | export class Accepts {
2021-08-09T00:08:35.7017709Z > headers;
2021-08-09T00:08:35.7018092Z | _type = undefined;
2021-08-09T00:08:35.7018507Z | _language = undefined;
2021-08-09T00:08:35.7019755Z @ ./node_modules/@cfworker/web/dist/index.js 2:0-29 2:0-29
2021-08-09T00:08:35.7020244Z @ ./src/index.ts
2021-08-09T00:08:35.7020707Z ./node_modules/@cfworker/web/dist/router.js 36:11
2021-08-09T00:08:35.7021280Z Module parse failed: Unexpected token (36:11)
2021-08-09T00:08:35.7022459Z You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
2021-08-09T00:08:35.7023329Z | };
2021-08-09T00:08:35.7023683Z | export class Router {
2021-08-09T00:08:35.7024068Z > options;
2021-08-09T00:08:35.7024397Z | routes;
2021-08-09T00:08:35.7024929Z | constructor(options = defaultRouterOptions) {
2021-08-09T00:08:35.7025789Z @ ./node_modules/@cfworker/web/dist/index.js 11:0-28 11:0-28
2021-08-09T00:08:35.7026254Z @ ./src/index.ts
2021-08-09T00:08:35.7026905Z ./node_modules/@cfworker/web/dist/http-error.js 3:10
2021-08-09T00:08:35.7027517Z Module parse failed: Unexpected token (3:10)
2021-08-09T00:08:35.7028542Z You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
2021-08-09T00:08:35.7029851Z | import statuses from 'statuses';
2021-08-09T00:08:35.7030383Z | export class HttpError extends Error {
2021-08-09T00:08:35.7030828Z > status;
2021-08-09T00:08:35.7031171Z | statusText;
2021-08-09T00:08:35.7031525Z | body;
2021-08-09T00:08:35.7032130Z @ ./node_modules/@cfworker/web/dist/index.js 6:0-32 6:0-32
2021-08-09T00:08:35.7032614Z @ ./src/index.ts
2021-08-09T00:08:35.7033322Z ./node_modules/@cfworker/web/dist/response-builder.js 3:12
2021-08-09T00:08:35.7034066Z Module parse failed: Unexpected token (3:12)
2021-08-09T00:08:35.7035105Z You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
2021-08-09T00:08:35.7036348Z | import statuses from 'statuses';
2021-08-09T00:08:35.7036878Z | export class ResponseBuilder {
2021-08-09T00:08:35.7037365Z > headers = new Headers();
2021-08-09T00:08:35.7037750Z | _status = 404;
2021-08-09T00:08:35.7038166Z | _explicitStatus = false;
2021-08-09T00:08:35.7038864Z @ ./node_modules/@cfworker/web/dist/index.js 10:0-38 10:0-38
2021-08-09T00:08:35.7039741Z @ ./src/index.ts
2021-08-09T00:08:35.7040538Z ./node_modules/@cfworker/web/dist/cookies.js 4:19
2021-08-09T00:08:35.7041226Z Module parse failed: Unexpected token (4:19)
2021-08-09T00:08:35.7042398Z You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
2021-08-09T00:08:35.7043657Z | const noCookies = Object.create(null);
2021-08-09T00:08:35.7044151Z | export class Cookies {
2021-08-09T00:08:35.7044721Z > responseHeaders;
2021-08-09T00:08:35.7045326Z | requestCookies;
2021-08-09T00:08:35.7046046Z | constructor(requestHeaders, responseHeaders) {
2021-08-09T00:08:35.7047083Z @ ./node_modules/@cfworker/web/dist/index.js 5:0-29 5:0-29
2021-08-09T00:08:35.7047702Z @ ./src/index.ts
2021-08-09T00:08:35.7048252Z ./node_modules/@cfworker/web/dist/req.js 4:7
2021-08-09T00:08:35.7049013Z Module parse failed: Unexpected token (4:7)
2021-08-09T00:08:35.7050257Z You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
2021-08-09T00:08:35.7051808Z | import { Accepts } from './accepts.js';
2021-08-09T00:08:35.7052466Z | export class Req {
2021-08-09T00:08:35.7052977Z > raw;
2021-08-09T00:08:35.7053473Z | method;
2021-08-09T00:08:35.7053836Z | url;
2021-08-09T00:08:35.7054597Z @ ./node_modules/@cfworker/web/dist/index.js 9:0-25 9:0-25
2021-08-09T00:08:35.7055155Z @ ./src/index.ts
2021-08-09T00:08:35.7055895Z ./node_modules/@cfworker/web/dist/context.js 5:9
2021-08-09T00:08:35.7056800Z Module parse failed: Unexpected token (5:9)
2021-08-09T00:08:35.7058471Z You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
2021-08-09T00:08:35.7059982Z | import { ResponseBuilder } from './response-builder.js';
2021-08-09T00:08:35.7060836Z | export class Context {
2021-08-09T00:08:35.7062022Z > event;
2021-08-09T00:08:35.7062523Z | req;
2021-08-09T00:08:35.7062874Z | res;
2021-08-09T00:08:35.7064163Z @ ./node_modules/@cfworker/web/dist/index.js 4:0-29 4:0-29
2021-08-09T00:08:35.7064907Z @ ./src/index.ts
2021-08-09T00:08:35.7066664Z ./node_modules/@cfworker/web/dist/application.js 7:15
2021-08-09T00:08:35.7067899Z Module parse failed: Unexpected token (7:15)
2021-08-09T00:08:35.7070208Z You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
2021-08-09T00:08:35.7072127Z | const resolved = Promise.resolve();
2021-08-09T00:08:35.7072809Z | export class Application {
2021-08-09T00:08:35.7073444Z > middleware = [];
2021-08-09T00:08:35.7074229Z | use(middleware) {
2021-08-09T00:08:35.7074828Z | this.middleware.push(middleware);
2021-08-09T00:08:35.7075961Z @ ./node_modules/@cfworker/web/dist/index.js 3:0-33 3:0-33
2021-08-09T00:08:35.7076517Z @ ./src/index.ts
2021-08-09T00:08:35.7077449Z Error: webpack returned an error. Try configuring `entry` in your webpack config relative to the current working directory, or setting `context = __dirname` in your webpack config.
The text was updated successfully, but these errors were encountered:
按照教程部署出错,请问如何解决?
The text was updated successfully, but these errors were encountered: