its config

Microsoft Windows [版本 10.0.15063]
(c) 2017 Microsoft Corporation。保留所有權利。

C:\work\source_code\itsr\hpps-myITSR-web>node -v
v12.13.0

C:\work\source_code\itsr\hpps-myITSR-web>npm run dev

> [email protected] dev C:\work\source_code\itsr\hpps-myITSR-web
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

'webpack-dev-server' 不是內部或外部命令,也不是可運行的程序
或批處理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\sujie\AppData\Roaming\npm-cache\_logs\2019-11-05T10_10_11_287Z-debug.log

C:\work\source_code\itsr\hpps-myITSR-web>cnpm run dev

> [email protected] dev C:\work\source_code\itsr\hpps-myITSR-web
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

'webpack-dev-server' 不是內部或外部命令,也不是可運行的程序
或批處理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\sujie\AppData\Roaming\npm-cache\_logs\2019-11-05T10_10_23_392Z-debug.log

C:\work\source_code\itsr\hpps-myITSR-web>cnpm run dev

> [email protected] dev C:\work\source_code\itsr\hpps-myITSR-web
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

'webpack-dev-server' 不是內部或外部命令,也不是可運行的程序
或批處理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\sujie\AppData\Roaming\npm-cache\_logs\2019-11-05T10_10_41_687Z-debug.log

C:\work\source_code\itsr\hpps-myITSR-web>cnpm run build

> [email protected] build C:\work\source_code\itsr\hpps-myITSR-web
> node build/build.js

internal/modules/cjs/loader.js:797
    throw err;
    ^

