Open brw31415 opened 8 years ago
You should be able to do a local install, as long as you can modify your $PATH
to include ./node_modules/.bin
. Note that the CLI commands will then only work in the root directory of your project.
great, thanks for your quick response. what about the issue of node and npm versions? what is the minimum required.
On Thu, Nov 19, 2015 at 12:20 PM, Viktor Charypar notifications@github.com wrote:
You should be able to do a local install, as long as you can modify your $PATH to include ./node_modules/.bin. Note that the CLI commands will then only work in the root directory of your project.
— Reply to this email directly or view it on GitHub https://github.com/arch-js/arch/issues/102#issuecomment-158125708.
I am not really sure to be honest. We should support node 10 just fine and npm version shouldn't matter at all, but I can't promise it will work. Don't think we ever tried.
I would definitely be interested in how it went when you try.
Viktor,
These are error messages from two failed attempts using npm to install it locally
http://pastebin.com/0EiTcTcD node 10.29 debian
http://pastebin.com/UknsuXT9 node 10.40 ubuntu
On Thu, Nov 19, 2015 at 12:32 PM, Viktor Charypar notifications@github.com wrote:
I am not really sure to be honest. We should support node 10 just fine and npm version shouldn't matter at all, but I can't promise it will work. Don't think we ever tried.
I would definitely be interested in how it went when you try.
— Reply to this email directly or view it on GitHub https://github.com/arch-js/arch/issues/102#issuecomment-158129362.
I did have it running globally on one system, but the admin took it all down because i'm not supposed to run globally.
on another system, I got this far and then it wouldn't run. (also how to you change the port number from something other than 3000)
Your Arch app has been generated! Use 'arch-cli s' to run it. brw314:~/workspace $ brw314:~/workspace $ arch-cli s
module.js:340 throw err; ^ Error: Cannot find module '/home/ubuntu/workspace/node_modules/arch/package.json' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at startServer (/home/ubuntu/workspace/node_modules/arch-cli/lib/serve.ls:45:13) at init (/home/ubuntu/workspace/node_modules/arch-cli/lib/serve.ls:37:3) at /home/ubuntu/workspace/node_modules/arch-cli/lib/serve.ls:123:14 at Object.cb as oncomplete brw314:~/workspace $
On Thu, Nov 19, 2015 at 4:07 PM, Brian Wolf brw31415@gmail.com wrote:
Viktor,
These are error messages from two failed attempts using npm to install it locally
http://pastebin.com/0EiTcTcD node 10.29 debian
http://pastebin.com/UknsuXT9 node 10.40 ubuntu
On Thu, Nov 19, 2015 at 12:32 PM, Viktor Charypar < notifications@github.com> wrote:
I am not really sure to be honest. We should support node 10 just fine and npm version shouldn't matter at all, but I can't promise it will work. Don't think we ever tried.
I would definitely be interested in how it went when you try.
— Reply to this email directly or view it on GitHub https://github.com/arch-js/arch/issues/102#issuecomment-158129362.
regarding the last error package.json is in the highest level dir (/workspace), not where its looking (node_modules/arch/)
On Thu, Nov 19, 2015 at 5:09 PM, Brian Wolf brw31415@gmail.com wrote:
I did have it running globally on one system, but the admin took it all down because i'm not supposed to run globally.
on another system, I got this far and then it wouldn't run. (also how to you change the port number from something other than 3000)
Your Arch app has been generated! Use 'arch-cli s' to run it. brw314:~/workspace $ brw314:~/workspace $ arch-cli s
module.js:340 throw err; ^ Error: Cannot find module '/home/ubuntu/workspace/node_modules/arch/package.json' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at startServer (/home/ubuntu/workspace/node_modules/arch-cli/lib/serve.ls:45:13) at init (/home/ubuntu/workspace/node_modules/arch-cli/lib/serve.ls:37 :3) at /home/ubuntu/workspace/node_modules/arch-cli/lib/serve.ls:123:14 at Object.cb as oncomplete brw314:~/workspace $
On Thu, Nov 19, 2015 at 4:07 PM, Brian Wolf brw31415@gmail.com wrote:
Viktor,
These are error messages from two failed attempts using npm to install it locally
http://pastebin.com/0EiTcTcD node 10.29 debian
http://pastebin.com/UknsuXT9 node 10.40 ubuntu
On Thu, Nov 19, 2015 at 12:32 PM, Viktor Charypar < notifications@github.com> wrote:
I am not really sure to be honest. We should support node 10 just fine and npm version shouldn't matter at all, but I can't promise it will work. Don't think we ever tried.
I would definitely be interested in how it went when you try.
— Reply to this email directly or view it on GitHub https://github.com/arch-js/arch/issues/102#issuecomment-158129362.
You can change the port with the ARCH_PORT
environment variable I believe.
Not sure about the other error. @tabazevedo any ideas?
@brw31415 looking through your log it seems you have a problem with your node installation and its telling you to run
echo "export NODE_PATH=$NODE_PATH:/nix/store/a5ibcbcsm473kdr75kj4gpsr28ndnknp-nodejs-0.10.26/lib/node_modules" >> ~/.bashrc && source ~/.bashrc
Hi Victor,
I just thought I'd send you this link regarding problems with npm.
On Thu, Nov 19, 2015 at 5:20 PM, Tiago Azevedo notifications@github.com wrote:
@brw31415 https://github.com/brw31415 looking through your log it seems you have a problem with your node installation and its telling you to run echo "export NODE_PATH=$NODE_PATH:/nix/store/a5ibcbcsm473kdr75kj4gpsr28ndnknp-nodejs-0.10.26/lib/node_modules"
~/.bashrc && source ~/.bashrc
— Reply to this email directly or view it on GitHub https://github.com/arch-js/arch/issues/102#issuecomment-158218628.
http://www.sitepoint.com/solve-global-npm-module-dependency-problem/
On Sat, Nov 21, 2015 at 2:57 PM, Brian Wolf brw31415@gmail.com wrote:
Hi Victor,
I just thought I'd send you this link regarding problems with npm.
On Thu, Nov 19, 2015 at 5:20 PM, Tiago Azevedo notifications@github.com wrote:
@brw31415 https://github.com/brw31415 looking through your log it seems you have a problem with your node installation and its telling you to run echo "export NODE_PATH=$NODE_PATH:/nix/store/a5ibcbcsm473kdr75kj4gpsr28ndnknp-nodejs-0.10.26/lib/node_modules"
~/.bashrc && source ~/.bashrc
— Reply to this email directly or view it on GitHub https://github.com/arch-js/arch/issues/102#issuecomment-158218628.
hi still having some install issues:
on debian jesse , node v5.0 npm
3.3.6everything seems to work fine until:
identical app/routes/welcome.ls npm WARN install Couldn't install optional dependency: Unsupported npm ERR! Linux 4.1.0-insomnia247 npm ERR! argv "/home/brw314/.nvm/v5.0.0/bin/node" "/home/brw314/.nvm/v5.0.0/bin/npm" "install" npm ERR! node v5.0.0 npm ERR! npm v3.3.6
npm ERR! Cannot read property
'localeCompare' of undefined npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the
following file with any support request: npm ERR! /home/brw314/npm-debug.log Your Arch app has been generated! Use 'arch-cli s' to run it. brw314@Lydia:~/arch5$ arch-cli s module.js:339 throw err; ^
Error: Cannot find module
'/home/brw314/arch5/node_modules/arch/package.json' at Function.Module._resolveFilename (module.js:337:15) at Function.Module._load (module.js:287:25) at Module.require (module.js:366:17) at require (module.js:385:17) at startServer (/home/brw314/.nvm/v5.0.0/lib/node_modules/arch-cli/lib/serve.ls:45:13) at init (/home/brw314/.nvm/v5.0.0/lib/node_modules/arch-cli/lib/serve.ls:37:3) at /home/brw314/.nvm/v5.0.0/lib/node_modules/arch-cli/lib/serve.ls:123:14 at FSReqWrap.cb as oncomplete brw314@Lydia:~/arch5$
On Sat, Nov 21, 2015 at 3:11 PM, Brian Wolf brw31415@gmail.com wrote:
http://www.sitepoint.com/solve-global-npm-module-dependency-problem/
On Sat, Nov 21, 2015 at 2:57 PM, Brian Wolf brw31415@gmail.com wrote:
Hi Victor,
I just thought I'd send you this link regarding problems with npm.
On Thu, Nov 19, 2015 at 5:20 PM, Tiago Azevedo notifications@github.com wrote:
@brw31415 https://github.com/brw31415 looking through your log it seems you have a problem with your node installation and its telling you to run echo "export NODE_PATH=$NODE_PATH:/nix/store/a5ibcbcsm473kdr75kj4gpsr28ndnknp-nodejs-0.10.26/lib/node_modules"
~/.bashrc && source ~/.bashrc
— Reply to this email directly or view it on GitHub https://github.com/arch-js/arch/issues/102#issuecomment-158218628.
hi, i'm seeking poor man's alternative way to install this since i use free cloud based (ie cloud9, sourceLair) services or remote machine owned by someone else. In all these cases I cant do a global install. Also most aren't using the latest version of node (10.4) or npm (2.6). Can I install and run it locally, say using git? thanks, i'm really anxious to start studing and using this. brian