Skip to content

Form does not show (OSX - Node v6.2.2) / Test fails (Linux - Node v5.7.0) #15

Open
@Ema-Mu

Description

@Ema-Mu

Hello, first of all thank you for your work. Second, I successfully deployed API and lambda functions and embed the javascript (without the akismet option). First with Node 6.0.0 then I tried with Node 6.2.2, both on OSX. Npm always runs test successfully but the only thing that appears in my page are these divs

div id="lambda-comments"
div data-reactid=".0"

so no comment form. No CORS errors in the browser. Apparently it is a frontend problem.

I also tried on a Linux VM with Node 5.7.0 (with and without sudo) and test fails (sometime it even fails during the install, running BootstrapCommand.execute when linking lambda-comments-utils dependencies). In this VM I am building without the akismet API key as well.

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
Lerna v2.0.0-beta.9
Linking all dependencies
Errored while running BootstrapCommand.execute
Error: Command failed: npm install [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.>

at ChildProcess.exithandler (child_process.js:202:12)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:827:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)> 

npm ERR! Linux 4.4.14-24.50.amzn1.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "install-all"
npm ERR! node v5.7.0
npm ERR! npm v3.10.6
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install-all: npm install && lerna bootstrap && linklocal
npm ERR! Exit status 1

but if I re-run it successfully bootstrapps. And this is my test

passing (66ms)
8 failing>

  1. local Post new comment to the queue should return an id:
    TypeError: this is not a typed array.
    at Function.from (native)
    at Context. (test.js:33:29)>

  2. local Post new comment to the queue should fail if there is no data:
    TypeError: this is not a typed array.
    at Function.from (native)
    at Context. (test.js:55:29)>

  3. local Post new comment to the queue should catch spam:
    TypeError: this is not a typed array.
    at Function.from (native)
    at Context. (test.js:90:29)>

  4. local Post new comment to the queue should fail with a bad signature:
    TypeError: this is not a typed array.
    at Function.from (native)
    at Context. (test.js:124:29)>

  5. local Post new comment to the queue should allow posting hangul characters:
    TypeError: this is not a typed array.
    at Function.from (native)
    at Context. (test.js:159:29)>

  6. remote Post new comment to the queue should return an actionRef:
    TypeError: this is not a typed array.
    at Function.from (native)
    at Context. (test.js:214:29)>

  7. remote Post new comment to the queue should fail if there is no data:
    TypeError: this is not a typed array.
    at Function.from (native)
    at Context. (test.js:224:29)>

  8. remote Post new comment to the queue should allow posting hangul characters:
    TypeError: this is not a typed array.
    at Function.from (native)
    at Context. (test.js:252:29)>

Any suggestion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions