Skip to content

Console.log broken in Static Template #1650

@theianjones

Description

@theianjones

🐛 bug report

Description of the problem

When you use the Static template, adding a script.js with a console.log('hello world') nothing gets logged when the sandbox runs. Adding the script to the body of the index.html like this:

<body>
  <h1>
    This is a static template, there is no bundler or bundling involved!
  </h1>
  <div id="app"></div>
  <script src="./index.js"></script>
</body>

Nothing gets logged out to the console.

How has this issue affected you? What are you trying to accomplish?

Just trying to log something using the static template.

Link to sandbox: link

Your Environment

Software Name/Version
Сodesandbox PROD-1552372285-96510b09
Browser Chrome 73.0.3683.75
Operating System MacOS Mojave 10.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    🎒 BundlerRefers to CodeSandbox's In-Browser Bundler🐛 Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions