zoukankan      html  css  js  c++  java
  • Error: Cannot find module 'core-js/fn/array/values' at Function.Module._resolveFilename (module

    E:codeBase op605 escue-masterserver ode_modules\_log4js@1.1.1@log4jsliblog4js.js:321
    throw new Error(
    ^

    Error: Problem reading log4js config { appenders:
    [ { type: 'console', makers: [Object] },
    { type: 'file',
    filename: 'logs/access.log',
    maxLogSize: 1024000,
    backups: 10 } ],
    replaceConsole: true,
    levels: { error: 'error', record: 'trace' } }. Error was "Cannot find module 'file'" (Error: Cannot find module 'file'
    at Function.Module._resolveFilename (module.js:538:15)
    at Function.Module._load (module.js:468:25)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)
    at requireAppender (E:codeBase op605 escue-masterserver ode_modules\_log4js@1.1.1@log4jsliblog4js.js:419:22)
    at loadAppender (E:codeBase op605 escue-masterserver ode_modules\_log4js@1.1.1@log4jsliblog4js.js:435:38)
    at E:codeBase op605 escue-masterserver ode_modules\_log4js@1.1.1@log4jsliblog4js.js:255:7
    at Array.forEach (<anonymous>)
    at configureAppenders (E:codeBase op605 escue-masterserver ode_modules\_log4js@1.1.1@log4jsliblog4js.js:254:18)
    at configureOnceOff (E:codeBase op605 escue-masterserver ode_modules\_log4js@1.1.1@log4jsliblog4js.js:315:7))
    at configureOnceOff (E:codeBase op605 escue-masterserver ode_modules\_log4js@1.1.1@log4jsliblog4js.js:321:13)
    at Object.configure (E:codeBase op605 escue-masterserver ode_modules\_log4js@1.1.1@log4jsliblog4js.js:376:3)
    at Object.<anonymous> (E:codeBase op605 escue-masterserverconfiglog4.js:3:8)
    at Module._compile (module.js:643:30)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)
    at Function.Module._load (module.js:491:3)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)

    由于是window系统

    执行

    进入启动不了的目录,比如service

    rd /s /q node_moudle

    npm install

  • 相关阅读:
    HTML网页基础知识
    velocity介绍及语法
    velocity中的表达式
    DecimalFormat 小数保留2位,金额千位分割
    UE.Editor下载
    Uncaught Could not find Flash element
    UE.Editor处理内容中含有多余图片问题
    vue路由
    vuejs基本结构
    vue.js组件的重要选项
  • 原文地址:https://www.cnblogs.com/huanghuanghui/p/9138707.html
Copyright © 2011-2022 走看看