npm Questions
2
I try use npm 7 workspaces
"workspaces": {
"packages": [
"packages/apps/*",
"packages/components",
],
and after install I see in my package.json
"...
Bebop asked 13/10, 2021 at 10:13
7
Solved
The symlink support is still not officially available in react-native https://github.com/facebook/metro/issues/1.
It's actually possible to use symlinks in the package.json with npm (not yarn)
...
Calli asked 2/5, 2019 at 13:27
6
Backend: Express server, with npx create-express-api backend
Frontend: Next.js, with npx create-react-app frontend
I have implemented these command in my root folder and trying to run npm sta...
Mureil asked 24/12, 2020 at 10:20
2
I am trying to use the NPM version of canvas as well as an NPM module to merge images. However it Canvas seems to not want to load. I get an error everytime I require it and run the script.
This an...
Syncretism asked 13/1, 2021 at 15:24
1
Polyfill.io is malicious: https://dev.to/snyk/polyfill-supply-chain-attack-embeds-malware-in-javascript-cdn-assets-55d6
I now need to find it my codebase:
I used: grep -r "polyfill.io" to...
Caecilian asked 27/6 at 8:10
5
Solved
I tried to delete npm_cache and install the latest version of npm, but it didn't work. I have no additional ideas because I searched all the similar questions with the same error. I can't even npm ...
Fitzger asked 14/2, 2021 at 23:2
12
I'm trying to build an app using Laravel 9 and ReactJS with vite js. I tried following command to build.
npm run dev
But I'm getting following errors,
GET http://[::1]:5173/resources/css/app.css...
1
I want to create a TamperMonkey script that parses some ABI data from EtherScan.io (See: https://github.com/devedse/DeveEtherscanParser).
I now did some poormans ABI decoding but I found out there...
Subcommittee asked 24/5, 2018 at 21:36
27
When I was trying to create a new react app using npx create-react-app example_app, I get this error
[Your cache folder contains root-owned files, due to a bug in previous
versions of npm whic...
Eckmann asked 21/12, 2019 at 16:15
7
Solved
I'm currently reducing / removing npm warnings on a React site.
A large number of these warnings are caused by the setState function as seen below, being 'unused'.
const [state, setState] = useStat...
Poltergeist asked 14/1, 2021 at 16:13
9
Solved
I created a small JS module which I intend to make an npm package, but for now is just on GitHub. This module is written in ES6 and SCSS, and is thus relying on webpack and babel for transpilation....
Interactive asked 20/5, 2018 at 13:19
7
Solved
I am trying to install Material UI as described on the home page, but I get a dependency tree error:
C:\dev\shape-shop-front-end>npm install @mui/material
npm ERR! code ERESOLVE
npm ERR! ERESOLV...
Kile asked 5/1, 2022 at 2:37
5
When deploying nextjs app to c-panel hosting it asks for entry point of the application which default is app.js. In normal react application it's totally in control but when using nextjs it's not c...
9
Solved
I am trying to update my Angular app from v5 to v6 following this guide.
I have ran all these commands successfully:
npm install -g @angular/cli
npm install @angular/cli
ng update @angular/cli
...
1
I have the following project structure:
workspace_test
│ package.json
│
└───dist
└───libs
└───pkg
package.json
The workspace_test/project.json contains npm workspaces:
{
"name": &quo...
Wamsley asked 5/7, 2023 at 7:8
7
Solved
I installed @vue/cli on my mac, but whenever I type “vue”, my terminal says “zsh: command not found: vue” - How can I fix this problem? I searched similar issues and already spent half a day, but s...
4
Solved
I am new using maven and frontend-maven-plugin. I understand that we can add this code to pom.xml to run grunt for example:
<plugin>
<groupId>com.github.eirslett</groupId>
<...
Angell asked 19/5, 2016 at 17:0
3
Solved
Like week ago I installed local package globaly by command npm i -g path.
It worked fine since today. I tried to use npm i -g path again and i get this error:
npm ERR! code ENOENT
npm ERR! syscall ...
Sluice asked 27/7, 2021 at 7:47
18
Solved
This problem appeared after an update, sudo apt upgrade, on Ubuntu 20.04 (Focal Fossa).
Previously, I worked on versions Node.js v18.0.0 and npm 8.7.0, but after the update there was a problem. I r...
Roadhouse asked 5/7, 2022 at 9:10
3
I'm trying to upgrade my NodeJS 12.22.09 to version 16 or newer, but when I enter the command sudo apt update && sudo apt upgrade it returns this error below:
Preparing to unpack …/12-nodej...
Happily asked 10/8, 2022 at 12:41
19
Solved
I have been trying to resolve this issue for the whole day.
When I run node -v or npm install in cmd prompt, it works absolutely fine. But when I run the same commands in Powershell, it gives the...
Ikon asked 19/5, 2015 at 6:52
20
The error occurs after following steps in windows:
Open one terminal: npm run start:dev
Open another terminal: ng build --watch
However, it works in Mac by using the above commands. Part of the...
8
Solved
6
When I try to compile React component with Laravel Mix in my Laravel project it raises error 2 lifecycle.
E:\MY PROJECTS\Samriddhi Institute> npm run dev
@ dev E:\MY PROJECTS\Samriddhi Institu...
Maury asked 17/9, 2021 at 6:14
7
When compiling VSCode extension then typescript persistently complained
error TS2307: Cannot find module 'vscode'.
Installation npm install vscode or magic links never helped.
Strace provid...
Hooves asked 20/3, 2018 at 11:44
© 2022 - 2024 — McMap. All rights reserved.