Skip to content

Instantly share code, notes, and snippets.

View aitchkhan's full-sized avatar
💭
Ehsaan

Haroon Khan aitchkhan

💭
Ehsaan
View GitHub Profile
const multer = require('multer');
const path = require('path');
const config = require('../config/index');
const pathToUploads = config.uploadDestination;
const limits = {
fileSize: 5242880
}
@aitchkhan
aitchkhan / gist:757ac1ddcd8f50bf593c2a0384abf019
Created December 20, 2016 01:00
Error while runnung command $npm start
[05:57:49] Finished 'clean.once' after 742 ms
[05:57:49] Starting 'build.assets.dev'...
[05:57:50] Finished 'build.assets.dev' after 346 ms
[05:57:50] Starting 'build.fonts'...
[05:57:50] Finished 'build.fonts' after 147 ms
[05:57:50] Starting 'build.html_css'...
[05:57:52] Finished 'build.html_css' after 2.26 s
[05:57:52] Starting 'build.js.dev'...
src/client/app/frameworks/teamwork/services/teamwork.service.ts(5,25): error TS2307: Cannot find module 'base-64'.
[05:57:59] TypeScript: 1 semantic error
{
"data": {
"message": "User unauthorized",
"type": "Unauthorized error",
"code": 401
},
"success": true
}