Problems with installation? Read this!

If you have an issue with Sharetribe installation, this forum is the right place to ask help!

Before you post a new topic make sure that:

If you didn’t find existing topic, feel free to create a new one!

If you think you found a bug in the Sharetribe code, consider adding a new Issue to Github.

2 Likes

A post was split to a new topic: Bundle exec rake ts:start - Errno::EISDIR: Is a directory @ io_fread - /

Hello,

I’m trying to get sharetribe running on my local mac. I’ve followed the readme on github and got to step 12 running the development server. Looks like it’s failing on “Failed to exec styleguide script”? Any help would be appreciated.

Thanks,

Holger

here’s the npm-debug.logs:
0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/local/bin/node’,
1 verbose cli ‘/usr/local/bin/npm’,
1 verbose cli ‘run’,
1 verbose cli ‘styleguide’ ]
2 info using npm@3.10.3
3 info using node@v6.3.1
4 verbose run-script [ ‘prestyleguide’, ‘styleguide’, ‘poststyleguide’ ]
5 info lifecycle @~prestyleguide: @
6 silly lifecycle @~prestyleguide: no script for prestyleguide, continuing
7 info lifecycle @~styleguide: @
8 verbose lifecycle @~styleguide: unsafe-perm in lifecycle true
9 verbose lifecycle @~styleguide: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/holger/dev/sharetribe/client/node_modules/.bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin/:/Applications/Postgres.app/Contents/MacOS/bin:/Users/holger/dev/tools/play-2.0:/Users/holger/dev/tools/android-sdk-macosx/tools:/usr/share/grails/bin::/usr/share/ec2/bin:/usr/local/Cellar/ruby/2.3.1//bin
10 verbose lifecycle @~styleguide: CWD: /Users/holger/dev/sharetribe/client
11 silly lifecycle @~styleguide: Args: [ ‘-c’, ‘start-storybook -p 9001’ ]
12 silly lifecycle @~styleguide: Returned: code: 1 signal: null
13 info lifecycle @~styleguide: Failed to exec styleguide script
14 verbose stack Error: @ styleguide: start-storybook -p 9001
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:242:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:852:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid @
16 verbose cwd /Users/holger/dev/sharetribe/client
17 error Darwin 15.5.0
18 error argv “/usr/local/bin/node” “/usr/local/bin/npm” “run” "styleguide"
19 error node v6.3.1
20 error npm v3.10.3
21 error code ELIFECYCLE
22 error @ styleguide: start-storybook -p 9001
22 error Exit status 1
23 error Failed at the @ styleguide script ‘start-storybook -p 9001’.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error start-storybook -p 9001
23 error You can get information on how to open an issue for this project with:
23 error npm bugs
23 error Or if that isn’t available, you can get their info via:
23 error npm owner ls
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Hi Holger,

Currently we use node version v6.1.0, I think switching to that might solve your problem. You can use n or nvm to easily run different versions of node.js.

Hope this helps,
Hannu

1 Like

Hi,

when i install this on my centos 6 - vps

npm install

npm WARN lifecycle undefined~postinstall: cannot run in wd %s %s (wd=%s) undefined cd client && npm i   nstall /var/www/html

when i tried the next one

bundle exec rake db:create

Your bundle is locked to tzinfo (1.2.2), but that version could not be found in any of the sources listed in your Gemfile. If you haven’t changed sources, that means the author of tzinfo (1.2.2) has removed it. You’ll need to update your bundle to a different version of tzinfo (1.2.2) that hasn’t been removed in order to install.

seems your installation instruction is not quite enough! if any error, that want to answer itself

any solution for me

@frameworkers tzinfo 1.2.2 can be found from RubyGems.org which is the source we use.

I’m going to close this topic now. The purpose of this topic was to give some pointers where you might find the information before posting (README, forum search, Github Issues etc.)

If you have an installation issue and you didn’t find the information from the sources listed above, feel free to open a new topic!