All Questions
639
questions
0
votes
1
answer
23
views
Can't install Cordova plugin from GitHub
I'm new to Cordova and I tried to add some packages to my project. I needed to install one specific package from GitHub, so I tried using following:
cordova plugin add https://github.com/acipher/pos
...
0
votes
2
answers
34
views
GitHub Actions: npm publish fails with 'Permission denied (publickey)' error for public repository
I'm trying to publish an Angular library using GitHub Actions, but I'm encountering an error related to SSH authentication. Despite my repository being public, the npm publish command fails with the ...
0
votes
1
answer
35
views
401 Unauthorized - authentication token not provided, GitHub npm
I have to download a package from my-org with GitHub actions for Node projects.
I have an action like this to make an .npmrc file:
> ${{ inputs.npmrc_path }}
echo "@my-org:registry=https://npm....
0
votes
0
answers
21
views
Gitlab Access Token Issue
Here's detailed explanation of the problem:
I have a gitlab account: user
I created a private repo in it:repo-1 and did npm publish.
In the package.json, i made the name as @user/repo-1 ( scoped it )
...
2
votes
0
answers
37
views
npmrc same scope multiple projects setup
I have a gitlab main folder where i have multiple repos so one scope and multiple projects...now there are two projects A and B where I have specified the name to be: @scope/A in project A's package....
0
votes
1
answer
58
views
GitHub Action workflow to build and publish Angular 18 app to GitHub Pages fails to deploy
I'm setting up custom GitHub Action workflow to publish Angular app to GitHub Pages. The workflow runs without errors but the result is 404 page.
name: Node.js CI
on:
push:
branches: [ "...
0
votes
0
answers
15
views
PM2 starts correctly in GitHub Actions workflow but not in SSH session – how to ensure consistent PM2 context?
on github actions this file is executing successfully by starting pm2 instance as service but when in login to my ssh server and run command "pm2 ls" it does not list any pm2 instance as ...
0
votes
2
answers
33
views
How to manage npm packages in my repository
I wanted to make a discord bot so I used npm for the first time, I created a package file and installed discord.js but now I have 3000 files that i could sync in my repository, it seems like a stupid ...
0
votes
0
answers
15
views
getting sh: create-###-app: command not found when trying to build an npx create command
Hello Im trying to build out an npx create command but i am getting an error when running the command npx @hydapps/create-matchstick-app no matter what i try i get command not found
here is the ...
0
votes
0
answers
34
views
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined at Object.join (node:path:1175:7) at getCacheDir
this is MERN with Vite project, Mac
node -v 20.15.0
npm -v 10.8.1
when I used npm run deploy, the error shows :
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. ...
0
votes
1
answer
47
views
How to bump NPM semantic version and create a tag using Pull Request Labels with GitHub Actions workflow
I've set up a GitHub Actions workflow that triggers whenever a pull request is created into the develop branch. The purpose of this workflow is to automatically bump the npm version of my Angular ...
0
votes
1
answer
105
views
publisher-github- Electron forge project doesn´t recognize environment variable GITHUB-TOKEN
I have already defina my .env file wiht the correct token but when i try to plubish my package in github this error ocurrs
An unhandled rejection has occurred inside Forge:
Error: Please set ...
0
votes
0
answers
30
views
package.json dependency of Angular lib via github not building
I have my package.json file dependency set like this:
"dependencies":{
"sharethis-angular": "github:crumbyshirt/sharethis-angular#npm-build",
}
The library has a '...
1
vote
0
answers
167
views
npm UNABLE_TO_VERIFY_LEAF_SIGNATURE
Yesterday I cloned a Github repository to my Webstorm (I have a Student Pack license). Then, I clicked the button " Run 'npm install' ". After that, this error appeared:
...
0
votes
0
answers
29
views
How to upload React-Django project on GitHub
enter image description here
My website Backend on Django and the Frontend on React
Backend
enter image description here
Frontend
enter image description here
When me try to upload the project on ...