Closed Doomedfajita closed 7 years ago
Can you please provide all the commands you typed to install AMI?
Googling around, it may be at NPM misconfiguration on your machine.
You shouldn't have to install "shelljs", it is already part of the NPM dependencies (https://github.com/FNNDSC/ami/blob/dev/package.json#L89)
The commands are as follows, after I installed node and yarn :
$> git clone https://github.com/FNNDSC/ami.git
$> cd ami
$> yarn run example geometries_slices
On Mon, Jul 10, 2017 at 4:49 PM, Nicolas Rannou notifications@github.com wrote:
You shouldn't have to install "shelljs", it is already part of the NPM dependencies (https://github.com/FNNDSC/ami/blob/dev/package.json#L89)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FNNDSC/ami/issues/164#issuecomment-314234433, or mute the thread https://github.com/notifications/unsubscribe-auth/APKQb-_JBbeEQim_iK9a-0WFYY_j97rEks5sMo5NgaJpZM4OS6bD .
And I figured that shelljs came packaged, I couldn't find any way to remedy it though.
On Tue, Jul 11, 2017 at 1:18 PM, Sead Niksic saybayn11@gmail.com wrote:
The commands are as follows, after I installed node and yarn :
git clone https://github.com/FNNDSC/ami.git
cd ami
yarn run example geometries_slices
On Mon, Jul 10, 2017 at 4:49 PM, Nicolas Rannou notifications@github.com wrote:
You shouldn't have to install "shelljs", it is already part of the NPM dependencies (https://github.com/FNNDSC/ami/blob/dev/package.json#L89)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FNNDSC/ami/issues/164#issuecomment-314234433, or mute the thread https://github.com/notifications/unsubscribe-auth/APKQb-_JBbeEQim_iK9a-0WFYY_j97rEks5sMo5NgaJpZM4OS6bD .
I'm running Ubuntu in a virtual machine, could that be an issue?
On Tue, Jul 11, 2017 at 1:19 PM, Sead Niksic saybayn11@gmail.com wrote:
And I figured that shelljs came packaged, I couldn't find any way to remedy it though.
On Tue, Jul 11, 2017 at 1:18 PM, Sead Niksic saybayn11@gmail.com wrote:
The commands are as follows, after I installed node and yarn :
git clone https://github.com/FNNDSC/ami.git
cd ami
yarn run example geometries_slices
On Mon, Jul 10, 2017 at 4:49 PM, Nicolas Rannou <notifications@github.com
wrote:
You shouldn't have to install "shelljs", it is already part of the NPM dependencies (https://github.com/FNNDSC/ami/blob/dev/package.json#L89)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/FNNDSC/ami/issues/164#issuecomment-314234433, or mute the thread https://github.com/notifications/unsubscribe-auth/APKQb-_JBbeEQim_iK9a-0WFYY_j97rEks5sMo5NgaJpZM4OS6bD .
@Doomedfajita , it seems you are missing one step during installation:
$> git clone https://github.com/FNNDSC/ami.git
$> cd ami
$> yarn install --ignore-optional
$> yarn run example geometries_slices
I'm sorry to be a bother - which step would that be? It seems as though they are the same.
On Jul 12, 2017 6:30 AM, "Nicolas Rannou" notifications@github.com wrote:
@Doomedfajita https://github.com/doomedfajita , it seems you are missing one step during installation:
$> git clone https://github.com/FNNDSC/ami.git $> cd ami $> yarn run example geometries_slices
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FNNDSC/ami/issues/164#issuecomment-314721836, or mute the thread https://github.com/notifications/unsubscribe-auth/APKQb5bRpr8sCKaFU0WAbh-Bc5F9tDqFks5sNKAygaJpZM4OS6bD .
You didn't run 'yarn install --ignore-optional'
I figured it out! Thank you for all your help. I originally had included the "yarn install --ignore-optional", but I didn't realize yarn was using an older version (0.22). It kept throwing an error about --ignore-option not a valid command. I updated it to 0.275 manually, and then used the instructions and it worked!
On Wed, Jul 12, 2017 at 10:08 AM, Nicolas Rannou notifications@github.com wrote:
You didn't run 'yarn install --ignore-optional'
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FNNDSC/ami/issues/164#issuecomment-314780538, or mute the thread https://github.com/notifications/unsubscribe-auth/APKQb7pEezyBk5pDipkOFKKQEG_fXEoOks5sNNNfgaJpZM4OS6bD .
Hi!
I keep getting this error when attempting to "yarn run example":
module.js:471 throw err; ^
Error: Cannot find module 'shelljs/global' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (/home/sead/Desktop/ami/ami/scripts/router.js:1:63)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
I'm running Ubuntu 14.04 64 bit.
I installed shelljs - "sudo npm install -g shelljs" successfully.
Any help would be much appreciated!!!!