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

[Bug]: Failed to find a valid digest in the 'integrity' attribute for resource #1858

Closed
2 tasks done
ineptian opened this issue Apr 26, 2023 · 8 comments
Closed
2 tasks done
Labels
Area: @shopify/theme @shopify/theme package issues no-issue-activity Type: Bug Something isn't working

Comments

@ineptian
Copy link

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Theme

Expected behavior

When running shopify theme dev assets should load properly.

Actual behavior

When running shopify theme dev assets are not loading properly from the cdn. I think it has to do with this error in the console: Failed to find a valid digest in the 'integrity' attribute for resource 'http://x.x.x.x:9292/cdn/shopifycloud/shopify/assets/storefront/features-87e8399988880142f2c62771b9d8f2ff6c290b3ff745dd426eb0dfe0db9d1dae.js' with computed SHA-256 integrity '6kURUFxQGfMOxLerLwfrmqOyBcR+dP/8b43fhYz2R3Q='. The resource has been blocked.

The issue just started occurring within the last week. I cant figure out what changed to make this start happening. I have tried all the usual troubleshooting steps including logging out and logging back in, deleting and re installing node modules, etc. Since the auth problem a couple of weeks ago things have been a little funky, not sure if this is in any way related.

Verbose output

2023-04-25T23:17:36.354Z: Ensuring that the user is authenticated with the Storefront API with the following scopes:
[]

2023-04-25T23:17:36.354Z: Getting session store...
2023-04-25T23:17:36.356Z: Validating existing session against the scopes:
[
  "openid",
  "https://api.shopify.com/auth/shop.admin.graphql",
  "https://api.shopify.com/auth/shop.admin.themes",
  "https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
  "https://api.shopify.com/auth/shop.storefront-renderer.devtools",
  "https://api.shopify.com/auth/partners.app.cli.access"
]
For applications:
{
  "storefrontRendererApi": {
    "scopes": []
  }
}

2023-04-25T23:17:36.357Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2023-04-25T23:17:36.358Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.45.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: win32
 - Content-Type: application/json

2023-04-25T23:17:36.398Z: Obtaining the dependency manager in directory D:/Work/Blue Collar/Yoshino/Shopify/bc-yoshino...
2023-04-25T23:17:36.419Z: 
Running system process:
  · Command: ruby -v
  · Working directory: D:\Work\Blue Collar\Yoshino\Shopify\bc-yoshino

2023-04-25T23:17:36.541Z: Request to https://accounts.shopify.com/oauth/introspection completed in 182 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"e0ada813877f016085a6f788de849d83"
 - x-request-id: dc8f12cf-f837-4bbe-8c7c-80ac68e1d6f8
    
2023-04-25T23:17:36.543Z: The identity token is valid: true
2023-04-25T23:17:36.543Z:
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false
  
2023-04-25T23:17:36.563Z: 
Running system process:
  · Command: ruby -v
  · Working directory: D:\Work\Blue Collar\Yoshino\Shopify\bc-yoshino

2023-04-25T23:17:36.566Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 122 ms
With response headers:
 - x-request-id: 96e46692-ca5d-446c-ae8f-4891e4040361
    
