- 发布:2018-12-28 11:19
- 更新:2018-12-28 11:42
- 阅读:1410
8***@qq.com (作者)
/****以下是控制台的报错提示语***/
11:12:32.454 项目 'uniappDemo' 开始编译...
11:12:33.112 INFO Starting development server...
11:12:37.248 Module build failed (from ./node_modules/@dcloudio/webpack-uni-pages-loader/lib/index.js):
11:12:37.248 SyntaxError: Unexpected token ] in JSON at position 1219 (D:/www/uniappDemo/manifest.json)
11:12:37.264 at JSON.parse (<anonymous>)
11:12:37.264 at parseJson (D:\工具\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-cli-shared\lib\json.js:17:20)
11:12:37.271 at parsePagesJson (D:\工具\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-cli-shared\lib\pages.js:27:27)
11:12:37.272 at Object.module.exports (D:\工具\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\index.js:29:21)
8***@qq.com (作者)
/
manifest.json 这里面也没看见哪个地方有报错提示
/
11:12:37.248 SyntaxError: Unexpected token ] in JSON at position 1219 (D:/www/uniappDemo/manifest.json)
8***@qq.com (作者)
/
源码视图 这是manifest.json 的
/
{
"name" : "盛世传奇",
"appid" : "UNI2321EDB",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
"app-plus" : {
/ 5+App特有相关 /
"modules" : {},
/ 模块配置 /
"distribute" : {
/ 应用发布信息 /
"android" : {
/ android打包配置 /
"permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
"ios" : {},
/ ios打包配置 /
"sdkConfigs" : {},
"icons" : {
"ios" : {
"appstore" : "unpackage/res/icons/192x192.png",
"ipad" : {
"app" : "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png"
},
"iphone" : {
"app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png"
}
},
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png",
"ldpi" : "unpackage/res/icons/48x48.png",
"mdpi" : "unpackage/res/icons/48x48.png",
"xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png"
}
}
}
},
/ SDK配置 /
"quickapp" : {},
/ 快应用特有相关 /
"mp-weixin" : {
/ 小程序特有相关 /
"appid" : "",
"setting" : {
"urlCheck" : true
}
}
}
8***@qq.com (作者)
下面重新贴了报错提示!麻烦你了!
2018-12-28 11:34