ElemeFE / ElemeFE/page-skeleton-webpack-plugin

ERROR: /static/js/bundle.js response.ok() is false

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.8k
Forks
388
PR merge metrics
No merged PRs in 30d

Description

### Description
![image](https://user-images.githubusercontent.com/3975498/44405637-53848b80-a58c-11e8-85bb-ae3a3de4218e.png)
![image](https://user-images.githubusercontent.com/3975498/44405655-626b3e00-a58c-11e8-8e69-97b64dbbecb0.png)

error,response.ok() false
http://localhost:3000/static/js/bundle.js false

### Plugin configration

for example:

```javascript
new SkeletonPlugin({
pathname: path.resolve(__dirname, './shell'), // the path to store shell file
staticDir: path.resolve(__dirname, './build'), // the same as the `output.path`
routes: ['/index', '/user', '/tool' ], // Which routes you want to generate skeleton screen
}),
```

### Versions

- Page Skeleton: v0.10.12
- Webpack: v3.8.1

Contributor guide

Open the contributing guide

Research direction

Reproduce the report with Page Skeleton v0.10.12, Webpack v3.8.1, and the shown SkeletonPlugin configuration, then inspect why /static/js/bundle.js returns response.ok() false. Done means identifying the cause and confirming that the generated page loads the bundle successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.