Cant run online version offline


#1

I just downloaded the project which i did on playground online. i just opened it in visual studio and tried to run using command tns run android. but i got this error.

can anyone explain how to download and run online project offline ???

C:\Users\admin\Desktop\NSPlayground (17)>tns run android
Searching for devices...
Copying template files...
- Installing tns-android
Error: EPERM: operation not permitted, lstat 'C:\Users\admin\Desktop\NSPlayground (17)\node_modules\.staging\tns-android-c070a063\framework\app\src\debug\java'
Error: EPERM: operation not permitted, lstat 'C:\Users\admin\Desktop\NSPlayground (17)\node_modules\.staging\tns-android-c070a063\framework\app\src\debug\java'

#2

It’s not an issue with {N}, it seems to be with your local environment may be NPM. Try cleaning up your npm cache,

npm cache clean --force