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

UI doesn't load scripts #201

Open
alexkreidler opened this issue Jan 12, 2021 · 1 comment
Open

UI doesn't load scripts #201

alexkreidler opened this issue Jan 12, 2021 · 1 comment

Comments

@alexkreidler
Copy link

Pulling from master and running yarn dev results in a broken state. Here are some images:

Network and Console tab of DevTools showing 404s for scripts and app resources (click to show details)

allen-ui-console
allen-ui-network

Broken interface in browser

image

I've tried running yarn build and serving that output, and also tried yarn start.

Here's a partially truncated view of tree in the build folder after yarn build.

├── asset-manifest.json
├── images
... a bunch under images
├── index.html
├── papers
│   └── index.html
├── pdf.viewer.js
├── pdf.worker.min.js
├── static
│   ├── css
│   │   ├── reader.css
│   │   └── reader.css.map
│   ├── js
│   │   ├── list.7f1849.js
│   │   ├── list.7f1849.js.LICENSE.txt
│   │   ├── list.7f1849.js.map
│   │   ├── reader.7f1849.js
│   │   ├── reader.7f1849.js.LICENSE.txt
│   │   └── reader.7f1849.js.map
│   └── media
... a bunch under media
├── viewer.css
└── viewer.js.map

The README doesn't outline anything else to do. I'd be happy to try some other steps if anyone has feedback.

I'd imagine this is an issue with Webpack, which could require some intense and painful debugging to get to the bottom of.

Let me know if you need any more details or I can help in another way.

Thanks for this project, it sounds and looks (from what I see so far) quite interesting and useful!

@wjrforcyber
Copy link

Windows 10
npm -v 6.14.14

README surly need more information to guide a new user😂.
And I got a similar "loading issue", after I ran

npm install 
npm start

it shows

i 「wdm」: Compiled successfully.
No issues found.

It just stop there, the browser(chrome) didn't automatically open the app.

After I manually entered
http://localhost:3001/
I can successfully see the app.

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

2 participants