Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

changes are applied with custom css but there is an error in console log #1079

Open
Labels
@miroslavaivanova

Description

@miroslavaivanova

Environment
Provide version numbers for the following components (information can be retrieved by runningtns info in your project folder or by inspecting thepackage.json of the project):

  • CLI: 6.1.2
  • nativescript-dev-webpack: 1.2.1

Describe the bug
Create a project and make css to be custom. When you run an app, you will see that it will crash.

To Reproduce

  1. tns create app --js
  2. renameapp.css tonew.css
  3. addapplication.setCssFileName("new.css"); inapp.js
  4. tns run android
  5. app will run and if you make a change it will apply but you can see an error in a console log: JS:Error: Could not load CSS from app.css: Error: require’s first parameter should be string

Expected behavior
works without error in console log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp