Steven Dale edited this page Jul 12, 2015 · 10 revisions

Having trouble? We're friendly! and want to do everything possible to set you up and help you get past roadblocks.

Please have a look below for possible solutions to common problems. Feel free to add an entry if your issue is not listed or if you find incorrect/out of date information.

To get in contact:

Q: I use Intellij. Can I contribute with this editor?

A: Yes! We have a .editorconfig ( file in the project root to maintain formatting standards across all IDEs. Intellij is supported.

Q: I know I've installed Npm, but when I try to run it npm install, I'm getting all sorts of errors.

A: You might've installed Npm with sudo (root permissions). This can be problematic. Follow this tutorial to re-install it

> __Q__: How do I run the unit tests manually?

A: Run $ npm run units

> __Q__: How do I run all the tests?

A: Run $ npm run test

> __Q__: Can I see the chrome extension unit tests in one place?

A: Yup, go to http://localhost:9000/_SpecRunner.html after you have your local server running

> __Q__: I made changes to the Chrome extension source code. Why are my changes not being recognized by the extension when I try to clip/save a tab?

A: The system which listens for changes automatically reload your newest changes, *without you having to reconfigure the extension, unpack or copy files anywhere.

However, you *will need to refresh the tab in which you are testing the clipper, every time you edit the source code

Q: How do I close the server after running npm run server?

A: Press Control X, Control C to kill the process.

Q: I'm trying to run Meteor commands, and I keep seeing errors/output like You are not in a Meteor project directory

A: You need to enter the Meteor directory to run Meteor commands. Try cd meteor-app from the project root.

Q: I'm trying to run npm run server to start the server and get going. I see:

xxx@username:~/code/parallels-core-modules/meteor-app]$ npm run server
npm ERR! Error: ENOENT, open '/Users/xxxxx/code/parallels-core-modules/meteor-app/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <>

npm ERR! System Darwin 13.4.0
npm ERR! command "node" "/usr/local/bin/npm" "run" "server"
npm ERR! cwd /Users/xxxxx/code/parallels-core-modules/meteor-app
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! path /Users/xxxxx/code/parallels-core-modules/meteor-app/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/xxxxx/Code/code/parallels-core-modules/meteor-app/npm-debug.log
npm ERR! not ok code 0

A: npm commands need to be run from the project root.

Q: I dont want to run all the stuff that happens when npm run server runs. I just want the one meteor run command.

A: cd meteor-app and run your meteor commands there. To start the server, you'll need to start with the settings file. Try meteor run --port 3000, or update the port number to change to another port. This is useful if you have something else you are working on that defaults to port 3000

Q: I did cd meteor-app and then meteor reset to clear the Mongo db, but I'm getting an error:

reset: Meteor is running.

This command does not work while Meteor is running your application. Exit the running Meteor development server.

A: You can't run this command while Meteor is running. Shut down your meteor server by closing all open terminal windows that are running npm run server (which runs the Meteor server under the hood).

If there are none, there's probably an orphan lock and some Meteor process still running. Try

ps -x | grep meteor , which should gives you some output like :

50136 ??         0:03.24 /Users/xxxxx/.meteor/packages/velocity_meteor-tool/.1.1.3_3.1ieennv++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/mongodb/bin/mongod --bind_ip --smallfiles --port 3001 --dbpath /Users/thoughtworker/Code/code/parallels-core-modules/meteor-app/.meteor/local/db --oplogSize 8 --replSet meteor
51804 ttys000    0:00.00 grep meteor

take the process ID for the Meteor entry, in this case 50136, and run the kill command, like so:

kill -s KILL 50136

Now try meteor reset

Q: I have a Wacom tablet plugged in, and am trying to create a sketch bit (using the S key command). I see the sketch bit created, but the system doesn't recognize my Wacom tablet?

A: You need to take several steps to allow your browser (and thus Parallels), to see your device:

  • 1: If you have Chrome, enable the NPAPI plugin, which allows the browser to communicate with the tablet hardware: Go to custom settings by going to chrome://flags/#enable-npapi.
  • 2: After enabling, browser will prompt you for access to the plugin. Allow it, and then you should be able to use your Wacom's stylus, sketching on the bit, in Parallels

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.