Error: Cannot find module 'chalk'
Require stack:
- C:\work\source_code\itsr\hpps-myITSR-web\build\check-versions.js
- C:\work\source_code\itsr\hpps-myITSR-web\build\build.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
    at Function.Module._load (internal/modules/cjs/loader.js:687:27)
    at Module.require (internal/modules/cjs/loader.js:849:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (C:\work\source_code\itsr\hpps-myITSR-web\build\check-versions.js:2:15)
    at Module._compile (internal/modules/cjs/loader.js:956:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Module.require (internal/modules/cjs/loader.js:849:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\work\\source_code\\itsr\\hpps-myITSR-web\\build\\check-versions.js',
    'C:\\work\\source_code\\itsr\\hpps-myITSR-web\\build\\build.js'
  ]
}
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 WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\sujie\AppData\Roaming\npm-cache\_logs\2019-11-05T10_11_02_309Z-debug.log

C:\work\source_code\itsr\hpps-myITSR-web>npm -v
6.12.0

C:\work\source_code\itsr\hpps-myITSR-web>npm -v
6.12.0

C:\work\source_code\itsr\hpps-myITSR-web>npm run build

> [email protected] build C:\work\source_code\itsr\hpps-myITSR-web
> node build/build.js

internal/modules/cjs/loader.js:797
    throw err;
    ^

Error: Cannot find module 'chalk'
Require stack:
- C:\work\source_code\itsr\hpps-myITSR-web\build\check-versions.js
- C:\work\source_code\itsr\hpps-myITSR-web\build\build.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
    at Function.Module._load (internal/modules/cjs/loader.js:687:27)
    at Module.require (internal/modules/cjs/loader.js:849:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (C:\work\source_code\itsr\hpps-myITSR-web\build\check-versions.js:2:15)
    at Module._compile (internal/modules/cjs/loader.js:956:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Module.require (internal/modules/cjs/loader.js:849:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\work\\source_code\\itsr\\hpps-myITSR-web\\build\\check-versions.js',
    'C:\\work\\source_code\\itsr\\hpps-myITSR-web\\build\\build.js'
  ]
}
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 WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\sujie\AppData\Roaming\npm-cache\_logs\2019-11-05T10_18_40_954Z-debug.log

C:\work\source_code\itsr\hpps-myITSR-web>npm install chalk

> [email protected] postinstall C:\work\source_code\itsr\hpps-myITSR-web\node_modules\webpack\node_modules\uglifyjs-webpack-plugin
> node lib/post_install.js

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\quill-image-resize-module\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ [email protected]
added 1680 packages from 737 contributors and audited 12018 packages in 380.117s
found 334 vulnerabilities (1 low, 12 moderate, 321 high)
  run `npm audit fix` to fix them, or `npm audit` for details

C:\work\source_code\itsr\hpps-myITSR-web>npm run build

> [email protected] build C:\work\source_code\itsr\hpps-myITSR-web
> node build/build.js

Hash: 772548db925c39680b29
Version: webpack 3.12.0
Time: 74090ms
                                                  Asset       Size  Chunks                    Chunk Names
                   static/img/backgroundimg.7ea60b7.png    15.4 kB          [emitted]         
             static/img/fontawesome-webfont.912ec66.svg     444 kB          [emitted]  [big]  
           static/fonts/fontawesome-webfont.b06871f.ttf     166 kB          [emitted]         
           static/fonts/fontawesome-webfont.674f50d.eot     166 kB          [emitted]         
          static/fonts/fontawesome-webfont.fee66e7.woff      98 kB          [emitted]         
         static/fonts/fontawesome-webfont.af7ae50.woff2    77.2 kB          [emitted]         
                static/fonts/element-icons.535877f.woff    28.2 kB          [emitted]         
                 static/fonts/element-icons.732389d.ttf      56 kB          [emitted]         
                        static/img/blueLogo.f993acd.png    12.6 kB          [emitted]         
               static/js/vendor.3b5dd8b6774bcfd40124.js    1.51 MB       0  [emitted]  [big]  vendor
                  static/js/app.b8b0d5c31d9341dbd049.js      39 kB       1  [emitted]         app
             static/js/manifest.2ae2e69a05c33dfc65f8.js  857 bytes       2  [emitted]         manifest
    static/css/app.137f82d2f4844eb81e1679eef7f9e0be.css     314 kB       1  [emitted]  [big]  app
static/css/app.137f82d2f4844eb81e1679eef7f9e0be.css.map     643 kB          [emitted]         
           static/js/vendor.3b5dd8b6774bcfd40124.js.map    6.07 MB       0  [emitted]         vendor
              static/js/app.b8b0d5c31d9341dbd049.js.map     152 kB       1  [emitted]         app
         static/js/manifest.2ae2e69a05c33dfc65f8.js.map    4.97 kB       2  [emitted]         manifest
                                             index.html  732 bytes          [emitted]         
                                     static/favicon.ico    4.29 kB          [emitted]         
                                    static/js/verify.js    36.4 kB          [emitted]         
                                static/js/verify.min.js    23.7 kB          [emitted]         
                                static/config/global.js  275 bytes          [emitted]         

  Build complete.

  Tip: built files are meant to be served over an HTTP server.
  Opening index.html over file:// won't work.


C:\work\source_code\itsr\hpps-myITSR-web>cnpm run dev  

> [email protected] dev C:\work\source_code\itsr\hpps-myITSR-web
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

 24% building modules 123/165 modules 42 active ...code\itsr\hpps-myITSR-web\src\App.vue{ parser: "babylon" } is 95% emitting

 DONE  Compiled successfully in 26265ms                                                                                                                                                         18:32:11
 I  Your application is running here: http://localhost:8089                                                                                                                                ^C終止批處理
操作嗎(Y/N)? y

C:\work\source_code\itsr\hpps-myITSR-web>npm run build

> [email protected] build C:\work\source_code\itsr\hpps-myITSR-web
> node build/build.js

Hash: e85382202b672e1f485b
Version: webpack 3.12.0
Time: 68958ms
                                                  Asset       Size  Chunks                    Chunk Names
                   static/img/backgroundimg.7ea60b7.png    15.4 kB          [emitted]
             static/img/fontawesome-webfont.912ec66.svg     444 kB          [emitted]  [big]
           static/fonts/fontawesome-webfont.b06871f.ttf     166 kB          [emitted]
           static/fonts/fontawesome-webfont.674f50d.eot     166 kB          [emitted]
          static/fonts/fontawesome-webfont.fee66e7.woff      98 kB          [emitted]
         static/fonts/fontawesome-webfont.af7ae50.woff2    77.2 kB          [emitted]
                static/fonts/element-icons.535877f.woff    28.2 kB          [emitted]
                 static/fonts/element-icons.732389d.ttf      56 kB          [emitted]
                        static/img/blueLogo.f993acd.png    12.6 kB          [emitted]
               static/js/vendor.3b5dd8b6774bcfd40124.js    1.51 MB       0  [emitted]  [big]  vendor
                  static/js/app.b8b0d5c31d9341dbd049.js      39 kB       1  [emitted]         app
             static/js/manifest.2ae2e69a05c33dfc65f8.js  857 bytes       2  [emitted]         manifest
    static/css/app.137f82d2f4844eb81e1679eef7f9e0be.css     314 kB       1  [emitted]  [big]  app
static/css/app.137f82d2f4844eb81e1679eef7f9e0be.css.map     643 kB          [emitted]         
           static/js/vendor.3b5dd8b6774bcfd40124.js.map    6.07 MB       0  [emitted]         vendor
              static/js/app.b8b0d5c31d9341dbd049.js.map     152 kB       1  [emitted]         app
         static/js/manifest.2ae2e69a05c33dfc65f8.js.map    4.97 kB       2  [emitted]         manifest
                                             index.html  732 bytes          [emitted]         
                                static/config/global.js  275 bytes          [emitted]         
                                static/js/verify.min.js    23.7 kB          [emitted]         
                                    static/js/verify.js    36.4 kB          [emitted]         
                                     static/favicon.ico    4.29 kB          [emitted]         

  Build complete.

  Tip: built files are meant to be served over an HTTP server.
  Opening index.html over file:// won't work.


C:\work\source_code\itsr\hpps-myITSR-web>                 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章