Flex-layout: problem with gulp build:components

Created on 10 Dec 2016  路  9Comments  路  Source: angular/flex-layout

gulp --require ts-node/register build:components

[19:11:41] Requiring external module ts-node/register
/Users/eudago/dev/techangelapp/node_modules/@angular/flex-layout/tools/gulp/gulpfile.ts:1
(function (exports, require, module, __filename, __dirname) { import './tasks/ci';
                                                              ^^^^^^
SyntaxError: Unexpected token import
    at Object.exports.runInThisContext (vm.js:78:16)
    at Module._compile (module.js:543:28)
    at Module._extensions..js (module.js:580:10)
    at require.extensions.(anonymous function) (/Users/eudago/dev/techangelapp/node_modules/@angular/flex-layout/node_modules/ts-node/src/index.ts:400:14)
    at Object.require.extensions.(anonymous function) [as .ts] (/Users/eudago/dev/techangelapp/node_modules/@angular/flex-layout/node_modules/ts-node/src/index.ts:400:14)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)

My node version is 7.2.1 and npm 3.10.10
Gulp version 3.9.0 but i test with 3.9.1 and not working

build

Most helpful comment

gulp build:release should now be fixed with the latest commits.

All 9 comments

try gulp build:components after yarn install

I follows these steps (README)

npm install -g yarn
yarn install
gulp build:components

and not work.

Same problem here. I did follow the steps from the README, but get the same error as eudago.

@eudago, @TimoKunze - thank you. We will investigate

I'm getting some of the files with size 0 after gulp build:components
@angular/flex-layout/media-query/breakpoints/break-point-registry.d.ts
@angular/flex-layout/utils/auto-prefixer.d.ts
@angular/flex-layout/utils/object-extend.d.ts

image

I also have an error in case it might help !

gulp build:release should now be fixed with the latest commits.

Please use gulp build:lib or gulp build:release.

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spottedmahn picture spottedmahn  路  5Comments

mackelito picture mackelito  路  3Comments

JadedEric picture JadedEric  路  4Comments

mackelito picture mackelito  路  4Comments

manuelbachl picture manuelbachl  路  5Comments