Skip to content

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

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: fsevents@1.0.14
Lerna v2.0.0-beta.9
Linking all dependencies
Errored while running BootstrapCommand.execute
Error: Command failed: npm install postcss-nested@1.0.0 rimraf@2.5.2 serve@1.4.0 babel-cli@6.8.0 babel-core@6.8.0 babel-eslint@6.0.4 babel-loader@6.2.4 babel-plugin-transform-decorators-legacy@1.3.4 babel-polyfill@6.8.0 babel-preset-es2015@6.6.0 babel-preset-react@6.5.0 babel-preset-react-hmre@1.1.1 babel-preset-stage-1@6.5.0 babel-register@6.8.0 body-parser@1.15.0 buffer@4.6.0 bundle-loader@0.5.4 compression@1.6.1 core-decorators@0.12.0 css-loader@0.23.1 dotenv@2.0.0 eslint@2.7.0 eslint-config-airbnb@6.2.0 eslint-config-rackt@1.1.1 eslint-plugin-react@4.3.0 expect@1.14.0 express@4.13.4 extract-text-webpack-plugin@1.0.1 file-loader@0.8.5 helmet@1.1.0 highlight.js@9.3.0 hpp@0.2.0 if-env@1.0.0 isomorphic-fetch@2.2.1 jwa@1.1.3 karma@0.13.21 karma-chrome-launcher@0.2.2 karma-mocha@0.2.2 karma-mocha-reporter@1.2.0 karma-sourcemap-loader@0.3.7 karma-webpack@1.7.0 lodash@4.11.1 markdown-it@6.0.1 mocha@2.4.5 morgan@1.7.0 node-fetch@1.3.3 null-loader@0.1.1 octicons@3.5.0 postcss-loader@0.8.1 react@0.14.7 react-addons-css-transition-group@0.14.7 react-dom@0.14.7 react-measure@0.3.5 react-motion@0.4.2 react-project@0.0.30 react-router@2.0.0 react-router-redux@4.0.2 react-spinner@0.2.6 react-textarea-autosize@4.0.0 react-title-component@1.0.1 redux@3.4.0 redux-devtools@3.2.0 redux-form@5.0.1 redux-logger@2.6.1 redux-thunk@2.0.1 reselect@2.4.0 source-map-support@0.4.0 store@1.3.20 style-loader@0.13.0 url-loader@0.5.7 validator@5.2.0 webpack@1.13.0 webpack-dev-server@1.14.1
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@2.0.3: 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! lambda-comments@0.0.2 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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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