Command not found for react-native and create-react-app(Mac OS)

I think I've broken my node/react-native/react PATHs/installation/links and since yesterday I'm trying to figure out what to do. The errors are: zsh: command not found: create-react-app zsh:...

npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY

I am trying all the ways of creating react application. I have tried with maven and now i am trying with crate-react-app build system from Facebook Incubators. When i tried to run the command...

Installing npm package fails with 404

Using the command prompt, I am trying to install angular CLI and it fails. I have npm version 5.5.1 and node version v8.9.1. I am trying to install angular cli using the command npm install -g...

cross platform "rm" command

I currently have the following script in my package.json for deleting all ".js" files in my bundles folder for when I run "npm run build". It works fine when running it in dev servers but breaks...

create react app not picking up .env files?

I am using create react app to bootstrap my app. I have added two .env files .env.development and .env.production in the root. My .env.development...

What could cause an error related to npm not being able to find a file? No contents in my node_modules subfolder. Why is that?

I'm trying to run npm install in the angular project folder I got from ASP.NET Boilerplate and I'm getting an error that is "related to npm not being able to find a...

How to build a docker image from a nodejs project in a monorepo with yarn workspaces

We are currently looking into CI/CD with our team for our website. We recently also adapted to a monorepo structure as this keeps our dependencies and overview a lot easier. Currently testing etc...

Could not find module "@angular-devkit/build-angular"

After updating to Angular 6.0.1, I get the following error on ng serve: Could not find module "@angular-devkit/build-angular" from "/home/Projects/myProjectName". Error: Could not find module...

Cant launch chrome in docker linux container

I have an asp.net core application that uses the jsreport nuget packages to run reports. I am attempting to deploy it with a linux docker container. I seem to be having trouble getting chrome to...

Vue invalid host header

Don't know why 2 days ago my projects ( created via vue create ) stopped working - in Chrome i get Invalid Host Header and WDS Disconnected errors. In cmd everything compiles properly( npm run...

NG Build fails in Azure Pipelines with NPM error 134

Approx 50% of my hosted builds are failing with npm error 134. I am building the same commit with the same build definition using hosted vs2017. I am building an Angular Application using the...

npm run serve gets hang on 98% while building

I'm working on a project using vuetify. I was using "npm run serve" command to build and run a live server. it was working all good until all of sudden my project stopped building. every time i...

Cannot fix "Unexpected token name «i», expected punc «;»" from UglifyJs

I have created a react app with a custom next server server.js: const { createServer } = require('http'); const next = require('next'); const app = next({ dev: process.env.NODE_ENV !==...

Why "Watchman crawl failed" error in react-native immediately after updating to macOS catalina?

Trying to run react-native run-ios or build RN project from xcode, as soon as metro bundler starts, this error appears in the terminal: Loading dependency graph...jest-haste-map: Watchman crawl...

React-Native: Error: Failed to install CocoaPods dependencies for iOS project, which is required by this template

While executing npx react-native init MyProject I ran into the following error: ✖ Installing CocoaPods dependencies (this may take a few minutes) error Error: Failed to install CocoaPods...

Task 'installDebug' not found in project ':app' - run-android after creating project

After creating a react native project, I tried to run it on my android device. I enter adb devices into the terminal, I saw my device. I ran react-native run-android. And after a while Task...

Nextjs hot reloading taking 8-10 secs on every change of tailwind css

I am learning Nextjs and trying to use tailwind css with it for the first time. I notice that every change I make to the index.css file on the class selector with @apply directive of tailwind is...

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)

I understand there are many similar questions. However, I'm still new to MERN and I am looking for a simplified answer to this problem. I'm following a tutorial on the MERN stack, the application...

Error: Unable to resolve module 'XXXXX' could not be found within the project

I'm keep getting this error whenever I try to install any npm package on my windows 10 for android. It shows the package added in android studio and node_modules as well. However when i import the...

Azure DevOps failing on "npm install"

We have a CD/CI Azure DevOps build pipeline that stop working all of a sudden today. It has been invoked successfully in our pipeline for months on end. The component that fails is the "npm...

Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65

I am new in react native development. I am using new MacBook Air (M1, 2020) with M1 chip. I have Installed the dependency below: Node = v14.15.3 Npm = 6.14.9 Homebrew = 2.7.0 react-native-cli:...

Vetur can't find package.json

I was writing code for my app with Vue and everything worked perfectly. Then I started to create child components and I could not refresh the localhost anymore. Now it says: "Vetur can't find...

Moderate severity vulnerabilities found after running npx create-react-app

I have installed the latest LTS Version: 14.17.0 (includes npm 6.14.13) of 32-bit on Windows. After the node installation, I've installed create-react-app module globally using npm i...

Laravel application hang on Google Cloud Run but runs fine on home setup

I am testing out Google Cloud Run as a platform to run a new project. Project is developed using NodeJS and Laravel. Created a docker images based on php-fpm. This image runs fine on my dev...

How can I fix "Failed to compile src/index.js 'firebase' is not defined no-undef"?

I am trying to use a React web app to read and write stuff in a Firebase realtime database. Every time I run "npm run start", I get this error message. Failed to compile src/index.js Line 25:1: ...

Parsing error: Cannot find module '@babel/preset-react'

I have a React project. In the first line in every .js file where I import React, I am getting this error: Parsing error: Cannot find module '@babel/preset-react'. package.json { "name":...

ESlint - Error: Must use import to load ES Module

I am currently setting up a boilerplate with React, Typescript, styled components, webpack etc. and I am getting an error when trying to run eslint: Error: Must use import to load ES Module Here...

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in package.json

How can I fix 'Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in package.json'? How can I fix this error? I've been trying for awhile and had help and we can't figure it out. I...

ANY ng command will fail when trying angular due to invalid character error in ng file

The \AppData\Roaming\npm\[email protected]\cli\bin\ng.js file cannot be opened and it gives an error whenever I try to use an ng command anywhere, be it in an angular project or elsewhere. The...

How to add Autocomplete, Syntax Highlighting using Antlr4 grammar file functionality to Monaco Editor in my React application?

I am using the Monaco Editor in a react app in the following way: My monaco-editor.jsx looks like - import MonacoEditor from 'react-monaco-editor'; return ( <Flex> <Flex.Box> ...