This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-10
Channels
- # aws (3)
- # beginners (186)
- # boot (25)
- # cider (2)
- # cljsrn (57)
- # clojure (161)
- # clojure-boston (1)
- # clojure-dusseldorf (11)
- # clojure-italy (5)
- # clojure-russia (20)
- # clojure-serbia (1)
- # clojure-spec (10)
- # clojure-uk (16)
- # clojurescript (207)
- # community-development (86)
- # core-async (2)
- # cursive (40)
- # datascript (1)
- # datomic (2)
- # editors (5)
- # emacs (8)
- # funcool (1)
- # gsoc (2)
- # hoplon (2)
- # jobs (5)
- # leiningen (3)
- # liberator (18)
- # luminus (18)
- # off-topic (106)
- # om (2)
- # onyx (5)
- # pedestal (7)
- # powderkeg (7)
- # re-frame (7)
- # remote-jobs (1)
- # ring-swagger (4)
- # rum (5)
- # slack-help (1)
- # untangled (11)
- # yada (48)
I can see now. npm i
ought to be run in a directory that has a package.json
file in it. Running npm i
in the untangled-ui project directoy gives reasonable results because there's a package,json
file already there.
gulp watch
gives Failed to load external module babel-register
then Requiring external module babel-core/register
, and finally fails with Error: Cannot find module 'postcss-Nested'
.
I'd suggest yarn
over npm
, it worked find when replacing it on the untangled template (yarn generates a yarn.lock, helps avoiding different install states across time+machines)
Thanks @pedroteixeira. I just installed yarn
and that went fine (I'm on Linux, Debian style). If yarn
is something equivalent to npm
, are there equivalent commands to npm i -g gulp
and npm i
?
yes, has similar CLI interface https://yarnpkg.com/en/docs/cli/ (is dev/maintained by folks at facebook) yarn is faster than npm, and tries to be more "atomic" over the state of node_modules (with npm, it's quite easy to find our node_modules in a corrupted state)
Basically I will just be installing gulp
and then issuing gulp watch
. Not sure what that npm i
command was all about?
@cjmurphy you could try for easy node version management https://github.com/creationix/nvm