Closed Xamlware closed 7 years ago
Please refer to this issue: https://github.com/NativeScript/sample-Groceries/issues/267 and install node-sass
globally.
npm install -g node-sass
Let me know if that resolves your issue.
Still getting same issue...
I have re-cloned the project and had no trouble running both runtimes. The issue is definitely related to sass not being available on your machine.
When you run a blank NS project with the nativescript-dev-sass
extension, do you also have this problem?
I created one and it built fine. Error when trying to run on device.
I have SASS installed, I have node-sass installed, recloned the projecs and still the errors..
have trying to create some .scss (ex: app.android.scss) file and run tns run
again
It turned out to be permission on the platforms/ios and platforms/android folders. I had to
sudo chmod -R a+rwx
for both directories to make it work. I can't believe that this is not a problem that many experience and should be addressed in the read.me.
Thanks for the help you provided.
It is finding a at least one .scss or .sass file in app
folder.
Just create > app.scss
file in app
folder and rebuild the application.
I cloned the project onto My MacBook pro and followed the instructions
On android:
On IOS..