zoukankan      html  css  js  c++  java
  • vue-cli启动报错问题:

    vue-cli启动报错问题:

    Module build failed (from ./node_modules/babel-loader/lib/index.js):

    Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in C:Users64950Desktopproject odejs-currencyadmin-web ode_modules@babelhelper-compilation-targetspackage.json

        at throwExportsNotFound (internal/modules/esm/resolve.js:285:9)

        at packageExportsResolve (internal/modules/esm/resolve.js:491:3)

        at resolveExports (internal/modules/cjs/loader.js:444:36)

        at Function.Module._findPath (internal/modules/cjs/loader.js:484:31)

        at Function.Module._resolveFilename (internal/modules/cjs/loader.js:818:27)

        at Function.Module._load (internal/modules/cjs/loader.js:687:27)

        at Module.require (internal/modules/cjs/loader.js:903:19)

        at require (internal/modules/cjs/helpers.js:74:18)

        at Object.<anonymous> (C:Users64950Desktopproject odejs-currencyadmin-web ode_modules@babelpreset-envlibdebug.js:8:33)

        at Module._compile (internal/modules/cjs/loader.js:1015:30)

        at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)

        at Module.load (internal/modules/cjs/loader.js:879:32)

        at Function.Module._load (internal/modules/cjs/loader.js:724:14)

        at Module.require (internal/modules/cjs/loader.js:903:19)

        at require (internal/modules/cjs/helpers.js:74:18)

        at Object.<anonymous> (C:Users64950Desktopproject odejs-currencyadmin-web ode_modules@babelpreset-envlibindex.js:11:14)

     @ multi (webpack)-dev-server/client?http://192.168.100.101:8081/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

    解决方案:

    npm install @babel/helper-compilation-targets --save-dev
  • 相关阅读:
    树与树的表示
    队列的顺序/链式存储实现
    堆栈的链式存储实现
    堆栈的顺序存储实现
    线性表的链式存储求表长,查找,插入,删除
    C语言博客作业--函数
    C语言博客作业--嵌套循环
    C语言第三次博客作业---单层循环结构
    C语言第二次博客作业---分支结构
    C语言第一次博客作业——输入输出格式
  • 原文地址:https://www.cnblogs.com/ankeyliu/p/14636346.html
Copyright © 2011-2022 走看看