Comments (8)
I received the same error when I had an extra comma in my json file. Use a json validator to make sure you don't have any errors . My error was in the username mappings.
from node-gitlab-2-github.
@jamesmundia Have you found a fix for that?
from node-gitlab-2-github.
@markustenghamn thanks for the tip - I'll try that out when I'm at the console later. @spruce no fix yet, but will update after testing tonight
from node-gitlab-2-github.
Still not seeing success, even after running it through a validator. Anybody want to post a successfull settings file, I can see where I'm messing up?
from node-gitlab-2-github.
Will try it and report back with an example settings file
from node-gitlab-2-github.
{
"gitlab": {
"url": "https://gitlab.com/",
"token": "My Token",
"projectID": 3161232
},
"github": {
"url": "api.github.com",
"pathPrefix": "",
"owner": "piceaTech",
"username": "spruce",
"password": "Password",
"repo": "testProject"
},
"usermap": {
"Spruce": "spruce"
},
"projectmap": {
"Spruce/TestProjekt": "piceaTech/testProject"
}
}
you can see the original here: https://gitlab.com/Spruce/TestProjekt and the copy here: https://github.com/piceaTech/testProject
from node-gitlab-2-github.
Finally got it running!
In the sample settings, URL is beneath token for GitLab. I reversed these on my successful settings file.
I also had to run a curl command to get the correct project ID from GitLab, found on SO: http://stackoverflow.com/questions/39559689/where-do-i-find-the-project-id-for-the-gitlab-api
(I had not done this before to get the proper projectID)
There we some extra commas for me, even after these edits, and after those were removed it worked.
from node-gitlab-2-github.
Glad that it finally worked 👍
Btw you also could have used this tool to do the ID finding (see updated docs)
from node-gitlab-2-github.
Related Issues (20)
- Error with `npm i` on Ubuntu 18.04 HOT 2
- some pulls/issues are not migrated on resume
- Migrate merge requests with deleted branches
- Not able to find issues in Github even after migration successful HOT 2
- 'settings' only refers to a type, but is being used as a value
- Label and issues not migrate
- Filter gitlab objects with functions
- Getting a 403 on write to github HOT 1
- You have to enter your GitLab private token in the settings.js file.
- The 'master' branch exists on GitLab but has not been migrated to GitHub
- Feature request: setup repository mirroring from GitLab to GitHub
- Creating issue fails if assigned and mapped user has no write access to repo HOT 1
- Migration of releases fails if release body is null
- "Abuse detected" slowdowns and possible solution HOT 2
- Could not download attachment
- Migrating multiple gitlab repos to Github HOT 2
- VCS migration
- ERROR: "remote: fatal: fsck error in packed object" when pusing to github HOT 1
- RequestError [HttpError]: request to https://api.github.com/repos/{owner}/{repo} failed, reason: connect ETIMEDOUT
- Bug: Migrating repos with a lot of issues and attachments corrupts attachments on upload to s3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-gitlab-2-github.