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.

fix: fix app.css file path on windows machines #955

Merged
Fatme merged 1 commit into master from fatme/fix-css-file-windows
Jun 28, 2019

Conversation

Copy link
Contributor

@Fatme Fatme commented Jun 28, 2019

Currently tns test command on windows throws the following error:

ERROR in ./app.js
Module not found: Error: Can't resolve '..
ode_modules
ativescript-unit-test-runnerapp.css' in 'C:\Jenkins\workspace\master-cli-test-windows\TestApp\app'
 @ ./app.js 12:93-157
Webpack compilation complete.
{ Error: Executing webpack failed with exit code 2.
 at DevicesService.<anonymous> (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\common\mobile\mobile-core\devices-service.js:368:38)
 at Generator.throw (<anonymous>)
 at rejected (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\common\mobile\mobile-core\devices-service.js:11:65)
 at process._tickCallback (internal/process/next_tick.js:68:7)
 allErrors:
 [ { Error: Executing webpack failed with exit code 2.
 at ChildProcess.childProcess.on (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\services\webpack\webpack-compiler-service.js:107:39)
 at ChildProcess.emit (events.js:189:13)
 at maybeClose (internal/child_process.js:970:16)
 at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) code: 2, deviceIdentifier: 'emulator-5562'

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes/Implements/Closes #[Issue Number].

dtopuzov reacted with hooray emoji
Currently `tns test` command on windows throws the following error:
```
ERROR in ./app.js
Module not found: Error: Can't resolve '..
ode_modules
ativescript-unit-test-runnerapp.css' in 'C:\Jenkins\workspace\master-cli-test-windows\TestApp\app'
 @ ./app.js 12:93-157
Webpack compilation complete.
{ Error: Executing webpack failed with exit code 2.
 at DevicesService.<anonymous> (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\common\mobile\mobile-core\devices-service.js:368:38)
 at Generator.throw (<anonymous>)
 at rejected (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\common\mobile\mobile-core\devices-service.js:11:65)
 at process._tickCallback (internal/process/next_tick.js:68:7)
 allErrors:
 [ { Error: Executing webpack failed with exit code 2.
 at ChildProcess.childProcess.on (C:\Jenkins\workspace\master-cli-test-windows\node_modules\nativescript\lib\services\webpack\webpack-compiler-service.js:107:39)
 at ChildProcess.emit (events.js:189:13)
 at maybeClose (internal/child_process.js:970:16)
 at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) code: 2, deviceIdentifier: 'emulator-5562'
```
@Fatme Fatme force-pushed the fatme/fix-css-file-windows branch from b01ce99 to 7d734d8 Compare June 28, 2019 06:21
Copy link
Contributor

test

@Fatme Fatme merged commit aba0313 into master Jun 28, 2019
@Fatme Fatme deleted the fatme/fix-css-file-windows branch June 28, 2019 10:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Reviewers
2 more reviewers

@vakrilov vakrilov vakrilov approved these changes

@rosen-vladimirov rosen-vladimirov rosen-vladimirov approved these changes

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /