Skip to content

Cannot read property ‘content’ of null #302

@RishabhKarnad

Description

@RishabhKarnad

Description of the bug
A component which does not contain a <script> tag throws the following error:

Cannot read property ‘content’ of null

To Reproduce
Steps to reproduce the behaviour:

  1. Create an app with vue-native-cli
  2. Check that there is no <script> tag in App.vue
  3. Run the app

What I expected
The app runs without errors

Screenshots
simulator_screenshot_F5BDE3F3-4F93-43B5-8000-CD933BC42C42
image

Did I use vue-native-cli to create the project?
Yes

Am I using Expo?
Yes, however, the issue can be seen with apps using bare workflow as well

Development platform (please complete the following information):

  • OS: OSX
  • Shell/terminal: ZSH

The device on which I run my Vue Native app

  • Device: All supported devices
  • OS: All supported OSs

Additional context
vue-native version: 0.3.0-rc.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    pre-releaseIssue in a pre-release version of Vue Native

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions