Open DawMatt opened 2 years ago
The same error was encountered with yarn start:
Hi, @DawMatt Have you solved the problem now?
@guoqqqi , sorry, no. I've been trying this project on and off for more than a year now ( https://github.com/Azure/API-Portal/issues/21 ) and still the wiki's basic instructions for installing locally don't work.
@guoqqqi , actually I retested tonight after upgrading from node v14 LTS to v16 LTS. This seems to be behaving better on my Mac. Might be worth trying if you are running an older version of node. The documentation indicates this project requires a minimum of node v10 but that wiki page hasn't been updated in more than 15 months so it could just be out of date.
Hi, @DawMatt Sorry, I upgraded my node from v14.18.0 to v16.16.0 and reused yarn start and got the same error.🥲 I would like to know how it runs and what the difference is between https://github.com/Azure/api-management-developer-portal. I am researching their functions
@guoqqqi , in my case I had to rerun npm install
before rerunning npm start
. After doing both of those steps the app seemed to behave better. I'm assuming yarn would also require you to do both before the app would behave.
I'm also curious about both of the projects. Docs @ Microsoft seems to have tutorials referring to the other project but I can't find any information about how the two projects compare. Strangely enough while the other project seems more up to date than this I had trouble running it with both v14 LTS and v16 LTS. The only one I can get running right now is this one with v16 LTS.
Hi, @DawMatt Thanks for the detailed answer, it worked fine when I ran the new repository. https://github.com/Azure/api-management-developer-portal
Installs/deployments no longer seem to be working. They typically complain about apim-developer-portal being missing:
These errors stop any deployments from working, and the deployments are being performed in alignment with the wiki.
The wiki contains "Customize the site" steps ( https://github.com/Azure/API-Portal/wiki ) as follows:
At step 2.b the following warning is returned:
At step 2.b the following error is returned, and the website refuses to accepted connections:
Similarly the "Advanced deployment options" section on the same page contains the following instructions:
The
npm run publish
command returned the following:Can you please help?