693 questions
0
votes
0
answers
36
views
Nx run monorepo with custom command
How do we start the development server for a monorepo app using a custom script from different pacakge, which will be typically used to run the app
this is package.json at root level
{
"name&...
0
votes
0
answers
19
views
npm build error : UnhandledSchemeError: Reading from "C:Userschinnap1mdc-testappsmfesrcindex.tsx" is not handled by plugins (Unhandled scheme)
ERROR in C:Userschinnap1mdc-scorecardappsmfesrcindex.tsx
Module build failed: UnhandledSchemeError: Reading from "C:Userschinnap1mdc-testappsmfesrcindex.tsx" is not handled by plugins (...
1
vote
0
answers
81
views
npm start not functional but running the same node command works?
I have a firebase/react program that I am sharing with some friends via github for a project. All of their devices do not have the same issue that I am experiencing.
In the scripts portion of my ...
-1
votes
1
answer
466
views
React-Native: npm start - Cannot react properties of undefined
i setup a new react-native project (0.78.0). If i start the app in xcode (ios) i get the message "Connect to Metro to develop JavaScript".
If is will run a metro manually (npm start), i get ...
-1
votes
1
answer
45
views
Unable to start React App. Error "Cannot find module 'npm-cli.js'"
I am newbie to react technology and I faced an error while running a react app:
I have created demo react app without any additional addons and then I am trying to "npm start" - below error ...
0
votes
0
answers
73
views
NPM not installing and throwing errors when installing node.js
I've installed node.js several times in my system and is installed successfully but npm is throwing errors like:
I've tried a lot to fix this, please help!
The CMD error:
Microsoft Windows [Version ...
0
votes
2
answers
577
views
Cannot find module 'ajv/dist/compile/codegen when npm start
[email protected] start
react-scripts start
Cannot find module 'ajv/dist/compile/codegen'
Require stack:
0
votes
1
answer
312
views
azure-functions-core-tools@4 error: Cannot find module Users\tmfamin\Source\Repos\nodeV4Prog\node_modules\azure-functions-core-tools\lib\main.js
I installed [email protected] in my windows machine manually as npm install was failing due to certificate issue. However when I try to run my project, I am getting the below error.
...
0
votes
1
answer
166
views
npm-run-script with commander.js
Good day. The question is simple, how to pass flags/options to npm-run-script and read them using commander.js.
Example:
package.json
{
"scripts": {
"start": "node index....
1
vote
0
answers
270
views
new-relic's browser-agent npm package can't be found
I'm following the instructions mentioned in https://www.npmjs.com/package/@newrelic/browser-agent#new-relic-browser-agent; unfortunately, when my application reaches the import statement, it fails.
...
0
votes
2
answers
76
views
why npm version doesn't work on terminal?
C:\Users\raffi> node -v
v20.16.0
C:\Users\raffi>npm -v
'CALL "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\\node_modules\npm\bin\npm-prefix.js"' n’est pas ...
0
votes
1
answer
267
views
What is exact difference between npm run android and npm start/npm run start in react native application?
I am somewhat new to React Native and have a question about the differences between the commands "npm run android" (same as "npm react-native run-android") and "npm run start&...
0
votes
0
answers
62
views
Docker compose creates Reactjs container, but does not run it
Update - Solved (21 Jul 2024)
I have since debugged the above and managed to configure my frontend DockerFile and compose.yaml to allow me to run my spring-react app in a single docker compose up --...
2
votes
1
answer
157
views
node.js error when using: npm run dev, TypeError: require(...) is not a function [closed]
im working on my first project, added a database and im trying to make a login page.
while i try to run it using npm run dev. it gives me an error exact error is at the bottom
I dont know what causes ...
0
votes
0
answers
344
views
Module not found: Can't resolve 'devlop' in '...\node_modules\hast-util-to-jsx-runtime\lib'
I'm trying to build a web chat app with React and getStream.io, and I get the error message in the title when I try to run npm start. This is after running $env:NODE_OPTIONS="--openssl-legacy-...
1
vote
0
answers
122
views
npm install failing for multiple reasons
when running npm i --force i get this errors
or the process will take more than 1 hour
i have used UK, Germany and other countries vpn
npm ERR! Error: Cannot find module 'D:/node_modules\check-more-...
0
votes
0
answers
454
views
Error URI malformed when running Remix application
I am trying to run Remix app locally.
When running npm run dev I get the following error:
12:53:02 PM [vite] Internal server error: URI malformed
at decodeURI (<anonymous>)
at ...
0
votes
0
answers
104
views
running gulp project throws library not found
im trying to run a node.js project which have gulp configuration, when running npm build error is thrown that gulp-imagemin library is not found, below is the error stack trace and Dockerfile
error ...
1
vote
0
answers
155
views
Npm is not starting 'CALL "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\\node_modules\npm\bin\npm-prefix.js"'
Please suggest below error for npm start
PS C:\JsonServerSetup> npm start
start
json-server --watch db.json --port 8000
npm error code ENOENT
npm error syscall spawn C:\Program Files\nodejs
npm ...
-2
votes
1
answer
187
views
React native is not running on Mac
Showing error after running "npm start" command
I created a bare reactive native project and tried to run it without any changes done in the project. After running the project it showed me ...
0
votes
0
answers
60
views
Running angular project deletes .angular/cache files which for some reason are being detected by .gitignore but shouldn't be
When I run the project on my local machine with 'npm start' it deletes 1459 files from .angular/cache folder and all those changes are being detected in github even though in the ignore file I have ....
0
votes
0
answers
348
views
npm ERR! ENETUNREACH when i try to install dependencies using " npm i "
everything was working fine but yesterday when I try to create a new project using npx create-react-app appname OR try to run current project by installing dependencies ' npm i ' i face this error.
...
0
votes
0
answers
56
views
I'm cetting an error while creating a React app: "enoent request to https://registry.npmjs.org/create-react-app failed"
Versions
node v20.11.1
npm 10.2.4
Error:
PS C:\Users\HP\Desktop\react js> npx create-react-app firstweb
node+×
X
npm ERRI code ENOENT
npm ERRI syscall getaddrinfo
npm ERRI errno ENOENT
npm ...
-2
votes
3
answers
147
views
How can i fix the npm start error problem in react?
After installing react, I'm trying to use the command:
npm start
to run react app but it gives me this error.
code NOENT
0
votes
1
answer
640
views
Formio TypeError: Cannot set property navigator of #<Object> which has only a getter
I'm trying to build formio manually using npm, node, mongodb as given in the instructions.
I have started the mongodb server, used npm install to install required packages, then encountered this error ...
1
vote
0
answers
66
views
'npm run start' persists indefinitely while attempting to start the Node.js application on a windows server from Azure DevOps release pipeline
When using an Azure DevOps ci-cd release pipeline to deploy, the npm custom command task npm run start persists indefinitely while attempting to start the Node.js application on a Node.js Windows ...
4
votes
3
answers
4k
views
Problem during ReactNative project deployment for iOS
I'm developing a brand new iOS/Android app and I want to use a single code, so I decided to use ReactNative for my pourpouses, and I want to build myself the executable instead of using something like ...
1
vote
1
answer
771
views
Can't run `npm start` from VS Code terminal, but it works from `cmd`
My package.json:
{
"name": "my-app",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
...
1
vote
0
answers
65
views
Editing the HTML file makes a "localhost refused to connect" error after running "npm-start"
I'm a beginner building a frontend-based website using Visual Studio Code and parcel from the NPM.
When I use "npm start" command - first everything works fine: editing the javascript and ...
0
votes
1
answer
168
views
Diff nodejs version that I never installed
When I type npm start I get this error:
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: '...
0
votes
1
answer
48
views
npm start error across all react projects on my PC
Issue with npm start in React Project
When attempting to execute npm start in any of my React projects, I consistently encounter the following error:
Expected Behavior:
I anticipated the React app to ...
0
votes
2
answers
1k
views
npm start fails, lodash type errors
I can't run my project locally and assume broken dependencies but can't figure out a solution.
I received already errors when trying to install the node modules so I changed following dependencies:
&...
0
votes
0
answers
26
views
I am trying to use npm start on Mac terminal and I am getting this error call command not found
Hello I am getting this error, I have tired almost everything from online source but nothing is working out, any help will be appreciated, thanks
enter image description here
Hello I am getting this ...
0
votes
1
answer
2k
views
Deploying Typescript + Angular app to Azure App Service via Azure Devops pipeline (ng modue not found)
I have a Typescript plus Angular app that works great locally.
I'm trying to set up a deployment pipeline on Azure DevOps that builds and releases to App Service (Linux Node.js web app).
The plumbing ...
0
votes
1
answer
2k
views
npm start only opens on port 3000 when package.json specifies different port
I have a react project that has multiple build scripts that work on windows machines but on my mac when I run npm start it ignores the package.json and opens on port 3000.
"start": "...
0
votes
0
answers
119
views
how to resolve npm start error in react app
After i ran
npx create-react-app ./
using my vscode integrated terminal all dependencies and node_modules are installed but when i ran
npm start
it doesn't work instead i get this error
> ...
0
votes
1
answer
65
views
I am facing an issue in start a git repo in my local host sever
How to start react repo project server in local host
PS C:\Users\ERAFZ\OneDrive\Desktop\New folder\e-commerce_React>
npm start
[email protected] start
react-scripts start
'react-scripts' is not ...
0
votes
0
answers
115
views
Localhost 8080 will not update on VSCode save
I've never encountered this before. I startup localhost: 8080 using npm start, and it loads just fine. However, when I edit my code and save, the browser page isn't updated either automatically nor on ...
0
votes
0
answers
31
views
I have encounterd a problem when trying to execute the command npm run in vs code
when I try to run npm start command I get this errorHow the error looks
I am using a plugin in the markdown app Obsidian. The plugin https://github.com/oleeskild/digitalgarden
How can I fix this error?...
0
votes
1
answer
174
views
start command to simultaneously run next and yjs websocket in production
I implemented tldraw and yjs in nextjs and the command and the dev command I use to run it in development is
"concurrently "next" "HOST=localhost PORT=1234 npx y-websocket" --...
-1
votes
2
answers
403
views
React Router <Link> Not Working when running npm build and serving, but is when running npm start
Edit:
Just tested this example with serving build, and it works fine...
Minimally reproducible example:
https://codesandbox.io/p/sandbox/serene-haze-6fxg6l?layout=%257B%2522sidebarPanel%2522%253A%...
0
votes
0
answers
76
views
npm run dev | npm start
My application will run when I start with "npm run dev" in the terminal. But when I enter "npm start" it says, ERR start no found.
So, I created a procfile and added exactly web: ...
1
vote
0
answers
81
views
How can I easily set up a MERN stack with existing code?
I am attempting to complete a website for my senior project and wish to develop a MERN stack on Ubuntu as I was told to "pick something I have never worked with before that will help in the job ...
1
vote
1
answer
1k
views
NPM version is not being show
After the installation of Nodejs(20.9.0) on my laptop, whenever I am checking for node version in my cmd it shows the correct version but on checking for the npm version, it is throwing an error which ...
1
vote
1
answer
277
views
Node JS Cannot Use Port Other Than 8080
I was trying to run npm server on port other than 8080, but it always run back at 8080
example as below, happened similar in many/every method I tried.
$ npm start -- --port 3000
> movie-plus-...
1
vote
1
answer
505
views
React npm start Fatal Error when starting an app that was working fine before laptop crashed
My react project was working fine, my computer crashed (screen faded like it was turning off mid-typing which it has done before). Now when I try to run 'npm start' I get the Fatal Error in the ...
0
votes
2
answers
1k
views
I am trying to run npm start and want to run my react app but it's giving me error
It is giving me this error
saksh@DELL MINGW64
$ npm start
[email protected] start
react-scripts start
npm ERR! Cannot read properties of undefined (reading 'stdin')
npm ERR! A complete log of this run ...
0
votes
1
answer
1k
views
When i started the npm facing the issue with the android studio with the following error 'The emulator is failing quit before it finished opening'
When ever i started the npm start in VS code, and the metrobundler got started. The VS code started showing error
Error: The emulator (Galaxy_Nexus_API_31) quit before it finished opening. You can ...
1
vote
1
answer
877
views
Error: Cannot find module when path contains spaces on Windows in Node.js
I'm encountering an issue when trying to run an npm script with a path that contains spaces on Windows. The error I'm getting is as follows:
E:\A B C\ny-project>npm start
> [email protected] ...
-1
votes
2
answers
339
views
npm start failed at start: `react-scripts start`
I was trying to push to git but my files were too large. Tried removing the node_modules folder and then running npm start but now I am getting this error:
Invalid options object. Dev Server has been ...