Wildhoney / Magento-on-Angular

Angular.js application using Magento as the backend API
361 stars 120 forks source link

api/public/products not found #100

Open sskhokhar opened 8 years ago

sskhokhar commented 8 years ago

Whenever i try to run node server i come up with this capture error

keyur-iksula commented 8 years ago

It seems like an issue with your configuration file, Can you paste your config.json file here?

sskhokhar commented 8 years ago

Here is my directory structure

capture

Here is my Config file { "socket": { "port": 80, "host": "localhost" }, "magento": { "path": "/xampp/htdocs/Magento-Store", "host": "localhost", "store": 0 }, "api": { "host": "http://localhost/api/public", "provider": "magento" } }

keyur-iksula commented 8 years ago

Change configuration as following. "api": { "host": "http://localhost/Magento-on-Angular/api/public", "provider": "magento" }

or if you have disable SEO friendly url then also include index.php. "api": { "host": "http://localhost/Magento-on-Angular/api/public/index.php", "provider": "magento" }

Let me know if you still facing the same issue.

sskhokhar commented 8 years ago

@keyur-iksula I tried everything but still error that Products not found in api/public/ I cant even see this directory in api/public. Is this directory generated automatically? EVerything runs fine, laravel installation, bower installation, npm install command. But whenever I try to run node server i says that Products not found in api/Public

Please help me sort this out.

vrkansagara commented 8 years ago

same issue facing

aonic commented 8 years ago

There are other closed issues about this same thing. Have you looked at those already? On Tue, Oct 6, 2015 at 8:22 AM Vallabh Kansagara notifications@github.com wrote:

same issue facing

— Reply to this email directly or view it on GitHub https://github.com/Wildhoney/Magento-on-Angular/issues/100#issuecomment-145840770 .

vrkansagara commented 8 years ago

can you reefer me the issue number so I can dig into the code.