What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2022-01-29 09:07:15
ERROR in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ';' expected.
This problem might arise due to version mismatch. To solve your problem you need to do following changes in your package.json file. Go to package.json and modify "rxjs": "^6.0.0" to "rxjs": "6.0.0" then npm update t... Add solution -
Javascript 2022-01-22 07:20:03
electron sample question
'use strict'; const path = require('path'); const { app, BrowserWindow, Menu, globalShortcut} = require('electron'); const unhandled = require('electron-unhandled'); const debug = require('electron-debug'); const {is} = require('electron-util'); unhandle... Add solution -
Javascript 2022-01-22 04:31:15
adonisjs vscode debugger
// FOR AdonisJS 4.1 AND LOWER VERSION // in package.json add ... "scripts": { "dev": "adonis serve --dev --debug", } ... // then create a launch.json file under .vscode folder in root { "version": "0.... Add solution -
Javascript 2021-11-19 22:15:22
como ler um arquivo json com javascript
const { read } = require('fs') const readJsonFile = file => { if (file.split('.')[file.split('.').length - 1] !== 'json') return {} const fileContent = read(file) if (!fileContent) return {} return JSON.parse(fileContent) } readJsonFile('pac... Add solution -
Other 2021-11-18 09:48:50
yarn start port
//in package.json "start": "react-scripts start" t0 //linux "start": "PORT=3006 react-scripts start" or "start": "export PORT=3006 react-scripts start" //windows "start": "set PO... Add solution -
Other 2021-11-17 19:14:13
How to change port number in vue-cli project
with Vue CLI v3 package.json: Add port option to serve script: vue-cli-service serve --port xxxx Example: in file package.json edit scripts": { "serve": "vue-cli-service serve ........ } to scripts": { "ser... Add solution