Commit e84624b
committed
Fix npm 8 test: also remove cpu-features require from server.js
The previous fix removed cpu-features from package.json dependencies but
server.js still had 'require("cpu-features")' at line 4, causing the
app to crash at startup with 'Cannot find module' and never serve
requests. Remove the require line from the copied server.js fixture.1 parent 1ae2288 commit e84624b
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
86 | 94 | | |
87 | 95 | | |
88 | 96 | | |
| |||
0 commit comments