Open IAMtheIAM opened 6 years ago
@IAMtheIAM - how did you resolve this? Experiencing same issue.
I did a lot so its hard to say exactly what solved it. Upgrading to latest nativescript 4.1.2 and getting all the NPM packages in sync version wise with each other helped it. I also was using nativescript-angular and upgraded that, and ejected my project using ng eject
so I could change the actual webpack config. It was a difficult setup, but now is working smoothly.
I can share a code repo if that would help. It is basically a slight fork of angular-native-seed that I got working with latest nativescript.
@IAMtheIAM Would you mind to share the code repo (the seed fork)? I've been trying to solve this issue for hours.. thx!
@sgbtz Sure, it will take me some time to get it in a shareable state, i.e. remove sensitive info from the app. So within around 1 week and it should be up and I will share a link.
Is this maybe related to #90 and you @IAMtheIAM can provide an solution to it?
For me it ended up being an error in the scss. (a reference to a non-existing variable). The error was being outputted to the terminal but the terminal is then cleared before you have time to see the error. It helped to output the logs to a file instead of having them show in the terminal, and then reading through them to see what the error was...
Clean git clone, on both linux and windows, I get the same error when running
npm run android
Error: Could not resolve
/data/data/com.domain.project/files/app/app/home/components/home/home.component.css. Looked for: /data/data/com.domain.project/files/app/app/home/components/home/home.component.css.
The app installs on the emulator and shows that message. I sucpect it is because
Hook skipped because either bundling or livesync is in progress.
Why is it skipping the typescript and scss compilation hooks?