Skip to content

npm install in xfe-repo completes with errors #2

@rclauberg

Description

@rclauberg

After downloading the XFE files (node.js and npm are installed) and starting "npm install" from the repo I see the following :
/u/cla/xfe/xfe-node-master
-bash-4.1$ npm install

[email protected] prepublish /afs/zurich.ibm.com/u/cla/xfe/xfe-node-master
typings install && gulp build

`-- (No dependencies)

[08:15:42] Using gulpfile /afs/zurich.ibm.com/u/cla/xfe/xfe-node-master/gulpfile.js
[08:15:42] Starting 'compile:typescript'...
app/app.ts(33,1): error TS2304: Cannot find name 'module'.
app/collections.ts(4,26): error TS2307: Cannot find module 'request'.
app/collections.ts(5,23): error TS2307: Cannot find module 'node-uuid'.
app/collections.ts(6,20): error TS2307: Cannot find module 'lodash'.
app/collections.ts(7,21): error TS2307: Cannot find module 'fs'.
app/files.ts(2,26): error TS2307: Cannot find module 'request'.
app/files.ts(3,21): error TS2307: Cannot find module 'fs'.
app/iap.ts(2,26): error TS2307: Cannot find module 'request'.
app/ipr.ts(2,26): error TS2307: Cannot find module 'request'.
app/url.ts(2,26): error TS2307: Cannot find module 'request'.
[08:15:44] TypeScript: 10 semantic errors
[08:15:44] TypeScript: emit succeeded (with errors)
[08:15:44] Finished 'compile:typescript' after 2.42 s
[08:15:44] Starting 'build'...
[08:15:44] Finished 'build' after 11 μs
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
-bash-4.1$

Did I forget something in the installation procedure ?

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Version used:
  • Environment name and version (e.g. PHP 5.4 on nginx 1.9.1):
  • Server type and version:
  • Operating System and version:
  • Link to your project:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions