I'm new to NativeScript and I'm trying to create a new app using vue, following the instructions here: https://nativescript-vue.org/en/docs/getting-started/quick-start/
NOTE: I'm using vue-cli v3, so instead of vue init nativescript-vue/vue-cli-template <project-name>, I had to use vue create <project-name> then vue add vue-cli-plugin-nativescript-vue.
I am getting the following error when doing tns preview on my android device:
Does anyone know what I'm doing wrong? I'm trying to create a simple mobile app, and I'm getting an error on the setup phase. Thank you!
Specs:
node v10.20.1
vue-cli v3.11.0
tns v6.5.0
Reading a bit more in this article for the vue-cli-plugin-nativescript-vue plugin:
https://github.com/nativescript-vue/vue-cli-plugin-nativescript-vue
Renaming my CSS files from style-one.css to style-one.native.css for mobile did the trick. I'm able to successfully run the app in my phone now.
Related
create react app is not working recently and I get this error
Node couldn't find your project's modules. Have you tried
npm i
I was using module "#nodert-win10-rs4/windows.devices.geolocation" in an electronjs app which was working fine. Later I installed a node module and rebuilt all the modules. Now it stopped working and throwing error. The previous version of that module ( "#nodert-win10-rs4/windows.devices.geolocation") was 1.0.0, Thus I reinstalled it, new version of the module is "0.3.2" but still error. Even i tried this in fresh new electron quick start app and I see the same error. I'm adding here the screenshot of the package.json and the error. (FYI - The module is installed and rebuilt without any error although it has some warning, I've added a screenshot of the installation/built too). Really appreciate any help/suggestions.
I saw other posts with similar errors but I already took the actions mentioned there.
Thanks
Musa
N.B - Cross posted here
I ran into the same issue and here is how I resolved it.
Copy the windows.devices.geolocation into your electron app folder and update the dependencies to point to the location of the folder. You need to this line added to your package.json of your Electron App
"windows.devices.geolocation": "file:windows.devices.geolocation"
Navigate to the newly copied folder and build your NodeRT "addon" to match your Electron version. See this post here NodeRT with Electron
node-gyp rebuild --target=4.0.1 --arch=x64 --dist-url=https://atom.io/download/atom-shell
Run npm install at the the top level Electron app.
I'm getting stuck creating a new project using the Ember plugin with WebStorm. At the bottom it says /usr/local/Cellar/node/9.5.0/bin/node "" init --name=untitled and there's a line that just keeps spinning under it.
Is it missing the script for node to run and what should I look at to fix this? I tried specifying some different path for node and ember but it didn't help.
As we know Create React Native App is the easiest way to start building a new React Native application. But I tried to install this but I got failed.
I am using Node v8.10.0 and npm v4.2.0.
Error Attached below.
I stucked here.
Final Error
Go to Task Manager by ctrl+alt+del and close all the node.js processes. Then rerun the command create-react-native-app <yourname>, this time try it with other name instead of "AwesomeProject".
I am trying to set up this repository locally https://github.com/lrdiv/ember-soundcloud and i have come across to this issue with broccoli-emblem-compiler. See the image in attached
From my understanding the broccoli-emblem-compiler is not able to compile my emblem templates and i don't know how i can figure it out.
These are all the steps i have done to install and set up the project with Ember-Cli
ember new soundcloud
ember install:addon ember-cli-coffeescript
ember install:npm broccoli-emblem-compiler
I have deleted the app folder and replace with the project https://github.com/lrdiv/ember-soundcloud that i have cloned
then i have installed the other node modules required
ember install:npm broccoli-static-compiler
ember install:npm broccoli-merge-trees
ember install:npm install body-parser
and at the end i run
ember server , and in my terminal i get that error i have attached.
What can i do now to sort this out? What's really the problem?
I did many things to try to fix this. One was replacing the project broccoli-emblem-compiler with this line in the project settings:
"broccoli-emblem-compiler": "git+https://github.com/cascalheira/broccoli-emblem-compiler.git"
At some time the error went away, I think it was when I used this repository. It is mentioned in the other issues.
I ran into problems with broccoli-emblem-compiler, but just had success with ember-cli-emblem-hbs-printer -
https://github.com/201-created/ember-cli-emblem-hbs-printer
I was able to solve this by specifying a version of emblem.js in my package.json file.
Specifically, I added the following line:
"emblem": "0.3.14"