2023-04-25T23:17:36.567Z: Analytics event sent: {
  "command": "theme dev",
  "time_start": 1682464654748,
  "time_end": 1682464656393,
  "total_time": 1645,
  "success": true,
  "cli_version": "3.45.1",
  "ruby_version": "3.0.2",
  "node_version": "16.9.1",
  "is_employee": false,
  "uname": "windows amd64",
  "env_ci": false,
  "env_plugin_installed_any_custom": false,
  "env_plugin_installed_shopify": "[\"@shopify/cli\",\"@shopify/plugin-did-you-mean\",\"@shopify/theme\"]",
  "env_shell": "cmd.exe",
  "env_device_id": "007b965791f817b38b91146f2ea8aedb028026ec",
  "env_cloud": "localhost",
  "env_package_manager": "npm",
  "cmd_all_launcher": "unknown",
  "cmd_all_topic": "theme",
  "cmd_all_plugin": "@shopify/theme",
  "args": "--verbose",
  "env_plugin_installed_all": "[\"@shopify/cli\",\"@shopify/plugin-did-you-mean\",\"@shopify/theme\"]",
  "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2023-04-25T23:17:36.570Z: Completed command theme dev
2023-04-25T23:17:36.598Z: 
Running system process:
  · Command: bundle -v
  · Working directory: D:\Work\Blue Collar\Yoshino\Shopify\bc-yoshino

2023-04-25T23:17:37.977Z: Reading the content of file at C:/Users/inept/AppData/Roaming/nvm/v16.9.1/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/Gemfile...
2023-04-25T23:17:37.999Z: 
Running system process:
  · Command: bundle config set --local path C:\Users\inept\AppData\Local\shopify-gems-nodejs\Cache
  · Working directory: C:/Users/inept/AppData/Roaming/nvm/v16.9.1/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby

2023-04-25T23:17:38.335Z: 
Running system process:
  · Command: bundle config set --local without development:test
  · Working directory: C:/Users/inept/AppData/Roaming/nvm/v16.9.1/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby

2023-04-25T23:17:38.646Z: 
Running system process:
  · Command: bundle install
  · Working directory: C:/Users/inept/AppData/Roaming/nvm/v16.9.1/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby

2023-04-25T23:17:39.760Z: 
Running system process:
  · Command: bundle exec ruby C:/Users/inept/AppData/Roaming/nvm/v16.9.1/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify theme serve D:\Work\Blue Collar\Yoshino\Shopify\bc-yoshino --live-reload hot-reload --theme 147533726015
  · Working directory: D:\Work\Blue Collar\Yoshino\Shopify\bc-yoshino

DEBUG GET https://yoshino-power-dev.myshopify.com/admin/api/unstable/themes.json with request_id: aeae595e-b1cd-448d-870f-32637d425261
* Syncing theme #147533726015 on yoshino-power-dev.myshopify.com
DEBUG GET https://yoshino-power-dev.myshopify.com/admin/api/unstable/themes/147533726015/assets.json with request_id: f924ba0a-bb57-4fe5-b1ff-88f9de60f300
DEBUG ignore node_modules/@nodelib/fs.scandir/package.json
DEBUG ignore node_modules/@nodelib/fs.stat/package.json
DEBUG ignore node_modules/@nodelib/fs.walk/package.json
DEBUG ignore node_modules/@trelliscommerce/prettier-config/index.json
DEBUG ignore node_modules/@trelliscommerce/prettier-config/package.json
DEBUG ignore node_modules/acorn/package.json
DEBUG ignore node_modules/acorn-node/package.json
DEBUG ignore node_modules/acorn-walk/package.json
DEBUG ignore node_modules/aggregate-error/package.json
DEBUG ignore node_modules/ansi-escapes/package.json
DEBUG ignore node_modules/ansi-regex/package.json
DEBUG ignore node_modules/ansi-styles/package.json
DEBUG ignore node_modules/anymatch/package.json
DEBUG ignore node_modules/arg/package.json
DEBUG ignore node_modules/astral-regex/package.json
DEBUG ignore node_modules/autoprefixer/package.json
DEBUG ignore node_modules/binary-extensions/binary-extensions.json
DEBUG ignore node_modules/binary-extensions/package.json
DEBUG ignore node_modules/braces/package.json
DEBUG ignore node_modules/browserslist/package.json
DEBUG ignore node_modules/camelcase-css/package.json
DEBUG ignore node_modules/caniuse-lite/package.json
DEBUG ignore node_modules/chokidar/node_modules/glob-parent/package.json
DEBUG ignore node_modules/chokidar/package.json
DEBUG ignore node_modules/clean-stack/package.json
DEBUG ignore node_modules/cli-cursor/package.json
DEBUG ignore node_modules/cli-truncate/package.json
DEBUG ignore node_modules/color-convert/package.json
DEBUG ignore node_modules/color-name/package.json
DEBUG ignore node_modules/colorette/package.json
DEBUG ignore node_modules/commander/package-support.json
DEBUG ignore node_modules/commander/package.json
DEBUG ignore node_modules/cross-spawn/package.json
DEBUG ignore node_modules/cssesc/package.json
DEBUG ignore node_modules/debug/package.json
DEBUG ignore node_modules/defined/package.json
DEBUG ignore node_modules/detective/package.json
DEBUG ignore node_modules/didyoumean/package.json
DEBUG ignore node_modules/dlv/package.json
DEBUG ignore node_modules/eastasianwidth/package.json
DEBUG ignore node_modules/electron-to-chromium/chromium-versions.json
DEBUG ignore node_modules/electron-to-chromium/full-chromium-versions.json
DEBUG ignore node_modules/electron-to-chromium/full-versions.json
DEBUG ignore node_modules/electron-to-chromium/package.json
DEBUG ignore node_modules/electron-to-chromium/versions.json
DEBUG ignore node_modules/emoji-regex/package.json
DEBUG ignore node_modules/escalade/package.json
DEBUG ignore node_modules/execa/package.json
DEBUG ignore node_modules/fast-glob/node_modules/glob-parent/package.json
DEBUG ignore node_modules/fast-glob/package.json
DEBUG ignore node_modules/fastq/package.json
DEBUG ignore node_modules/fastq/test/tsconfig.json
DEBUG ignore node_modules/fill-range/package.json
DEBUG ignore node_modules/fraction.js/package.json
DEBUG ignore node_modules/function-bind/package.json
DEBUG ignore node_modules/get-stream/package.json
DEBUG ignore node_modules/glob-parent/package.json
DEBUG ignore node_modules/has/package.json
DEBUG ignore node_modules/human-signals/package.json
DEBUG ignore node_modules/husky/package.json
DEBUG ignore node_modules/indent-string/package.json
DEBUG ignore node_modules/is-binary-path/package.json
DEBUG ignore node_modules/is-core-module/core.json
DEBUG ignore node_modules/is-core-module/package.json
DEBUG ignore node_modules/is-extglob/package.json
DEBUG ignore node_modules/is-fullwidth-code-point/package.json
DEBUG ignore node_modules/is-glob/package.json
DEBUG ignore node_modules/is-number/package.json
DEBUG ignore node_modules/is-stream/package.json
DEBUG ignore node_modules/isexe/package.json
DEBUG ignore node_modules/lilconfig/package.json
DEBUG ignore node_modules/lint-staged/package.json
DEBUG ignore node_modules/listr2/node_modules/ansi-regex/package.json
DEBUG ignore node_modules/listr2/node_modules/ansi-styles/package.json
DEBUG ignore node_modules/listr2/node_modules/cli-truncate/package.json
DEBUG ignore node_modules/listr2/node_modules/emoji-regex/package.json
DEBUG ignore node_modules/listr2/node_modules/is-fullwidth-code-point/package.json
DEBUG ignore node_modules/listr2/node_modules/slice-ansi/package.json
DEBUG ignore node_modules/listr2/node_modules/string-width/package.json
DEBUG ignore node_modules/listr2/node_modules/strip-ansi/package.json
DEBUG ignore node_modules/listr2/package.json
DEBUG ignore node_modules/log-update/node_modules/ansi-regex/package.json
DEBUG ignore node_modules/log-update/node_modules/ansi-styles/package.json
DEBUG ignore node_modules/log-update/node_modules/emoji-regex/package.json
DEBUG ignore node_modules/log-update/node_modules/is-fullwidth-code-point/package.json
DEBUG ignore node_modules/log-update/node_modules/slice-ansi/package.json
DEBUG ignore node_modules/log-update/node_modules/string-width/package.json
DEBUG ignore node_modules/log-update/node_modules/strip-ansi/package.json
DEBUG ignore node_modules/log-update/node_modules/wrap-ansi/package.json
DEBUG ignore node_modules/log-update/package.json
DEBUG ignore node_modules/merge-stream/package.json
DEBUG ignore node_modules/merge2/package.json
DEBUG ignore node_modules/micromatch/package.json
DEBUG ignore node_modules/mimic-fn/package.json
DEBUG ignore node_modules/minimist/package.json
DEBUG ignore node_modules/ms/package.json
DEBUG ignore node_modules/nanoid/async/package.json
DEBUG ignore node_modules/nanoid/non-secure/package.json
DEBUG ignore node_modules/nanoid/package.json
DEBUG ignore node_modules/nanoid/url-alphabet/package.json
DEBUG ignore node_modules/node-releases/data/processed/envs.json
DEBUG ignore node_modules/node-releases/data/release-schedule/release-schedule.json
DEBUG ignore node_modules/node-releases/package.json
DEBUG ignore node_modules/normalize-path/package.json
DEBUG ignore node_modules/normalize-range/package.json
DEBUG ignore node_modules/npm-run-path/package.json
DEBUG ignore node_modules/object-hash/package.json
DEBUG ignore node_modules/object-inspect/package.json
DEBUG ignore node_modules/onetime/package.json
DEBUG ignore node_modules/p-map/package.json
DEBUG ignore node_modules/path-key/package.json
DEBUG ignore node_modules/path-parse/package.json
DEBUG ignore node_modules/picocolors/package.json
DEBUG ignore node_modules/picomatch/package.json
DEBUG ignore node_modules/pidtree/package.json
DEBUG ignore node_modules/postcss/package.json
DEBUG ignore node_modules/postcss-js/package.json
DEBUG ignore node_modules/postcss-load-config/node_modules/lilconfig/package.json
DEBUG ignore node_modules/postcss-load-config/package.json
DEBUG ignore node_modules/postcss-nested/package.json
DEBUG ignore node_modules/postcss-selector-parser/package.json
DEBUG ignore node_modules/postcss-value-parser/package.json
DEBUG ignore node_modules/prettier/package.json
DEBUG ignore node_modules/queue-microtask/package.json
DEBUG ignore node_modules/quick-lru/package.json
DEBUG ignore node_modules/readdirp/package.json
DEBUG ignore node_modules/resolve/lib/core.json
DEBUG ignore node_modules/resolve/package.json
DEBUG ignore node_modules/resolve/test/module_dir/zmodules/bbb/package.json
DEBUG ignore node_modules/resolve/test/resolver/baz/package.json
DEBUG ignore node_modules/resolve/test/resolver/browser_field/package.json
DEBUG ignore node_modules/resolve/test/resolver/dot_main/package.json
DEBUG ignore node_modules/resolve/test/resolver/dot_slash_main/package.json
DEBUG ignore node_modules/resolve/test/resolver/incorrect_main/package.json
DEBUG ignore node_modules/resolve/test/resolver/invalid_main/package.json
DEBUG ignore node_modules/resolve/test/resolver/malformed_package_json/package.json
DEBUG ignore node_modules/resolve/test/resolver/multirepo/lerna.json
DEBUG ignore node_modules/resolve/test/resolver/multirepo/package.json
DEBUG ignore node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json
DEBUG ignore node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json
DEBUG ignore node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json
DEBUG ignore node_modules/resolve/test/resolver/symlinked/package/package.json
DEBUG ignore node_modules/restore-cursor/package.json
DEBUG ignore node_modules/reusify/package.json
DEBUG ignore node_modules/rfdc/package.json
DEBUG ignore node_modules/run-parallel/package.json
DEBUG ignore node_modules/rxjs/ajax/package.json
DEBUG ignore node_modules/rxjs/fetch/package.json
DEBUG ignore node_modules/rxjs/operators/package.json
DEBUG ignore node_modules/rxjs/package.json
DEBUG ignore node_modules/rxjs/src/tsconfig.base.json
DEBUG ignore node_modules/rxjs/src/tsconfig.cjs.json
DEBUG ignore node_modules/rxjs/src/tsconfig.cjs.spec.json
DEBUG ignore node_modules/rxjs/src/tsconfig.esm.json
DEBUG ignore node_modules/rxjs/src/tsconfig.esm5.json
DEBUG ignore node_modules/rxjs/src/tsconfig.esm5.rollup.json
DEBUG ignore node_modules/rxjs/src/tsconfig.types.json
DEBUG ignore node_modules/rxjs/src/tsconfig.types.spec.json
DEBUG ignore node_modules/rxjs/testing/package.json
DEBUG ignore node_modules/rxjs/tsconfig.json
DEBUG ignore node_modules/rxjs/webSocket/package.json
DEBUG ignore node_modules/shebang-command/package.json
DEBUG ignore node_modules/shebang-regex/package.json
DEBUG ignore node_modules/signal-exit/package.json
DEBUG ignore node_modules/slice-ansi/package.json
DEBUG ignore node_modules/source-map-js/package.json
DEBUG ignore node_modules/string-argv/package.json
DEBUG ignore node_modules/string-width/package.json
DEBUG ignore node_modules/strip-ansi/package.json
DEBUG ignore node_modules/strip-final-newline/package.json
DEBUG ignore node_modules/supports-color/package.json
DEBUG ignore node_modules/supports-preserve-symlinks-flag/package.json
DEBUG ignore node_modules/tailwindcss/node_modules/lilconfig/package.json
DEBUG ignore node_modules/tailwindcss/package.json
DEBUG ignore node_modules/through/package.json
DEBUG ignore node_modules/to-regex-range/package.json
DEBUG ignore node_modules/tslib/modules/package.json
DEBUG ignore node_modules/tslib/package.json
DEBUG ignore node_modules/type-fest/package.json
DEBUG ignore node_modules/util-deprecate/package.json
DEBUG ignore node_modules/which/package.json
DEBUG ignore node_modules/wrap-ansi/node_modules/ansi-regex/package.json
DEBUG ignore node_modules/wrap-ansi/node_modules/ansi-styles/package.json
DEBUG ignore node_modules/wrap-ansi/node_modules/emoji-regex/package.json
DEBUG ignore node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/package.json
DEBUG ignore node_modules/wrap-ansi/node_modules/string-width/package.json
DEBUG ignore node_modules/wrap-ansi/node_modules/strip-ansi/package.json
DEBUG ignore node_modules/wrap-ansi/package.json
DEBUG ignore node_modules/xtend/package.json
DEBUG ignore node_modules/yaml/browser/dist/package.json
DEBUG ignore node_modules/yaml/package.json
DEBUG ignore package-lock.json
DEBUG ignore package.json
                                                                            100%
[2023-04-25 16:17:45] INFO  WEBrick 1.7.0
[2023-04-25 16:17:45] INFO  ruby 3.0.2 (2021-07-07) [x64-mingw32]
[2023-04-25 16:17:45] INFO  WEBrick::HTTPServer#start: pid=1724 port=9292
DEBUG Refreshing preview _secure_session_id cookie
DEBUG Proxying HEAD https://yoshino-power-dev.myshopify.com/?preview_theme_id=147533726015&_fd=0&pb=0
DEBUG `-> 302 request_id: 218f1027-ef3d-4d1e-82e1-f6d38cfa24aa
DEBUG Proxying GET https://yoshino-power-dev.myshopify.com/?_fd=0&pb=0
DEBUG `-> 200 request_id: c8154d52-033a-4c95-a372-eda7edcce83a
DEBUG Proxying GET https://yoshino-power-dev.myshopify.com/cdn/fonts/poppins/poppins_n4.934accbf9f5987aa89334210e6c1e9151f37d3b6.woff2?h1=eW9zaGluby1wb3dlci1kZXYuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=8eacbc92020dfce46346cd2f76a073c84cb65d98111eba032c7f88aa87f67711&_fd=0&pb=0
DEBUG Proxying GET https://yoshino-power-dev.myshopify.com/cdn/fonts/poppins/poppins_n7.58aca33913fc6666cc9e8a53f6b16ec5c3c05a3f.woff2?h1=eW9zaGluby1wb3dlci1kZXYuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=38492ab68529c971a223583101823269c0c16eeb044e7e80f31748b535384028&_fd=0&pb=0
DEBUG Proxying GET https://yoshino-power-dev.myshopify.com/cdn/shopifycloud/boomerang/shopify-boomerang-1.0.0.min.js?_fd=0&pb=0
DEBUG `-> 403 request_id: 
DEBUG `-> 403 request_id: 
DEBUG `-> 304 request_id: aaac27bf-dae9-406d-8155-198fdcff0beb
DEBUG Proxying GET https://yoshino-power-dev.myshopify.com/cdn/fonts/poppins/poppins_n7.59016f931f3f39434d2e458fba083eb7db7a07d9.woff?h1=eW9zaGluby1wb3dlci1kZXYuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=3399f173f9c408ae0f4a8673dd7e77b4745bcc53f89551bf00bd3f7e3117f2d3&_fd=0&pb=0
DEBUG Proxying GET https://yoshino-power-dev.myshopify.com/cdn/fonts/poppins/poppins_n4.ee28d4489eaf5de9cf6e17e696991b5e9148c716.woff?h1=eW9zaGluby1wb3dlci1kZXYuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=dae1a29f617152cebbe1e29df7f1720f65633b5e26b35d873e9f0753c6e9bc47&_fd=0&pb=0
DEBUG `-> 403 request_id: 
DEBUG `-> 403 request_id: 
DEBUG [HotReload] Connected to SSE stream

Reproduction steps

  1. Logout and log back in via shopify auth
  2. Run the dev command
  3. Get the errors

Operating System

Windows 10

Shopify CLI version (check your project's package.json if you're not sure)

3.45.1

Shell

No response

Node version (run node -v if you're not sure)

16.9.1

What language and version are you using in your application?

No response

@ineptian ineptian added the Type: Bug Something isn't working label Apr 26, 2023
@amcaplan amcaplan added the Area: @shopify/theme @shopify/theme package issues label Apr 26, 2023
@amcaplan
Copy link
Contributor

cc @Shopify/theme-developer-tools

@mgmanzella
Copy link
Contributor

@Shopify/theme-code-tools

@ineptian
Copy link
Author

#1859 This is the same issue.

@github-actions
Copy link
Contributor

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.
→ If there's no activity within a week, then a bot will automatically close this.
Thanks for helping to improve Shopify's dev tooling and experience.

P.S. You can learn more about why we stale issues here.

@github-actions
Copy link
Contributor

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.
→ If there's no activity within a week, then a bot will automatically close this.
Thanks for helping to improve Shopify's dev tooling and experience.

P.S. You can learn more about why we stale issues here.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2023

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.
→ If there's no activity within a week, then a bot will automatically close this.
Thanks for helping to improve Shopify's dev tooling and experience.

P.S. You can learn more about why we stale issues here.

@bbdetail
Copy link

bbdetail commented Nov 2, 2023

I'm having the same problem in both Chrome and Brave. Because the JS resource is blocked, the page never fully loads and my custom code in global.js won't fire either. It's impossible to develop with this issue.

Failed to find a valid digest in the 'integrity' attribute for resource 'http://127.0.0.1:9292/cdn/shopifycloud/shopify/assets/storefront/features-1c0b396bd4d054b94abae1eb6a1bd6ba47beb35525c57a217c77a862ff06d83f.js' with computed SHA-256 integrity 'lm6fZ4d7HzlM0m8t7EhdxfYXfJG1Dny97sLRHA1THBY='. The resource has been blocked.

Operating System
Windows 11

Shopify CLI version (check your project's package.json if you're not sure)
3.50.2

Node version (run node -v if you're not sure)
v20.9.0

For now I have to force Chrome to load the resource anyway with chrome.exe --user-data-dir="C:\ChromeDevSession" --disable-web-security, but this is not ideal.

@ineptian
Copy link
Author

ineptian commented Nov 2, 2023

I'm having the same problem in both Chrome and Brave. Because the JS resource is blocked, the page never fully loads and my custom code in global.js won't fire either. It's impossible to develop with this issue.

Failed to find a valid digest in the 'integrity' attribute for resource 'http://127.0.0.1:9292/cdn/shopifycloud/shopify/assets/storefront/features-1c0b396bd4d054b94abae1eb6a1bd6ba47beb35525c57a217c77a862ff06d83f.js' with computed SHA-256 integrity 'lm6fZ4d7HzlM0m8t7EhdxfYXfJG1Dny97sLRHA1THBY='. The resource has been blocked.

Operating System Windows 11

Shopify CLI version (check your project's package.json if you're not sure) 3.50.2

Node version (run node -v if you're not sure) v20.9.0

For now I have to force Chrome to load the resource anyway with chrome.exe --user-data-dir="C:\ChromeDevSession" --disable-web-security, but this is not ideal.

Yeah this error is back again and happening for me. Makes it so no JS works because dom never loads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: @shopify/theme @shopify/theme package issues no-issue-activity Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants