accordion (ng2-accordion) in angular2

Issue Am using accordion with angular-2,but its not working properly,its throwing an error 404, its a third-party plugin named “ng2-accordion”. Path of the package that am giving is correct. Actual bug in the inspect is given below. GET http://localhost:3000/ng2-accordion/ng2-accordion 404

Continue reading

Error in starting the lite-server using NPM

Issue npm ERR! code EJSONPARSE npm ERR! file C:\Users\thehitmanranjan\Desktop\git-test\package.json npm ERR! JSON.parse Failed to parse json npm ERR! JSON.parse Unexpected string in JSON at position 240 while parsing ‘{ npm ERR! JSON.parse “name”: “git-test”, npm ERR! JSON.parse “version”: “1.’ npm

Continue reading

MSBUILD : Configuration error MSB4148 "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0" has zero length

Issue I’m trying yo install electron-chromedrive by using yarn, so by doing this command: yarn add –dev electron-chromedriver –network-timeout 100000 But it gives the following error: MSBUILD : Configuration error MSB4148 "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0" has zero length Precisely: gyp ERR! build error

Continue reading

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

Can't publish to npm

Issue I do npm publish and goes through all the checks but then it returns the following\ 48 error code E403 49 error 403 403 Forbidden – PUT https://registry.npmjs.com/tictactoe – You do not have permission to publish "tictactoe". Are you

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