Skip to content

[Bug] bug with build in node #14

@luan122

Description

@luan122

Version

git latest

Reproduction link

http://none.com

Operating System

windows

Device

iis

Browser & Version

chrome latest

Steps to reproduce

build with ng build, deploy, try to open

What is expected?

the site open

What is actually happening?

Application has thrown an uncaught exception and is terminated:
ReferenceError: window is not defined
at Object. (main.js:1:63)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object. (C:\Program Files\iisnode\interceptor.js:210:1)
at Module._compile (module.js:643:30)


Solution

Additional comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions