Previously working project w/o changes now fails to build due to CORS errors
See original GitHub issuehttps://stackblitz.com/edit/angularjs-material-ngupgradelite?file=package.json
This project used to work, but has stopped working in the last couple of months. The CORS issues appear to be on the Stackblitz side.
Duplicate definition of module 'vs/basic-languages/typescript/typescript'
s.defineModule @ loader.js:1176
o @ loader.js:1613
(anonymous) @ typescript.js:7
Access to fetch at 'https://t.staticblitz.com/v6/@angular/upgrade@7.0.2' from origin 'https://stackblitz.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
angularjs-material-ngupgradelite?file=package.json:1 Access to fetch at 'https://t.staticblitz.com/v6/@angular/upgrade@7.0.2' from origin 'https://stackblitz.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at 'https://t.staticblitz.com/v6/@types/angular@1.6.51' from origin 'https://stackblitz.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
angularjs-material-ngupgradelite?file=package.json:1 Access to fetch at 'https://t.staticblitz.com/v6/@types/angular@1.6.51' from origin 'https://stackblitz.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at 'https://data.jsdelivr.com/v1/package/npm/@types/angular@1.6.51' from origin 'https://stackblitz.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
angularjs-material-ngupgradelite?file=package.json:1 Access to fetch at 'https://data.jsdelivr.com/v1/package/npm/@types/angular@1.6.51' from origin 'https://stackblitz.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at 'https://data.jsdelivr.com/v1/package/npm/@angular/upgrade@7.0.2' from origin 'https://stackblitz.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
angularjs-material-ngupgradelite?file=package.json:1 Access to fetch at 'https://data.jsdelivr.com/v1/package/npm/@angular/upgrade@7.0.2' from origin 'https://stackblitz.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
engineworker.js:1 Uncaught (in promise) TypeError: Failed to fetch
Promise.then (async)
e.default @ engineworker-28a42a8f47380fbf2140a.js:1
(anonymous) @ engineworker-28a42a8f47380fbf2140a.js:1
dispatch @ engineworker-28a42a8f47380fbf2140a.js:1
(anonymous) @ engineworker-28a42a8f47380fbf2140a.js:1
t.onmessage @ engineworker-28a42a8f47380fbf2140a.js:1
Browser: Chrome Version 70.0.3538.77 (Official Build) (64-bit)
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
CORS errors and how to solve them - Topcoder
Still facing a CORS error? ... Open a network tab in your console. ... In the response header look for the Access-Control-Allow-Origin header....
Read more >3 Ways to Fix the CORS Error — and How the Access-Control ...
Fix one: install the Allow-Control-Allow-Origin plugin. The quickest fix you can make is to install the moesif CORS extension .
Read more >A Guide to Solving Those Mystifying CORS Issues
First, you check the code, looking for some typos or other mistakes —but everything seems to be fine. You change the URL to...
Read more >Fixing Common Problems with CORS and JavaScript
Tutorial: This post walks through troubleshooting and fixing common problems associated with calling REST APIs from JavaScript.
Read more >Fix CORS Error Permanently Regardless of Your Web App
By the end of this section, you'll know how to get rid of the ugly CORS error permanently no matter what type of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is happening for me on my blitz for the package
@angular/pwa
.All demos are back, thanks