NewProject_1.zip (3.8 MB)
报错信息如下:
Access to script at ‘chunks:///_virtual/rollupPluginModLoBabelHelpers.js’ from origin ‘http://localhost:7456’ has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.
system.js:639 GET chunks:///_virtual/rollupPluginModLoBabelHelpers.js net::ERR_FAILED
(匿名) @ system.js:639
systemJSPrototype.instantiate @ system.js:621
systemJSPrototype.instantiate @ system.js:657
systemJSPrototype.instantiate @ system.js:693
systemJSPrototype.instantiate @ system.js:1039
(匿名) @ system.js:281
Promise.then(异步)
getOrCreateLoad @ system.js:280
(匿名) @ system.js:337
Promise.then(异步)
(匿名) @ system.js:336
(匿名) @ system.js:334
Promise.then(异步)
getOrCreateLoad @ system.js:333
(匿名) @ system.js:337
Promise.then(异步)
(匿名) @ system.js:336
(匿名) @ system.js:334
Promise.then(异步)
getOrCreateLoad @ system.js:333
(匿名) @ system.js:337
Promise.then(异步)
(匿名) @ system.js:336
(匿名) @ system.js:334
Promise.then(异步)
getOrCreateLoad @ system.js:333
(匿名) @ system.js:228
Promise.then(异步)
systemJSPrototype.import @ system.js:227
systemJSPrototype.import @ system.js:759
_import @ system.js:319
createBundle @ factory.ts:90
create @ factory.ts:160
(匿名) @ asset-manager.ts:584
(匿名) @ utilities.ts:314
(匿名) @ misc.ts:141
setTimeout(异步)
callInNextTick @ misc.ts:140
(匿名) @ utilities.ts:312
dispatch @ task.ts:255
(匿名) @ pipeline.ts:272
(匿名) @ load.ts:100
cb @ utilities.ts:206
onComplete @ load.ts:84
dispatch @ task.ts:255
(匿名) @ pipeline.ts:272
(匿名) @ load.ts:140
parse @ parser.ts:386
parse @ load.ts:129
应该是报了资源访问跨域的错误了,跨域问题可以让服务端那边处理一下。
