//
building for production...{ SyntaxError: Unexpected token (1:5)
at Parser.pp$4.raise (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:2488:13)
at Parser.pp.unexpected (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:623:8)
at Parser.pp.expect (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:617:26)
at Parser.pp$3.parseParenAndDistinguishExpression (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:2043:38)
at Parser.pp$3.parseExprAtom (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:1978:41)
at Parser.parseExprAtom (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\lib\inject.js:58:31)
at Parser.pp$3.parseExprSubscripts (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:1872:19)
at Parser.pp$3.parseMaybeUnary (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:1849:17)
at Parser.pp$3.parseExprOps (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:1791:19)
at Parser.pp$3.parseMaybeConditional (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:1774:19)
at Parser.pp$3.parseMaybeAssign (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:1750:19)
at Parser.pp$3.parseExpression (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:1722:19)
at Parser.pp$1.parseStatement (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:777:45)
at Parser.parseStatement (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\lib\inject.js:45:31)
at Parser.pp$1.parseTopLevel (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:672:23)
at Parser.parse (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:529:15)
at Object.parse (D:\ky-tesla\zhihuijingqu-web\node_modules\acorn-dynamic-import\node_modules\acorn\dist\acorn.js:3378:37) pos: 5, loc: Position { line: 1, column: 5 }, raisedAt: 6 }
"webpack-bundle-analyzer": "^2.9.0",
"webpack-dev-server": "^2.9.1",
"webpack-merge": "^4.1.0"
//
ERROR in chunk app [initial]
static/js/[name].[chunkhash].js
Unexpected token (205:27)
| var urlHost = process.env.API_HOST;
| var self = this;
| this.$axios.post(http://d.d.d.d:e/ + 'api/xxx', {
| "templateName": goodsName,
| "merchantId": merchantId,
Build failed with errors.
npm ERR! Windows_NT 10.0.17134
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! zhihuijingqu-web@1.0.0 build: node build/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zhihuijingqu-web@1.0.0 build script 'node build/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the zhihuijingqu-web package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs zhihuijingqu-web
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls zhihuijingqu-web
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:ky-teslazhihuijingqu-webnpm-debug.log
//
rules: [
{
test: /\.vue$/,
loader: 'vue-loader',
// options: vueLoaderConfig
options: {
loaders:{}
}
},
{
test: /\.js$/,
loaders: ['babel-loader'],
exclude: /node_modules/,
include: [resolve('src'), resolve('test'), resolve('node_modules/element-ui/src/mixins/emitter.js'),]
},
{
test: /\.css$/,
include: [
/src/,//表示在src目錄下的css需要編譯
'/node_modules/element-ui/lib/' //增加此項
],
loader: "style-loader!css-loader"
},
{
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
loader: 'url-loader',
options: {
limit: 10000,
name: utils.assetsPath('img/[name].[hash:7].[ext]')
}
},
{
test: /\.(mp4|webm|ogg|mp3|wav|flac|aac)(\?.*)?$/,
loader: 'url-loader',
options: {
limit: 10000,
name: utils.assetsPath('media/[name].[hash:7].[ext]')
}
},
{
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
loader: 'url-loader',
options: {
limit: 10000,
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
}
}
]
},
北大青鳥APTECH成立于1999年。依托北京大學優(yōu)質(zhì)雄厚的教育資源和背景,秉承“教育改變生活”的發(fā)展理念,致力于培養(yǎng)中國IT技能型緊缺人才,是大數(shù)據(jù)專業(yè)的國家
達內(nèi)教育集團成立于2002年,是一家由留學海歸創(chuàng)辦的高端職業(yè)教育培訓機構(gòu),是中國一站式人才培養(yǎng)平臺、一站式人才輸送平臺。2014年4月3日在美國成功上市,融資1
北大課工場是北京大學校辦產(chǎn)業(yè)為響應國家深化產(chǎn)教融合/校企合作的政策,積極推進“中國制造2025”,實現(xiàn)中華民族偉大復興的升級產(chǎn)業(yè)鏈。利用北京大學優(yōu)質(zhì)教育資源及背
博為峰,中國職業(yè)人才培訓領(lǐng)域的先行者
曾工作于聯(lián)想擔任系統(tǒng)開發(fā)工程師,曾在博彥科技股份有限公司擔任項目經(jīng)理從事移動互聯(lián)網(wǎng)管理及研發(fā)工作,曾創(chuàng)辦藍懿科技有限責任公司從事總經(jīng)理職務(wù)負責iOS教學及管理工作。
浪潮集團項目經(jīng)理。精通Java與.NET 技術(shù), 熟練的跨平臺面向?qū)ο箝_發(fā)經(jīng)驗,技術(shù)功底深厚。 授課風格 授課風格清新自然、條理清晰、主次分明、重點難點突出、引人入勝。
精通HTML5和CSS3;Javascript及主流js庫,具有快速界面開發(fā)的能力,對瀏覽器兼容性、前端性能優(yōu)化等有深入理解。精通網(wǎng)頁制作和網(wǎng)頁游戲開發(fā)。
具有10 年的Java 企業(yè)應用開發(fā)經(jīng)驗。曾經(jīng)歷任德國Software AG 技術(shù)顧問,美國Dachieve 系統(tǒng)架構(gòu)師,美國AngelEngineers Inc. 系統(tǒng)架構(gòu)師。