SAP / ui5-migration

ARCHIVED - A tool to support the migration of UI5 projects by adapting code for new UI5 framework versions.
Apache License 2.0
37 stars 9 forks source link

Can't install ui5-migrate #3

Closed NoelHendrikx closed 5 years ago

NoelHendrikx commented 5 years ago

I tried to npm install ui5-migration --global, but npm reports: npm ERR! code E404 npm ERR! 404 Not Found: ui5-migration@latest

Also npm install --global @ui5/migration responds with a: npm ERR! code E404 npm ERR! 404 Not Found: @ui5/migration@latest

petermuessig commented 5 years ago

Hi Noel,

there is an issue currently in the documentation after we renamed the module using the @ui5 scope. We will update the documentation soon with the following pull request: https://github.com/SAP/ui5-migration/pull/2.

Regarding the release to the NPM registry, we are about to prepare this. For the time being, please use linking locally to use it.

It would be great to get feedback on the tooling. We will initially collect and consolidate all feedback to plan the next iteration of the migration tools.

Thanks and best regards, Peter

NoelHendrikx commented 5 years ago

Hi Peter,

How do I link it locally? By cloning the repo into my workspace (node_modules folder)?

Cheers,

Noël

petermuessig commented 5 years ago

Hi Noël,

just run:

npm i
npm link

This should link the global executable ui5-migration to this project.

HTH and BR, Peter

NoelHendrikx commented 5 years ago

After cloning this repo I ran npm i and npm link in the cloned repository.

In my ui5 project I added a task in the package.json: "migrate": "ui5-migration migrate",

And ran npm migrate :-)

8 files changed, deep diving into the results now 👍