Firebase hosting deployment failing

Issue Running firebase deploy will run for a few minutes before giving me a timeout error Error: ESOCKETTIMEDOUT I’ve successfully deployed multiple times earlier, without changing anything but the frontend of my project (written in React). I have a separate

Continue reading

nx.dev creating first app failure with cannot find module

Issue In trying out nx.dev, I ran this command npx nx generate @nrwl/node:app ghApi and received this error Unable to resolve @nrwl/node:app. Cannot find module ‘@nrwl/node/package.json’ Require stack: – /Users/dean/workspace/gazehealth/nxdev-workspace/node_modules/nx/src/utils/nx-plugin.js – /Users/dean/workspace/gazehealth/nxdev- workspace/node_modules/nx/src/config/workspaces.js – /Users/dean/workspace/gazehealth/nxdev-workspace/node_modules/nx/src/command- line/generate.js – /Users/dean/workspace/gazehealth/nxdev-workspace/node_modules/nx/src/command-line/nx-commands.js – /Users/dean/workspace/gazehealth/nxdev-workspace/node_modules/nx/bin/init-local.js

Continue reading

Cannot build Shopware 6 admin with npm 8.11

Issue When running bin/build-administration.sh we get npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: eslint-config-airbnb-base@13.2.0 npm ERR! Found: eslint@7.10.0 npm ERR! node_modules/eslint npm ERR! dev eslint@"7.10.0" from the root project npm ERR!

Continue reading

Install package only for one project

Issue Let’s say I have this file hierarchy: packages/project1 packages/project2 and the workspace is packages/* How do I install an npm package only for project1 and not for project2 (without using just "npm install" inside the packages/project1 directory because I

Continue reading

Electron Builder cannot move downloaded into final location (another process downloaded faster?) error=rename

Issue “electron-builder”: “^20.38.5” Not using electron updater Target: Windows Running electron builder on windows 10 Home build process cannot package and presents this error cannot move downloaded into final location (another process downloaded faster?) error=rename C:\Users\Developer\AppData\Local\electron-builder\Cache\winCodeSign\105845327 C:\Users\Developer\AppData\Local\electron-builder\Cache\winCodeSign\winCodeSign-2.4.0: Access is denied.

Continue reading

Local path dependencies not installing their own dependencies

Issue Following this answer, I installed my local dependency like this: { "private": true, "dependencies": { "my_dependency": "../relative/path/to/my_dependency" } } my_dependency depends on ESLint and its plugins: { "name": "my_dependency", "dependencies": { "@typescript-eslint/eslint-plugin": "5.25.0", "@typescript-eslint/parser": "5.25.0", "eslint": "8.16.0", "eslint-plugin-import": "2.26.0",

Continue reading

can't import React Component

Issue I am trying to make a small example react project that uses this npm package drag and drop file picker: https://www.npmjs.com/package/@yelysei/react-files-drag-and-drop I made a fresh react project with npx create-react-app my-app. I installed the package and added the filesDragAndDrop

Continue reading

Why "wanted" is not "latest"?

Issue I am using npm outdated -g –depth=0 to see which globally installed packages have newer version. I am getting this: $ npm outdated -g –depth=0 Package Current Wanted Latest Location bower 1.6.8 1.6.8 1.7.1 jshint 2.8.0 2.8.0 2.9.1-rc2 jspm

Continue reading

How do I upgrade ember-cli-babel?

Issue The online NPM documentation does not explain how to upgrade ember-cli-babel. I tried following the accepted answer posted here Invalid Version: Ember-Cli-Babel, but that did not work. DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel

Continue reading

Why does ts-node think it has a src directory, if when I look in node_modules there is none?

Issue I am running my project using ts-node and I get the following error TSError: ⨯ Unable to compile TypeScript: spec/crons/dailyjob.spec.ts(51,9): error TS2589: Type instantiation is excessively deep and possibly infinite. at createTSError (C:\Users\joe\Documents\projects\client1\node_modules\ts-node\src\index.ts:820:12) at reportTSError (C:\Users\joe\Documents\projects\client2\node_modules\ts-node\src\index.ts:824:19) …. I am

Continue reading

TypeError: val.toString is not a function – mysql npm

Issue I use the package ‘mysql’ with NPM on a nodeJS backend and I don’t understand the error message : TypeError: val.toString is not a function at Object.escape (/Applications/MAMP/htdocs/nodeJS_livredor/node_modules/sqlstring/lib/SqlString.js:52:33) at Object.objectToValues (/Applications/MAMP/htdocs/nodeJS_livredor/node_modules/sqlstring/lib/SqlString.js:180:89) at Object.escape (/Applications/MAMP/htdocs/nodeJS_livredor/node_modules/sqlstring/lib/SqlString.js:54:26) at Object.format (/Applications/MAMP/htdocs/nodeJS_livredor/node_modules/sqlstring/lib/SqlString.js:100:19) at Connection.format

Continue reading