Comments (4)
Made some, please confirm that it works out for you.
from jumpfm.
Thanks, it really helps easy involved in development.
Some remarks:
-
For installing npm packages globally must used root rights for this needed add
sudo
before line:
npm i -g typescript
sudo npm i -g typescript // is right variant for Linux
-
electron .
I see that you use globally installed electron, for this I propose change command line from remark 1 to follow variant:
sudo npm i -g typescript electron
But in my distribution, I have errors during global install electron
$ sudo npm i -g electron
[sudo] password for mikhail:
/usr/bin/electron -> /usr/lib/node_modules/electron/cli.js
> [email protected] postinstall /usr/lib/node_modules/electron
> node install.js
/usr/lib/node_modules/electron/install.js:48
throw err
^
Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/electron/.electron'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-08-26T20_32_31_504Z-debug.log
I think it bug in electron package
instead of mkdir '/usr/lib/node_modules/electron/.electron'
they should use mkdir -p' /usr/lib/ node_modules/electron/.electron'
For example:
# mkdir '/usr/lib/node_modules/electron/.electron'
mkdir: can not create directory '/usr/lib/node_modules/electron/.electron': No such file or directory
# mkdir -p '/usr/lib/node_modules/electron/.electron'
Until this bug not fixed I'm forced to install electron locally and launch jumpfm with command
$ ./node_modules/.bin/electron .
- How much time
tsc -w
working ???
$ tsc -w
1:40:32 AM - Compilation complete. Watching for file changes.
I am waiting several minutes for the exit of this command, but not having waited completion and exit in terminal, terminate it by Ctrl + C.
Jumpfm works despite this, but it left me with unpleasant after-taste.
from jumpfm.
I updated the README.
- You might want to change npm's default directory
- Use different terminal for each of
tsc -w
,sass --watch scss:css
,electron .
these commands don't return until you kill them.
from jumpfm.
Thanks, I am also would added warning note:
Due the electron an unsupport installation under root, don't use sudo, change owner of node_modules instead sudo chown -vR `whoami` `npm get prefix`/lib/node_modules/
or change prefix to home dir mkdir ~/npm-global && npm config set prefix ~/npm-global/
Also would be nice have helpers for develop plugins in git. I means that all plugins automatically downloaded as npm modules to directory ~/.jumpfm/plugins/node_modules
For example I want make some changes to jumpfm-fs plugin for eliminate annoying Panel updates when changed some files, add sorting, etc . And I needed manually symlink ~/.jumpfm/plugins/node_modules/jumpfm-fs
to repo https://github.com/JumpFm/jumpfm-fs
which I need clone separately. And use separate copy of tsc -w
for plugin. Also I'm constantly afraid that jump-fs will automatically update plugin jumpfm-fs and erase all my uncommitted edits. So it would be very usefull have ability have development version of plugin inside directory plugin inside jumpfm directory. And plugins can be added to this directory with git command.
from jumpfm.
Related Issues (20)
- Error feedback
- Jumping drives on Windows HOT 1
- Add plugin that gives an overview of key-bindings
- Error when clonong and with tsw, electron
- Typescript and sass are global dev dependencies
- can't edit jump suggestions
- jump command (`j`): allow dot (`.`) and tilde (`~`) shortcut
- Support for multiple drives in windows
- Open in Terminal HOT 1
- Tabs Support
- compare folders' files list?
- Mouse support
- Program freezes on flattening a large directory
- Add confirmation dialogs for deleting files
- Git-status plugin: Panel is blinking when inside git directory
- Set weather to F?
- Gist created at undefined
- Project dead? HOT 1
- Building error HOT 1
- App image does not work with new Pango libray from Ubuntu-focal upwards.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jumpfm.