Skip to content
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.

compiler_1.StaticSymbolResolver is not a constructor #62

@dgomezs

Description

@dgomezs

Hi all,

I just created a new project using nativescript-cli tns create test-mobile-app-webpack --ng then navigate to the folder and install nativescript-dev-webpack npm install --save-dev nativescript-dev-webpack and try to launch it npm run start-android-bundle. I get the following warning and errors

WARNING in ./app.css
  resolve-url-loader cannot operate: CSS error
  /home/dgomezs/workspace/project-eutychia/test-mobile-app-webpack/app/app.css:6:426: property missing ':'
  at error (/home/dgomezs/workspace/project-eutychia/test-mobile-app-webpack/node_modules/css/lib/parse/index.js:62:15)

WARNING in ./app.css
  resolve-url-loader cannot operate: CSS error
  /home/dgomezs/workspace/project-eutychia/test-mobile-app-webpack/app/app.css:6:426: property missing ':'
  at error (/home/dgomezs/workspace/project-eutychia/test-mobile-app-webpack/node_modules/css/lib/parse/index.js:62:15)

ERROR in compiler_1.StaticSymbolResolver is not a constructor
Child app/app.component.html:
       [0] ./app.component.html 309 bytes {0} [built]
Child extract-text-webpack-plugin:
       [2] ../~/resolve-url-loader!../~/nativescript-css-loader!../~/nativescript-dev-webpack/platform-css-loader.js!./app.css 911 bytes {0} [built] [1 warning]
        + 2 hidden modules
    
    WARNING in ../~/resolve-url-loader!../~/nativescript-css-loader!../~/nativescript-dev-webpack/platform-css-loader.js!./app.css
      resolve-url-loader cannot operate: CSS error
      /home/dgomezs/workspace/project-eutychia/test-mobile-app-webpack/app/app.css:6:426: property missing ':'
      at error (/home/dgomezs/workspace/project-eutychia/test-mobile-app-webpack/node_modules/css/lib/parse/index.js:62:15)

Some information about my environment

tns --version -> 2.4.2
node -v --> 7.4.0
npm --version --> 4.0.5

Any idea what is wrong with my setup? You can access the project directly here

https://github.com/dgomezs/test-mobile-app-webpack

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