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

WebpackBundleTracker with enabled SRI doesn't work with webpack-dev-server #37

Open
thejoeejoee opened this issue Feb 17, 2022 · 0 comments
Labels
🟰 dev-bug Bug not affecting the users

Comments

@thejoeejoee
Copy link
Member

thejoeejoee commented Feb 17, 2022

webpack_1      | yarn run v1.22.17
webpack_1      | warning package.json: License should be a valid SPDX license expression
webpack_1      | $ webpack-dev-server --config webpack.dev.config.js
webpack_1      | BUILD_DIR=/usr/src/build
webpack_1      | PUBLIC_PATH=https://webpack.localhost/static/
webpack_1      | <i> [webpack-dev-server] Project is running at:
webpack_1      | <i> [webpack-dev-server] Loopback: http://localhost:8003/
webpack_1      | <i> [webpack-dev-server] Content not from webpack is served from '/usr/src/app/public' directory
webpack_1      | <i> [webpack-dev-server] 404s will fallback to '/index.html'
webpack_1      | <e> [webpack-dev-middleware] Error: ENOENT: no such file or directory, open '/usr/src/build/main.24a34978.css'
webpack_1      | <e>     at Object.openSync (node:fs:585:3)
webpack_1      | <e>     at Object.readFileSync (node:fs:453:35)
webpack_1      | <e>     at getSource (/usr/src/app/node_modules/webpack-bundle-tracker/lib/index.js:29:13)
webpack_1      | <e>     at /usr/src/app/node_modules/webpack-bundle-tracker/lib/index.js:154:53
webpack_1      | <e>     at /usr/src/app/node_modules/lodash.foreach/index.js:221:11
webpack_1      | <e>     at baseForOwn (/usr/src/app/node_modules/lodash.foreach/index.js:153:20)
webpack_1      | <e>     at /usr/src/app/node_modules/lodash.foreach/index.js:190:14
webpack_1      | <e>     at forEach (/usr/src/app/node_modules/lodash.foreach/index.js:290:10)
webpack_1      | <e>     at BundleTrackerPlugin._handleDone (/usr/src/app/node_modules/webpack-bundle-tracker/lib/index.js:147:5)
webpack_1      | <e>     at Hook.eval [as callAsync] (eval at create (/usr/src/app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1) {
webpack_1      | <e>   errno: -2,
webpack_1      | <e>   syscall: 'open',
webpack_1      | <e>   code: 'ENOENT',
webpack_1      | <e>   path: '/usr/src/build/main.24a34978.css'
webpack_1      | <e> }
@thejoeejoee thejoeejoee added the 🟰 bug Bug affecting the users label Feb 17, 2022
@thejoeejoee thejoeejoee changed the title SRI with webpack-dev-server WebpackBundleTracker with enabled SRI doesn't work webpack-dev-server Feb 17, 2022
@thejoeejoee thejoeejoee changed the title WebpackBundleTracker with enabled SRI doesn't work webpack-dev-server WebpackBundleTracker with enabled SRI doesn't work with webpack-dev-server Feb 17, 2022
@thejoeejoee thejoeejoee added 🟰 dev-bug Bug not affecting the users and removed 🟰 bug Bug affecting the users labels Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🟰 dev-bug Bug not affecting the users
Projects
None yet
Development

No branches or pull requests

1 participant