All Questions
Tagged with npm npm-scripts
703
questions
0
votes
0
answers
34
views
Changing the "main" in package.json for one specific (expo) script
I have a simple react-native library and I am trying to make it so that I can easily test the code locally.
I am using expo for local tests, and the input file for testing with expo is index.js.
...
0
votes
0
answers
45
views
Error: Cannot find module 'C:\Program Files\nodejs\node_modules\npm\bin\node_modules\npm\bin\npm-prefix.js'
i recently installed nodejs on my laptop running on win 11 . node -v ran perfectly . but tried running the script npm --version its showing this error
PS C:\Users\saikat mandal> node
Welcome to ...
-1
votes
0
answers
17
views
issue in using bootstrap in vscode
npm: The term 'npm' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct ...
0
votes
1
answer
34
views
WebStorm IDE 'Run script' runs npm but doesn't successfully execute .js file
New to Node, trying to follow a basic tutorial to launch a web browser. I'm using WebStorm as my IDE with node v22.3.0 and npm v10.8.1 and both commands are recognized by the terminal. The scripts ...
3
votes
2
answers
185
views
Running npm run dev shows an error called 'The requested scope is invalid, unknown, or malformed.'
I'm learning how to create apps on Shopify and need some help.
Whenever I run, npm run dev and click any key, it shows this even though I'm already logged in to Shopify.
npm run dev
> dev
> ...
-1
votes
1
answer
69
views
NodeBB installation: SyntaxError: Unexpected token?
https://docs.nodebb.org/installing/os/ubuntu/
I am following the NodeBB documentation(link attached above) to setup nodeBB locally on my machine - However, I am stuck at "Installing nodeBB" ...
0
votes
0
answers
159
views
npm is not working and the version is also not showing in vs code
PS C:\Users\USER\OneDrive\Desktop\New folder (3)> npm --version
node:internal/modules/cjs/loader:1148
throw err;
^
Error: Cannot find module 'C:\Users\USER\AppData\Roaming\npm\node_modules\npm\bin\...
1
vote
0
answers
92
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 ...
0
votes
0
answers
65
views
Lifecycle script 'build' failed with errors: npm build error
error message
I am getting this error not sure why ? In morning when I created build it was working and in afternoon I was facing this issue. while I run npm build first time I saw texted that npm ...
-2
votes
4
answers
198
views
How to know if my node module is being installed in dev mode or in dependency mode
There are two different situations where you run npm install:
You run npm install in your project's root directory
Someone added your module as a dependency of their own project and they run npm ...
1
vote
1
answer
92
views
npm install fails with 'ENOENT: no such file or directory, mkdir' error
`
PS F:\our company\Triyotech India\client> npm i
npm ERR! code ENOENT
npm ERR! syscall mkdir
npm ERR! path \?
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, mkdir '\?'
npm ...
0
votes
0
answers
38
views
what is the solution to make sense npm fails to install error
I need to do photo tagging work, I am trying to install make-sense for this, but I am doing the steps mentioned in the installation section, but npm gives an error, I could not find the reason, the ...
0
votes
0
answers
62
views
Can I use jsdoc.cmd, from a script of package.json?
This is the first time that I try to generate a doc from js.
It looks like on windows, jsdoc relies on a ps1 files.
As I am not security focused enough lately to allow powershell scripts on my ...
0
votes
0
answers
13
views
The error message indicates a dependency conflict related to the versions of React and Material-UI being used
Log files:
C:\Users\mahes\AppData\Local\npm-cache\_logs\2024-02-11T14_48_13_184Z-debug-0.log
# npm resolution error report
While resolving: [email protected]
Found: [email protected]
node_modules/...
0
votes
0
answers
27
views
How to create card using tremor, and i got this error?
'use client'
import { Card, Divider, Subtitle,Text } from "@tremor/react";
export default function Home(){
return(
<main>
<Card>
<Text&...