npm-install

PhantomJS has crashed - Fatal Windows exception, code 0xc0000005

只谈情不闲聊 提交于 2019-12-10 13:15:23
问题 We have built a application using EmberJS. We got a failure message when we test the application using ember test . Here I mentioned the error message OS: Windows 8(64-bit) PhantomJS: 2.1.1 PhantomJS - error --- message: > Error: Non-zero exit code: 3221225477 Stderr: Fatal Windows exception, code 0xc0000005. PhantomJS has crashed. Please read the bug reporting guide at <http://phantomjs.org/bug-reporting.html> and file a bug report. Log: | { type: 'error', text: 'Error: Browser exited

Unable to read typings for “es6-shim” during npm install

℡╲_俬逩灬. 提交于 2019-12-10 12:45:39
问题 I am following deborah kurata's angular2 getting started course on pluralsight and installed node.js and then ran the npm install (after installing cntlm as I am behind a corporate proxy firewall). However I am receiving the following error > product-management@1.0.0 postinstall c:\Users\test\Documents\Visual Studio 2015\Projects\Angular2 > typings install typings ERR! message Unable to read typings for "es6-shim". You should check the entry paths in "es6-shim.d.ts" are up to date typings ERR

Failed at the v8-debug@0.4.6 install script 'node-pre-gyp install --fallback-to-build

守給你的承諾、 提交于 2019-12-10 10:35:40
问题 Having this issue when using npm install. (lots of other people had this issue aswell with other commands/tasks). I'm adding this question as a reference to a solution that has already worked for quite a few people. 回答1: russfrisch commented 4 days ago: I was experiencing this same issue. Changing in the version for grunt-node-inspector to prepend a ">=" instead of a "~" got this to work for me. Link to github page where I found this solution. 回答2: On Ubuntu 16.04, what worked for me was

Webpack command not found

风格不统一 提交于 2019-12-10 01:21:31
问题 I have installed webpack using npm install -g webpack and npm install webpack I also installed webpack-dev-server npm install -g webpack-dev-server After completion of installation, I ran the command webpack but, it shows below error webpack: command not found I am not getting what is the error. 回答1: Your webpack exists in ./node_modules/.bin/ folder . So you should execute this command : ./node_modules/.bin/webpack Check out the answer in this thread . webpack command not working 回答2: As a

npm post-install typings not working correctly

狂风中的少年 提交于 2019-12-09 15:41:44
问题 I have the following packages.json: { "name": "shopping-assistant-angular", "version": "1.0.0", "scripts": { "start": "concurrent \"npm run tsc:w\" \"npm run lite\" ", "tsc": "tsc", "tsc:w": "tsc -w", "lite": "lite-server", "typings": "typings", "postinstall": "typings install" }, "license": "ISC", "dependencies": { "angular2": "2.0.0-beta.7", "systemjs": "0.19.23", "es6-promise": "^3.0.2", "es6-shim": "^0.33.3", "reflect-metadata": "0.1.2", "rxjs": "5.0.0-beta.2", "zone.js": "0.5.14" },

Can't run “npm install” without deleting node_modules after upgrading to NPM 5.4.1

自闭症网瘾萝莉.ら 提交于 2019-12-08 19:16:56
问题 I've upgraded NPM from 5.3.0 to 5.4.1 and after that, it seems that the command npm install works only if I've removed node_modules . When I try to rerun the installation, I'm getting the following error message. (After that, if I again remove node_modules , the command run install works - once .) PS C:\source\website> npm install npm ERR! path C:\source\website\node_modules\fsevents\node_modules\aproba\package.jsonvet.Web npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall unlink npm

npm ERR! Invalid name: “@angular/core” when following the Angular 2 Quick Start

﹥>﹥吖頭↗ 提交于 2019-12-08 16:25:39
问题 I am trying to follow the Angular 2 Quick Start and one of the first steps is to setup the environment. I am not completely new to npm - I managed to install and try out Ember, but that's about it. Below is the package.json file I created (copied from the above link). When I run npm install here is what I get. The quick start says I should not see any npm ERR! lines. npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating

Nodemon installed but can't be found

戏子无情 提交于 2019-12-08 11:33:31
问题 I've tried uninstalling and and reinstalling nodemon several times both locally and globally with: npm install -g nodemon (tried it both with and without sudo ) and it seems to install no problem, and gives me: /usr/local/bin/bin/nodemon -> /usr/local/bin/lib/node_modules/nodemon/bin/nodemon.js /usr/local/bin/lib └── nodemon@1.11.0 but whenever I run nodemon server.js in my app, I get; -bash: nodemon: command not found Like I mentioned, I've tried the same process but installing locally to my

How to 'import' Vuejs component into index.html?

醉酒当歌 提交于 2019-12-08 10:50:25
问题 I use Vue.js CDN and I put all the Vuejs code inside a script tag in index.html. It works fine. However, I'd like to use this component to add tags functionality. But I receive this error : This is how my code looks like: <script> import VTagInput from 'v-tag-input' Vue.use(VTagInput) var app = new Vue({ el: '#app', delimiters: ["[[", "]]"], components: {VTagInput}, tags: [] data: { errors: [], I npm installed the package as specified in the github repo. This is the head tag: <head> <meta

npm install ember-cli Maximum call stack size exceeded

家住魔仙堡 提交于 2019-12-08 09:21:46
问题 I'm facing a similar issue found in this question: Win 8.1, Vagrant, Chef, Ubuntu, Ember-cli, ember new "npm ERR! tar.unpack untar error /home/vagrant/.npm/" I'm trying to update an older ember project to 2.1 using the new ember-cli. I'm running my project on a vagrant server. I have node (v.0.12.7), npm (3.3.10), bower (1.6.5) and ember-cli -g (version: 1.13.8, node: 0.12.7, npm: 2.13.4, os: linux x64) installed. Yet, whenever I'm running "npm install --no-bin-links" on the project generated