Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example Browser Login.html page http://localhost:8000/dist/workfront.js 404 Not Found #576

Closed
Micchavez opened this issue Jul 31, 2019 · 2 comments

Comments

@Micchavez
Copy link

Steps to reproduce:

git clone git://github.com/Workfront/workfront-api.git
cd workfront-api
npm install
npm start
go to http://localhost:8000/examples/browser/login.html

Then look in the console, it says: Failed to load resource: the server responded with a status of 404 (Not Found)

Dont see workfront.js in the dist directory:

workfront-api.cjs.js
workfront-api.cjs.js.map
workfront-api.es.js
workfront-api.es.js.map
workfront-api.umd.js
workfront-api.umd.js.map
workfront-api.umd.min.js
workfront-api.umd.min.js.map

Changing the script tag to: dist/workfront-api.umd.js makes the 404 go away.

Now the error is: Api.ts:750 POST http://localhost:8080/attask/api/v5.0/login net::ERR_CONNECTION_REFUSED

@MrRoyce
Copy link

MrRoyce commented Aug 12, 2019

I am also not able to run the examples. If I change the script tag to workfront-api.umd.js and run the login example, I get a POST /attask/api/v5.0/login Error (404) Not found

Any help with the examples is appreciated.

@bhovhannes
Copy link
Member

You should have a running Workfront instance at localhost:8080 in order to get example working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants