-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on yarn start #11
Comments
Update: reinstalled using this instead of composer:
First
BTW no worries, juts providing feedback. |
Thanks @rick02840 for the feedback. This is deeply appreciated. It seems that there is a problem getting some configuration from your Contenta CMS. The error code is making it hard to debug. I'll see if I can have more explicit errors. In the mean time, have you verified that nodejs has networking and can talk to Drupal? |
Hi Mateu, I do not know that much about nodejs, so not sure how to test it has networking, etc. I can confirm these things: Sites/ My contntentajs/config/local.yml has this in it:
That is per instructions here ("Configure"): https://github.com/contentacms/contentajs/blob/master/docs/install.md Hmmmm... wonder how it knows to use local.yml ? Other info: node -v Thanks, Rick |
Same issue here. It looks like api path is setup to /jsonapi by default. It looks like api paths must be provided in local.yml file as well or it uses an empty array... Can you provide an example env: from yml config file please? Below code snippet from file: contentajs-master/lib/helpers/app.js:48:27 const jsonApiPrefix = .get(process, 'env.jsonApiPrefix', '/api');
|
I'e noticed there's an 500 error before Syntax error I've posted... /jsonrpc url failes...
ContentaCMS '/jsonrpc' url:
|
There is an initial handshake between Contenta CMS and Contenta JS to pass some configuration along. That process seems to be breaking due to validation of the response. I will take a look and try to reproduce. |
@swr82 @rick02840 make sure |
@smira2000 it is enabled :) |
@smira2000 @swr82 this was an issue in Contenta CMS. That should be fixed now. That may require for you to re-install or apply the fix. Can anyone re-try and confirm the fix? |
Hi @e0ipso,
|
@smira2000 Sorry been off this for a while, back on. I did not have
But I do have composer and drush:
Other info:
My previous local Contenta CMS is running fine: http://contentacms:8888/admin/api Assuming re-install of Contenta CMS is the fix, I will try doing that with the normal install when I get a chance. Just reporting this for now. |
@rick02840 please provide the full path to the installer instead of just There are 2 new videos linked in the README now, maybe those can help. |
Followed install instructions here: https://github.com/contentacms/contentajs/blob/master/docs/install.md
Error on
yarn start
:On my Mac:
/contenta/contentacms << installed contenta_jsonapi
/contenta/contentjs << installed this here, contents as follows:
config << has local.yml
node_modules
package.json
yarn.lock
I ran
yarn start
from within /contenta/contentjsThe text was updated successfully, but these errors were encountered: