Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property ‘content’ of null #302

Closed
RishabhKarnad opened this issue Mar 10, 2021 · 1 comment
Closed

Cannot read property ‘content’ of null #302

RishabhKarnad opened this issue Mar 10, 2021 · 1 comment
Labels
pre-release Issue in a pre-release version of Vue Native

Comments

@RishabhKarnad
Copy link
Contributor

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

@RishabhKarnad
Copy link
Contributor Author

Fixed in v0.3.0-rc.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pre-release Issue in a pre-release version of Vue Native
Projects
None yet
Development

No branches or pull requests

1 participant