Skip to content

Instantly share code, notes, and snippets.

(node:20466) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): #<Object>
at emitWarning (internal/process/promises.js:63:21)
at emitPendingUnhandledRejections (internal/process/promises.js:95:11)
at runMicrotasksCallback (internal/process/next_tick.js:124:9)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
(node:20466) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
at emitWarning (internal/process/promises.js:78:15)
at emitPendingUnhandledRejections (internal/process/promises.js:95:11)
at runMicrotasksCallback (internal/process/next_tick.js:124:9)
const express = require('express')
, app = express()
, nunjucks = require('nunjucks')
nunjucks.configure('views', {
express:app,
autoescape: true,
watch:true
})
app.set('view engine', 'html')
const LoadingSpinner = () => {
return 'loading data...please wait'
}
export default LoadingSpinner;
import React from 'react';
import ReactDOM from 'react-dom';
import MyList from './components/MyList';
ReactDOM.render(
<MyList />, left
);
ReactDOM.render(
import React, {Component} from 'react';
import ReactDOM from 'react-dom';
import StudiesList from './components/StudiesList';
import Questionnaires from './components/Questionnaires';
import StudiesStats from './components/StudyStats';
class App extends Component {
constructor(props) {
import React, {Component} from 'react';
import striptags from 'striptags';
import PivotTableUI from 'react-pivottable/PivotTableUI';
import TableRenderers from 'react-pivottable/TableRenderers';
import Plot from 'react-plotly.js';
import createPlotlyRenderers from 'react-pivottable/PlotlyRenderers';
import 'react-pivottable/pivottable.css';
E:\node_modules\usb-detection>if not defined npm_config_node_gyp (node "C:\Users\t\AppData\Roaming\nvm\v8.9.1\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
detection.cpp
deviceList.cpp
detection_win.cpp
win_delay_load_hook.cc
..\src\detection_win.cpp(5): fatal error C1083: Cannot open include file: 'atlstr.h': No such file or directory [E:\node_modules\usb-detection\build\detection.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\t\AppData\Roaming\nvm\v8.9.1\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
[{
"id": "0099494d-6675-9dd-7900-5ec44a2718b3",
"instruction720": null,
"phone": null,
"sch": null,
"mseen1": "%3Cfont+color%3D%27red%27%3EDid+not+see%3C%2Ffont%3E",
"mseen2": "%3Cfont+color%3D%27red%27%3ESaw%3C%2Ffont%3E",
"mseen3": "%3Cfont+color%3D%27red%27%3EDid+not+see%3C%2Ffont%3E",
"Better": null,
"Worse": null,
<div class="col-xs-12 col-sm-12 col-md-12">
<asp:Panel runat="server" ID="pnlPulse"></asp:Panel>
<div id="ReactApp" />
</div>
[
{name:'foo', amount:'5', type:'gas'},
{amount:'1', type:'snacks'},
{amount:'3', type:'gas'},
{amount:'6', type:'gas'},
{name:'bar', amount:'5', type:'gas'},
{amount:'7', type:'snacks', something:'else'},
]