Code Monkey home page Code Monkey logo

mt-app's Issues

Fail to build ....

  1. ERROR from npm run dev
 ERROR  Failed to compile with 1 errors                                                                                           1:20:37 PM

This relative module was not found:

* ../productDetail/ProductDetail in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/goods/Goods.vue
  1. ERROR from npm run build
➜  mt-app git:(master) ✗ npm run build

> [email protected] build ....../mt-app
> node build/build.js

Hash: 94b93dc27db0d63758ec
Version: webpack 3.11.0
Time: 5753ms
                                              Asset       Size  Chunks             Chunk Names
                   static/img/anonymity.3f9b695.png    21.7 kB          [emitted]  
              static/js/app.4e54feed9828b92bf09c.js    27.1 kB       0  [emitted]  app
           static/js/vendor.1bec2fdfddcc0edb6dd5.js     153 kB       1  [emitted]  vendor
         static/js/manifest.2ae2e69a05c33dfc65f8.js  799 bytes       2  [emitted]  manifest
static/css/app.9739a14ca25329b5dad0e18523405820.css    83.6 kB       0  [emitted]  app
                                         index.html  557 bytes          [emitted]  
                               static/css/reset.css    1.09 kB          [emitted]  

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/goods/Goods.vue
Module not found: Error: Can't resolve '../productDetail/ProductDetail' in '....../mt-app/src/components/goods'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/goods/Goods.vue 80:0-59
 @ ./src/components/goods/Goods.vue
 @ ./src/main.js

  Build failed with errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `node build/build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     ~/.npm/_logs/2018-12-19T21_21_09_406Z-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.