Open SvenDowideit opened 6 years ago
npm v5.5.1, from Docker container
the npm install step has 2 warnings:
root@65526690bc64:/frontend# npm install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
Hash: b81c70f6d5804d777903 Version: webpack 3.8.1 Time: 2869ms Asset Size Chunks Chunk Names bundle.js 2.82 MB 0 [emitted] [big] main [5] ./src/api.js 8.16 kB {0} [built] [9] (webpack)/buildin/global.js 488 bytes {0} [built] [14] ./src/index.js 3.04 kB {0} [built] [31] ./src/store.js 2 kB {0} [built] [34] ./src/store/actions.js 2.37 kB {0} [built] [35] ./src/store/devices.js 2.45 kB {0} [built] [36] ./src/store/scenes.js 2.27 kB {0} [built] [37] ./src/store/entities.js 3.12 kB {0} [built] [38] ./src/store/events.js 2.53 kB {0} [built] [39] ./src/store/eventActions.js 2.87 kB {0} [built] + 145 hidden modules ERROR in ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-891e04e8","hasScoped":true,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0&bustCache!./src/components/ActionNodeCompoundStatement.vue (Emitted value instead of an instance of Error) Error compiling template: <div> <div v-for="{index, statement} in statements"> <div class="panel panel-default"> <div class="panel-heading"> <div class="dropdown"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> {{ headers[statement.t] }} <span class="caret"></span> </button> <ul class="dropdown-menu"> <li><a href="#" v-on:click.prevent="remove(index)">Delete Statement</a></li> </ul> </div> </div> <div class="panel-body"> <statement-node v-bind:statement="statement" v-on:change="changed(index, $event)"></statement-node> </div> </div> </div> <div class="dropdown"> <button class="btn btn-secondary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Add Statement </button> <ul class="dropdown-menu"> <li v-for="option in options"> <a class="dropdown-item" href="#" v-on:click.prevent="select(option)"> {{option.text}} </a> </li> </ul> </div> </div> - invalid v-for alias "{index, statement}" in expression: v-for="{index, statement} in statements" @ ./src/components/ActionNodeCompoundStatement.vue 10:0-277 @ ./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./src/components/ActionNodeStatement.vue @ ./src/components/ActionNodeStatement.vue @ ./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./src/components/ActionEdit.vue @ ./src/components/ActionEdit.vue @ ./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./src/components/Actions.vue @ ./src/components/Actions.vue @ ./src/index.js npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! real-engine@0.1.0 build:js: `webpack` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the real-engine@0.1.0 build:js 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! /root/.npm/_logs/2017-11-21T00_54_44_056Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! real-engine@0.1.0 build: `npm run build:js` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the real-engine@0.1.0 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! /root/.npm/_logs/2017-11-21T00_54_44_170Z-debug.log The command '/bin/sh -c npm run build' returned a non-zero code: 2 Makefile:4: recipe for target 'build' failed make: *** [build] Error 2
npm v5.5.1, from Docker container
the npm install step has 2 warnings: