I'm getting this error when I'm trying to update my custom generator.
npm ERR! 404 'generator-blsp' is not in the npm registry.
The generator is working just fine, the old version.
I did some minor changes in the generator and changed the version number.
Then I ran the update generator function from the yo menu, I can still see the symlink to my project in /usr/local/lib/node_modules/
Have I missed a step or something?
Apparently I had 2 installations of node with the old generator installed in the other installation.
/usr/lib/node_modules
&&
/usr/local/lib/node_modules/
Related
I'm trying to setup angularfire generator.
I did npm install -g generator angularfire
The generator was installed successfuly.
And when I run yo angularfire in my newly created directory,it asks few options like firebase instance and which modules to include , but after that it shows the following error
You don't seem to have a generator with the name angularfire:common:C:\Users\SATWIK\AppData\Roaming\npm\node_modules\generator-angularfire\app\index.js installed.
Also I've checked that the file index.js does exist at this path.
As suggested in some of the answers on stackoverflow I've also tries npm install -G generator-angularfire and npm install generator-angularfire but none of them worked.
I also did yo doctor but it shows Everything is fine . Is there any fix to this problem?
This is a regression we had in our last release. It's now fixed https://github.com/yeoman/environment/releases/tag/v1.5.2
npm -g update yo to fix that issue.
I am currently upgrading to the most recent version of react from 0.11.0 branch.
I have upgraded successfully through each step with minimal issues but when I got to 0.14.0 I hit some issues with:
node_modules/react-native/packager/react-native-xcode.sh
No matter what I do all my machines seem to get this same error.
Command `bundle` unrecognized. Did you mean to run this inside a react-native project?
I also run this same command that script runs from my terminal in the same location and it works fine, I have also set the path as well and before the script runs no mas, set path inside the script still nothing.
I am hoping someone else has saw this and has found a solution or is there a work around so we dont need this script.
I started this project with react-native ~0.6.0 maybe even a little earlier.
I have even removed nvm to combat this issue and using single install of node which is on PATH in both conditions.
Thanks!
Have you installed the latest version of react-native-cli globally?
npm uninstall -g react-native-cli
npm install -g react-native-cli
I personally preferred to install it as a dev dependency.
yarn add -D react-native-cli
I am trying to create an ionic app on Mac.
I followed the instructions on ionic's website to create a basic app and was able to run it in the browser but when I run "ionic build ios" I get following error. I cannot find a log file or any other error to debug this. How do I go about fixing this?
Check your Gulp version and gulpfile.js. You may need to remove the calls to gulp.src
See:
Gulp TypeError: Arguments to path.join must be strings
and
https://github.com/sindresorhus/gulp-ruby-sass/issues/191
ok, after lot of looking and searching I figured my npm install was messed up.
Part of my installs were in /usr/local and few of them were in /User/user.name/npm folders. /Users/user.name/npm was set in the npm config prefix.
I had two installs of cordova, one on each folder above. Some how the cordova from /usr/local was getting used to create the project and that was the old version.
To fix the problem, I uninstalled all my global npm installs and pointed my npm config prefix to /usr/local and gave myself execute permission on that folder. Everything is working now.
Here is the video that explains how to do it: https://docs.npmjs.com/getting-started/fixing-npm-permissions
I'm trying to follow the wikipedia ios project at https://github.com/wikimedia/apps-ios-wikipedia/ and I'm having problem while running "make get-deps". I always got the prompt of "Missing node v0.10 and/or higher and npm 1.4 or higher", but I do have the node & npm installed already.
The version of node is v0.12.0 and the version of npm is 2.5.1.
Relevant code is here. The Makefile is essentially asking for npm#1.4; the message says "1.4 or higher" but really the code is only checking for 1.4 (despite npm#2's existence for a few months now). Until they update that, you might be able to simply comment out the exit 1 so that the process continues.
I've been trying to do a custom build of Zepto (I do have coffee installed globally already), with the following commands:
git clone https://github.com/madrobby/zepto.git
cd zepto/
npm install
MODULES="polyfill zepto event ajax fx touch" ./make dist
but keep running into the problem of things hanging immediately after
> zepto#1.0.0 dist /Users/johnny/Development/zepto
> coffee make dist
With the lack of verbose build commentary from coffee, I can't tell if anything's erroring, but I can't imagine that building Zepto would take more than a few minutes (and certainly not over an hour). Even their default dist build (without customizations) hangs at the same place, and happens both on my Ubuntu and Mac boxes.
As per https://github.com/madrobby/zepto/issues/782#issuecomment-20852321 if you install coffeescript > 1.5.0 this problem should go away. You can get the latest by running:
sudo npm install -g coffee-script
I was having the same problem and bumping my version of coffeescript fixed it (i was on 1.4.0)
Replace ./make dist with npm run-script dist
It works for me.
I was struggling with the same problem and came across this web app which generates a custom zepto build for you. All you have to do is select the modules you want included. I just used it and it worked fine:
http://github.e-sites.nl/zeptobuilder/