I am starting to learn vuejs and I have a problem while creating a vue project with terminal. As you can see in the picture, the loadDep status line keeps spinning without moving. Can someone help me solve this problem T.T
enter image description here
As I can not see which command you have fired for installation in your image.
Please checkout the official Document's Installation Page for more In Depth Installation Information.
https://v2.vuejs.org/v2/guide/installation.html
Use VueCLI for Command Line Installation.
If you are installing Vuejs using the terminal you need to:
Firstly install NPM package manager.
Then run the command below to install VueCLI:
npm install -g #vue/cli #vue/cli-service-global
After executing this command simply check if it works successfully by typing:
vue -v
It should print the vue version if it was successful.
Then you can create a Vue project by using following command:
vue create [Your Project Name]
It is all provided on VueCLI Site.
Related
i updated my question please help me
enter image description here
open the package.json file and change jasmine-core" 3.7.1 to 3.8 and "karma-jasmine-html-reporter" from 1.5.0 to 1.7.0 and save it in devDependancies
Then run
npm install
ng serve
If you don't have a node module folder, you have to run
npm install
command first.
If you already have node module file, you can delete the folder and then run npm install command.
If any of this does not work, you can delete the whole project folder and start from ng new.
If the issue continues, you can update the angular cli and core. Can you send a screenshot of the command prompt after running this command - ng --version ?
I made a node js application and I was using nodemon to restart the server whenever I made changes, I made a repository on github and connected my node project. Now I can't run nodemon because it says command not found. I'm not sure about how to fix it.
install nodeman globally and try again,
hopes you do have configuration file and package.json
npm install nodeman -g
I need help trying to install a node.js package from Github using the npm command prompt. It's an adaptive grid Jquery plugin called Masonjs: https://github.com/DrewDahlman/Mason.
It's my first time to use node.js, hence the difficulty understanding the setup instructions. I've CD'd to the project folder and run the 'install npm' and 'install bower' steps successfully, but I don't understand how to complete the remaining steps: running and building Gulp (is building necessary?).
Any help would be very much appreciated.
If you just want to use masonjs library in your project, you don't need to run gulp commands for running and building. Just cd into your project directory where you have initialized npm/bower and run npm install masonjs / bower install masonjs.
The next step would be to add the mason.js file in your index page. Now there would be different folder structure in which this mason.js file is present.
In case of npm module the path would be {your-project-directory}/node_modules/masonjs/lib
And in case of bower components the path would be {your-project-directory}/bower_components/MasonJS/dist
Now just use this library and it will work perfectly.
I tried Jhipster today and created a new project following the tutorial.
But when I run mvnw command and visit localhost:8080
I got this:
But I have already enabled JavaScript in chrome browser.
Why do I still get this message?
Any advise? Thanks in advance.
This is the status of my project, please refer to the pic below:
Please go through the readme file and then follow the steps given there:
npm istall
npm install yarn --global
yarn start
I use this in the first time run...
Go to app folder and run:
yarn
mvnw
and some times.. only for livereload Angular, in another command line window.
Go to app folder and run:
run yarn start
While generating jHipster gateway one needs to install npm packages separately, if not done this kind of blank page will be thrown.
One can go to project gateway directory and simply hit command npm install this will take a some time to download all required npm packages into your gateway application. Once done run npm start within project directory, it will run the UI application on port 9000 by default, if not changed.
I did the below steps and it is working for me:
yarn install
yarn start or yarn webpack:build:main
I must run micro-crawler https://github.com/WebMole/Micro-Crawler which is a crawler web application, that run with node.js.
I could not figure out how to open this app, I download node.js, and when I write install npm and install bower to the node.js command line nothing happened. Also I did not understand how to start web applicaion after installations
Please help me
Finally I solved the issue
First, I install node.js, then move node.js folder to wampserver directory,
and move the web sites files in the node.js directory
Second, I go to the path where node.js is from command line, then enter "install npm" command
line
The error appeared in this phase for solving I create a npm
folder in c:users/user_name_of_your_computer/app_data/roaming then I installed git and enter the directories of bin and cmd files of git to the system enviroments/path
Third I enter the commands "bower install" and "npm install -g grunt-cli" from the comand. from the path of where node.js is
and the micro-crawler works
Did you execute your .js file? You can do that with node.js cli thus:
path/to/your/file: node file.js
This is a good reference:
How to run a hello.js file in Node.js on windows?