angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Safari Console return errors: Unexpected token '<' , and Can't find variable: webpack_Jsonp

Open vivian7169 opened this issue 9 years ago • 5 comments

Bug Report

- run 'ng build --prod --aot=false'
- then run it on a server, when loading source, safari show console errors in 
   inline.xxx.bundle.js, 
   polyfills.xxx.bundle.js, 
   scripts.xxx.bundle.js, 
   vendor.xxx.js, 
   main.xxxx.js, unable to load page successfully:

Errors: 
  1.  Unexpected token '<'
  2. Can't find variable: web pack_jsonp

However, Chrome works fine.

Versions.

@angular/cli: 1.2.0 node: 6.11.2 nom: 4.2.0 os: linux x64

vivian7169 avatar Aug 08 '17 04:08 vivian7169

Which Safari version you are using?

be4code avatar Aug 09 '17 05:08 be4code

Safari Version 11.0 (13604.1.34)

This is a version of Developer preview.

On 9 Aug 2017, at 1:35 PM, be4code [email protected] wrote:

Which Safari version you are using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/angular/angular-cli/issues/7297#issuecomment-321157268, or mute the thread https://github.com/notifications/unsubscribe-auth/AFLILiSkVxjIiuy4ng6a-UPAx4B9Vrd4ks5sWUUbgaJpZM4OwOqF.

vivian7169 avatar Aug 10 '17 01:08 vivian7169

Are you still able to reproduce the issue?

mgechev avatar Dec 18 '18 21:12 mgechev

Closing the issue due to inactivity. If the problem still exists in the latest version of the CLI, please open a new issue following the template and providing a minimal demo where we can reproduce it. Thanks! :-)

mgechev avatar Dec 21 '18 22:12 mgechev

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.