Skip to content
This repository has been archived by the owner on Nov 27, 2019. It is now read-only.

Commit

Permalink
fix: Fixed Cannot find module 'any-promise' with npm 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar303 committed Jul 14, 2016
1 parent 31f3dda commit e554059
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ before_install:
- export DISPLAY=:99.0
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile
--background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 -extension RANDR
- npm install -g npm
# On 0.10, we want to test with the default version of npm, otherwise
# upgrade to the latest.
- if [[ ${TRAVIS_NODE_VERSION:0:1} -gt "0" ]]; then
npm install -g npm;
fi
install:
- npm install
script:
Expand Down
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,12 @@ Replacing the previous python tool for developing Firefox Add-ons, [cfx](https:/

## Install

To install with npm, version 3.0.0 or higher is required.
Make sure you are up to date:

npm install --global npm

Here's how to
[complete the npm upgrade](https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows)
on Windows.

Install the jpm module:
Install the latest stable version from NPM:

npm install --global jpm


Install from GitHub to get the latest features or to work on jpm itself.
Alternatively, you can install
from the GitHub source to get the latest features or to work on jpm itself.
Use [npm link](https://www.npmjs.org/doc/cli/npm-link.html) to add the `jpm` global to your path:

git clone https://github.com/mozilla-jetpack/jpm.git
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"read": "1.0.7",
"request": "2.67.0",
"semver": "5.1.0",
"sign-addon": "0.1.1",
"sign-addon": "0.1.2",
"tmp": "0.0.28",
"when": "3.7.2",
"xml2js": "0.4.16",
Expand Down

0 comments on commit e554059

Please sign in to comment.