fathyb / parcel-plugin-angular

Complete Angular support for Parcel
MIT License
29 stars 2 forks source link

IPC is not compatible with Windows #2

Open fathyb opened 6 years ago

fathyb commented 6 years ago

Related to parcel-plugin-typescript#12.

Reported on parcel#722 by @tatsujb

Original report :

šŸŽ› Configuration (.babelrc, package.json, cli command)

./package.json :

  "name": "web.ui",
  "version": "0.0.0",
  "description": "",
  "main": "./src/app/app.component.ts",
  "license": "MIT",
  "scripts": {
    "ng": "ng",
    "start": "parcel ./src/index.html",
    "build": "parcel build ./src/app/app.component.ts",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^5.2.0",
    "@angular/common": "^5.2.0",
    "@angular/compiler": "^5.2.3",
    "@angular/core": "^5.2.0",
    "@angular/forms": "^5.2.0",
    "@angular/http": "^5.2.0",
    "@angular/platform-browser": "^5.2.0",
    "@angular/platform-browser-dynamic": "^5.2.0",
    "@angular/router": "^5.2.0",
    "core-js": "^2.4.1",
    "eslint": "^4.16.0",
    "eslint-config-prettier": "^2.9.0",
    "eslint-plugin-prettier": "^2.5.0",
    "rxjs": "^5.5.6",
    "zone.js": "^0.8.19"
  },
  "devDependencies": {
    "@angular/cli": "1.6.6",
    "@angular/compiler-cli": "^5.2.3",
    "@angular/language-service": "^5.2.0",
    "@types/jasmine": "~2.8.3",
    "@types/jasminewd2": "~2.0.2",
    "@types/node": "~6.0.60",
    "codelyzer": "^4.0.1",
    "jasmine-core": "~2.8.0",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~2.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "^1.2.1",
    "karma-jasmine": "~1.1.0",
    "karma-jasmine-html-reporter": "^0.2.2",
    "parcel-bundler": "^1.5.1",
    "parcel-plugin-angular": "^0.5.0",
    "protractor": "~5.1.2",
    "ts-node": "~4.1.0",
    "tslint": "~5.9.1",
    "typescript": "^2.5.3"
  }
}

./src/index.html :

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Web.Ui</title>
  <base href="/">

  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
  <app-root></app-root>
</body>
</html>

./src/app/app.component.ts :

import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  title = 'app';
}

šŸ¤” Expected Behavior

compiled and served angular-cli.

šŸ˜Æ Current Behavior

"C:\Program Files\JetBrains\WebStorm 173.3942.6\bin\runnerw.exe" "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" start

> web.ui@0.0.0 start C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui
> parcel ./src/index.html

Server running at http://localhost:1234 
āˆž  Building...
{ Error: listen EACCES C:\Users\j_bard\AppData\Local\Temp\tmp-75325L0vQRmENhoy
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at Server.setupListenHandle [as _listen2] (net.js:1334:19)
    at listenInCluster (net.js:1392:12)
    at Server.listen (net.js:1487:5)
    at Function.listen (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\express\lib\application.js:618:24)
    at new Server (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\server.js:27:14)
    at new AngularServer (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-angular\build\backend\worker\index.js:74:9)
    at module.exports (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-angular\build\index.js:22:24)
    at Bundler.loadPlugins (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-bundler\src\Bundler.js:135:17)
    at <anonymous>
  code: 'EACCES',
  errno: 'EACCES',
  syscall: 'listen',
  address: 'C:\\Users\\j_bard\\AppData\\Local\\Temp\\tmp-75325L0vQRmENhoy',
  port: -1 }
āˆž  Building index.html...āˆž  Building favicon.ico...āˆš  Built in 1.57s.

the page title and favicon is correct but it's otherwise blank.

šŸ”¦ Context

trying to set up a front in angular 5 served with parcel

šŸŒ Your Environment

Software Version(s)
Parcel ^1.5.1
Node 8.9.4
npm/Yarn 5.6.0
Operating System windows 10 pro
tatsujb commented 6 years ago

in the meantime what can I do as a workaround? do I have to stick with webpack? I don't understand what's causing the issue. I tried <body><script src="./index.js"></script></body> to a simple index.js containing nothing but a "document.write("hello");" file instead. but that did no good.

fathyb commented 6 years ago

As soon as the plugin is loading it triggers the error, it's not due to your code. The temporary solutions are :

About the issue it's due to the IPC system we use. Unix sockets are not supported on Windows and that's why you are getting this error, the fix that has been done in parcel-plugin-typescript was to use named pipes instead when Windows is used.

tatsujb commented 6 years ago

yeah this guy : https://github.com/tienne/angular-parcel is using parcel-plugin-typescript I think I'll build my code from his boilerplate.

thanks for the tips.

I've messed around with bash in windows alot (linux user forced to work on windows in my company) : it's not all you'd think. the system itself is far out of date making the packages you can get at best out of date as well and in any event 99 times out of 100, in companies you're behind firewall and without admin rights so fetching repositories (and everything else) fails and you can't configure a proxy for it without admin rights so...

fathyb commented 6 years ago

I published parcel-plugin-angular@0.5.1-next.13 with a fix for Windows, could you try it?

You also need to install parcel-plugin-typescript@^0.5.3.

tatsujb commented 6 years ago

considering I'm no expert : how do I do this?

I'm guessing this isn't an available release so just typing that version number (0.5.1-next.13) in my package.json and npm update won't do?

fathyb commented 6 years ago

Install :

Check the installed version :

tatsujb commented 6 years ago
npm ls parcel-plugin-angular
angular-parcel@0.0.0 C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui
`-- parcel-plugin-angular@0.5.1-next.13

with out of the box https://github.com/tienne/angular-parcel, yeah it does work.

I'm going to try and see what happens if I ncu -u

tatsujb commented 6 years ago

it compiles and the site is up but I get :

 UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\polyfill
s.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101021:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101200:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-angular\build\backend\worker\launcher.js:36:27)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at AngularWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
(node:9380) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:9380) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\main.ts'
.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101021:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101200:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-angular\build\backend\worker\launcher.js:36:27)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at AngularWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
(node:9380) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\app\app.
module.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101021:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101200:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-angular\build\backend\worker\launcher.js:36:27)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at AngularWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
(node:9380) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\environm
ents\environment.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101021:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101200:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-angular\build\backend\worker\launcher.js:36:27)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at AngularWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
(node:9380) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\app\app.
component.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101021:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101200:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-angular\build\backend\worker\launcher.js:36:27)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at AngularWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
fathyb commented 6 years ago

Ah, I think it's related to parcel-plugin-typescript#11. Could you show me your tsconfig.json? If it's not present adding this to the tsconfig.json may fix the issue :

{
  "compilerOptions": { ... },
  "include": [
    // a glob for all your source files
    "src/**/*.ts"
  ]
}
tatsujb commented 6 years ago

well i did npm i angular-polyfills and now it works perfect

here it is anyways :

{
  "compileOnSave": false,
  "compilerOptions": {
    "outDir": "./dist/out-tsc",
    "sourceMap": true,
    "declaration": false,
    "moduleResolution": "node",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "target": "es5",
    "typeRoots": [
      "node_modules/@types"
    ],
    "lib": [
      "es2017",
      "dom"
    ]
  }
}

I'm gonna try it without the package and with the glob instead.

ok yeah the glob didn't work the angular-polyfills package works as a better fix. maybe make it a dependency?

EDIT: ok never mind. it's just a first-run error I get anyways. angular-polyfills has nothing to do with it. on second compile (where parcel uses it's cache) the message simply doesn't show up anymore. (I tried each "fix" separately and both together.

it's not breaking anyhow.

fathyb commented 6 years ago

It's because it's a type-checking error, Parcel uses the file because it transpiles even if the typechecker crashes (it's run in a separated process for speed).

Does it work if you add include like said below and run parcel using --no-cache? (eg. parcel index.html --no-cache)

Else it could be related to Windows, I will check on a VM later. Thanks for the feedback.

tatsujb commented 6 years ago
PS C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui> parcel ./src/index.html --no-cache
Server running at http://localhost:1234 
āˆž  Building app.component.ts...
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\polyfills.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101021:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101200:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-angular\build\backend\worker\launcher.js:36:27)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at AngularWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\main.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101021:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101200:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-angular\build\backend\worker\launcher.js:36:27)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at AngularWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\app\app.module.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101021:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101200:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-angular\build\backend\worker\launcher.js:36:27)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at AngularWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\environments\environment.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101021:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101200:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-angular\build\backend\worker\launcher.js:36:27)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at AngularWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\app\app.component.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101021:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101200:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-angular\build\backend\worker\launcher.js:36:27)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at AngularWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
āˆž  Building reflect.js...
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\app\app.component.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101021:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:101200:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-angular\build\backend\worker\launcher.js:36:27)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at AngularWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
āˆš  Built in 18.78s.
fathyb commented 6 years ago

May be another bug, is Parcel installed locally? (node_modules/parcel-bundler)

If you have more broad questions you can find me at the Parcel Slack.

tatsujb commented 6 years ago

no I made a -g install of parcel-bundler

fathyb commented 6 years ago

You need parcel-bundler installed locally for the plugin to work correctly.

tatsujb commented 6 years ago

it is also installed locally

tatsujb commented 6 years ago

hey is this normal ? :

āˆž  Building app.module.ts...āˆž  Building environment.ts...āˆž  Building app.component.ts...āˆž  Building apiConnectService.ts...

Result "use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@angular/core");
var apiConnectService_1 = require("./services/apiConnectService");
var AppComponent = (function () {
    function AppComponent(api) {
        this.api = api;
        this.title = 'my angular parcel2';
        this.title = 'fsfddfsddd';
        this.api.getServerDate();
    }
    AppComponent = __decorate([
        core_1.Component({
            selector: 'app-root',
            template: require('fs').readFileSync(__dirname + "/app.component.html", { encoding: "utf-8" }),
            styles: [require('fs').readFileSync(__dirname + "/app.component.css", { encoding: "utf-8" })]
        }),
        __metadata("design:paramtypes", [typeof (_a = typeof apiConnectService_1.ApiConnectService !== "undefined" && apiConnectService_1.ApiConnectService) === "function" && _a || Object])
    ], AppComponent);
    return AppComponent;
    var _a;
}());
exports.AppComponent = AppComponent;
//# sourceMappingURL=app.component.js.map

āˆž  Building platform-browser-dynamic.js...āˆž  Building core.js...āˆž  Building zone.js...āˆž  Building reflect.js...āˆž  Building _empty.js...āˆž  Building platform-browser.js...āˆž  Building es7.reflect.define-metadata.js...āˆž  Building es7.reflect.get-own-metadata.js...āˆž  Building es7.reflect.delete-metadata.js...āˆž  Building es7.reflect.get-own-metadata-keys.js...āˆž  Building es7.reflect.has-own-metadata.js...āˆž  Building es7.reflect.metadata.js...āˆž  Building es7.reflect.get-metadata.js...āˆž  Building es7.reflect.has-metadata.js...āˆž  Building _core.js...āˆž  Building es7.reflect.get-metadata-keys.js...āˆž  Building http.js...āˆž  Building tslib.es6.js...

I'm not sure this was meant to be console logged as part of parcel's build process : S

It happens on successful builds but just 1/2 times.

fathyb commented 6 years ago

Woops, what does npm ls parcel-plugin-angular and npm ls parcel-plugin-typescript outputs?

tatsujb commented 6 years ago

well I wan't using parcel-plugin-angular in that case but for typescript it was :

 web.ui@0.0.0 C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui
`-- parcel-plugin-typescript@0.2.0-angular.0
fathyb commented 6 years ago

Oh, it's a very old version, it's not supported anymore and all the Angular support in this version has been moved here.

tatsujb commented 6 years ago

ok I'll try newer

tatsujb commented 6 years ago

if I use :

"parcel-plugin-typescript": "0.5.3",

I get :

    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\main.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89078:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89299:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\worker\launcher.js:34:28)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at TypeScriptWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\polyfills.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89078:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89299:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\worker\launcher.js:34:28)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at TypeScriptWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\app\app.module.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89078:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89299:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\worker\launcher.js:34:28)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at TypeScriptWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\environments\environment.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89078:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89299:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\worker\launcher.js:34:28)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at TypeScriptWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\app\app.component.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89078:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89299:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\worker\launcher.js:34:28)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at TypeScriptWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\app\services\apiConnectService.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89078:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89299:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\worker\launcher.js:34:28)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at TypeScriptWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
āˆž  Building es7.reflect.define-metadata.js...āˆž  Building es7.reflect.get-metadata.js...āˆž  Building es7.reflect.delete-metadata.js...āˆž  Building es7.reflect.get-metadata-keys.js...āˆž  Building es7.reflect.get-own-metadata.js...āˆž  Building es7.reflect.get-own-metadata-keys.js...āˆž  Building es7.reflect.has-metadata.js...āˆž  Building es7.reflect.has-own-metadata.js...āˆž  Building es7.reflect.metadata.js...āˆž  Building _core.js...āˆž  Building _metadata.js...āˆž  Building _an-object.js...Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\main.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89078:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89299:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\worker\launcher.js:34:28)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at TypeScriptWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\polyfills.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89078:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89299:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\worker\launcher.js:34:28)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at TypeScriptWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\environments\environment.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89078:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89299:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\worker\launcher.js:34:28)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at TypeScriptWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\app\app.module.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89078:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89299:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\worker\launcher.js:34:28)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at TypeScriptWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
āˆž  Building _object-gpo.js...āˆž  Building _a-function.js...āˆž  Building es6.map.js...āˆž  Building _export.js...āˆž  Building es6.weak-map.js...āˆž  Building _shared.js...āˆž  Building es6.set.js...āˆž  Building _array-from-iterable.js...āˆž  Building _is-object.js...Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\app\services\apiConnectService.ts'.
    at getValidSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89078:23)
    at Object.getSemanticDiagnostics (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:89299:36)
    at LanguageService.check (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\service\index.js:16:24)
    at Object.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\worker\launcher.js:34:28)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at TypeScriptWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
fathyb commented 6 years ago

Does parcel build works? If it works you can force AOT in watch mode :

{
  "compilerOptions": { ... },
  // the plugin options
  "parcelAngularOptions": {
    // What compiler should we use when watching or serving
    "watch": "aot",

    // What compiler should we use when building (parcel build)
    "build": "aot"
  }
}

If it still does not work I guess you can still continue with JIT (this should be only a logging error, Parcel should bundle anyways) and in the meantime I'll fix this.

tatsujb commented 6 years ago

I'm guessing I'm in JIT then ( I had not added that to tsconfig.json) :

parcel build
Ɨ  Cannot find module 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui' from '.'
    at C:\Users\j_bard\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21
    at load (C:\Users\j_bard\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\browser-resolve\node_modules\resolve\lib\async.js:69:43)
    at onex (C:\Users\j_bard\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\browser-resolve\node_modules\resolve\lib\async.js:92:31)
    at C:\Users\j_bard\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\browser-resolve\node_modules\resolve\lib\async.js:22:47
    at FSReqWrap.oncomplete (fs.js:152:21)
fathyb commented 6 years ago

Thanks, if you are still based on tienne/angular-parcel I'll try to reproduce this tonight

tatsujb commented 6 years ago

how did it go šŸ˜„ ?

fathyb commented 6 years ago

I didn't had as much time as I wanted, I'm able to reproduce it but I still need to find the bug. A temporary workaround that works for me :

tatsujb commented 6 years ago

hey. I'm still grasping at straws here for a correct angular-parcel setup. as you can see here : https://github.com/tienne/angular-parcel/issues/1 I haven't found a viable package update route. If you can, could you point me in the right direction? thanks šŸ˜ƒ

tatsujb commented 6 years ago

I've got a new stack with much more up to date packages. ng sever works 100% with even scss working, however parcel does not, it compiles (with errors) and runs but ignores the scss.

{
  "name": "web.ui",
  "version": "0.0.0",
  "license": "MIT",
  "scripts": {
    "ng": "ng",
    "parcel": "parcel",
    "start": "parcel ./src/index.html --no-cache",
    "build": "parcel build ./src/index.html -d /distribution --no-cache --no-minify",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^5.2.3",
    "@angular/common": "^5.2.3",
    "@angular/compiler": "^5.2.3",
    "@angular/core": "^5.2.3",
    "@angular/forms": "^5.2.3",
    "@angular/http": "^5.2.3",
    "@angular/platform-browser": "^5.2.3",
    "@angular/platform-browser-dynamic": "^5.2.3",
    "@angular/router": "^5.2.3",
    "core-js": "^2.5.3",
    "node-sass": "^4.7.2",
    "rxjs": "^5.5.6",
    "sass-loader": "^6.0.6",
    "web-animations-js": "^2.3.1",
    "zone.js": "^0.8.20"
  },
  "devDependencies": {
    "@angular/cli": "1.6.7",
    "@angular/compiler-cli": "^5.2.3",
    "@angular/language-service": "^5.2.3",
    "@types/jasmine": "^2.8.6",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~9.4.0",
    "codelyzer": "^4.1.0",
    "jasmine-core": "~2.9.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~2.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^1.4.1",
    "karma-jasmine": "~1.1.1",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.3.0",
    "ts-node": "~4.1.0",
    "tslint": "~5.9.1",
    "typescript": "~2.7.1",
    "parcel-bundler": "^1.5.1",
    "postcss-modules": "^1.1.0",
    "parcel-plugin-typescript": "^0.5.3",
    "parcel-plugin-angular": "0.5.1-next.13"
  }
}

any ideas? I think thiss time it's a legitemate parcel issue.

fathyb commented 6 years ago

(sorry I have seen the Parcel issue before this one) How do you require the .scss files, using styleUrls?

fathyb commented 6 years ago

If you need more step by step help don't hesitate to send me an e-mail if slack is blocked by your corporate firewall.

tatsujb commented 6 years ago

back at it! šŸ˜„ very sorry for the long response. I've been told to go with ng-build. ...but I persist! If I can show them it working they'll accept it.

How do you require the .scss files, using styleUrls?

yes.

below is the updated versions of packages. (since this is for the work I do for my company and in the heap of the work I have to do for them I didn't clear out the stuff not pertaining to pure parcel-angular, I hope you'll forgive me. I've also updated my repo so you can see all the code).

package.json :

{
  "name": "web.ui",
  "version": "0.0.0",
  "license": "MIT",
  "scripts": {
    "ng": "ng",
    "parcel": "parcel",
    "start": "parcel ./src/index.html --no-cache",
    "build": "parcel build ./src/index.html -d /distribution --no-cache",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e",
    "yarn": "node node_modules/yarn/bin/yarn.js"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^5.2.3",
    "@angular/common": "^5.2.3",
    "@angular/compiler": "^5.2.3",
    "@angular/core": "^5.2.3",
    "@angular/forms": "^5.2.3",
    "@angular/http": "^5.2.3",
    "@angular/platform-browser": "^5.2.3",
    "@angular/platform-browser-dynamic": "^5.2.3",
    "@angular/router": "^5.2.3",
    "angular-2-local-storage": "^1.0.1",
    "angular-font-awesome": "^3.1.2",
    "core-js": "^2.5.3",
    "exitzero": "^1.0.1",
    "font-awesome": "^4.7.0",
    "ng2-ion-range-slider": "^1.0.3",
    "parcel-plugin-inlinesvg": "0.0.12",
    "rxjs": "^5.5.6",
    "typeface-comfortaa": "0.0.54",
    "web-animations-js": "^2.3.1",
    "yarn": "^1.3.2",
    "zone.js": "^0.8.20"
  },
  "devDependencies": {
    "@angular/cli": "1.7.0",
    "@angular/compiler-cli": "^5.2.3",
    "@angular/language-service": "^5.2.3",
    "@types/jasmine": "^2.8.6",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~9.4.0",
    "codelyzer": "^4.1.0",
    "jasmine-core": "~3.0.0",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~2.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^1.4.1",
    "karma-jasmine": "~1.1.1",
    "karma-jasmine-html-reporter": "^0.2.2",
    "parcel-bundler": "^1.5.1",
    "parcel-plugin-angular": "0.5.1-next.13",
    "parcel-plugin-typescript": "^0.6.0",
    "postcss-modules": "^1.1.0",
    "protractor": "~5.3.0",
    "ts-node": "~4.1.0",
    "tslint": "~5.9.1",
    "typescript": "~2.7.0"
  }
}

angular.cli.json :

{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "project": {
    "name": "web.ui"
  },
  "apps": [
    {
      "root": "src",
      "outDir": "dist",
      "assets": [
        "assets",
        "favicon.ico",
        "images"
      ],
      "index": "index.html",
      "main": "main.ts",
      "polyfills": "polyfills.ts",
      "test": "test.ts",
      "tsconfig": "tsconfig.app.json",
      "testTsconfig": "tsconfig.spec.json",
      "prefix": "app",
      "styles": [
        "styles.css",
        "../node_modules/typeface-comfortaa/index.css",
        "../node_modules/font-awesome/css/font-awesome.css",
        "../node_modules/ion-rangeslider/css/ion.rangeSlider.css",
        "../node_modules/ion-rangeslider/css/ion.rangeSlider.skinFlat.css"
      ],
      "scripts": [
        "../node_modules/jquery/dist/jquery.min.js",
        "../node_modules/ion-rangeslider/js/ion.rangeSlider.min.js"
      ],
      "environmentSource": "environments/environment.ts",
      "environments": {
        "dev": "environments/environment.ts",
        "prod": "environments/environment.prod.ts"
      }
    }
  ],
  "e2e": {
    "protractor": {
      "config": "./protractor.conf.js"
    }
  },
  "lint": [
    {
      "project": "src/tsconfig.app.json",
      "exclude": "**/node_modules/**"
    },
    {
      "project": "src/tsconfig.spec.json",
      "exclude": "**/node_modules/**"
    },
    {
      "project": "e2e/tsconfig.e2e.json",
      "exclude": "**/node_modules/**"
    }
  ],
  "test": {
    "karma": {
      "config": "./karma.conf.js"
    }
  },
  "defaults": {
    "styleExt": "scss",
    "component": {
    }
  },
  "warnings": {
    "typescriptMismatch": false
  }
}

tsconfig.app.json :

{
  "extends": "../tsconfig.json",
  "compilerOptions": {
    "outDir": "../out-tsc/app",
    "baseUrl": "./",
    "module": "es2015",
    "types": []
  },
  "parcelAngularOptions": {
    "watch": "aot",
    "build": "aot"
  },
  "include": [
    "src/**/*.ts"
  ],
  "exclude": [
    "test.ts",
    "**/*.spec.ts"
  ]
}

For Start :

> web.ui@0.0.0 start C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui
> parcel ./src/index.html --no-cache

Server running at http://localhost:1234 
āˆž  Building...
āˆž  Building index.html...āˆž  Building polyfills.ts...āˆž  Building favicon.ico...āˆž  Building main.ts...āˆž  Building app.module.ts...āˆž  Building environment.ts...āˆž  Building web-animations.min.js...āˆž  Building app.component.ts...āˆž  Building api.connect.service.ts...āˆž  Building app.routing.ts...āˆž  Building login.component.ts...āˆž  Building logged-in.component.ts...āˆž  Building four.o.four.component.ts...āˆž  Building is.top.bar.opened.service.ts...āˆž  Building top-bar.component.ts...āˆž  Building content.component.ts...āˆž  Building routing.component.ts...āˆž  Building menu1.intergration.plans.dappro.component.ts...āˆž  Building menu2.integration.des.commandes.component.ts...āˆž  Building menu3.revue.des.commandes.component.ts...āˆž  Building menu4.analyse.plan.dappro.component.ts...āˆž  Building menu5.visualisation.des.articles.component.ts...āˆž  Building menu6.avis.dexpedition.component.ts...Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\4e688ec0-158c-11e8-8a0d-d3cad0f9c87f
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
āˆž  Building platform-browser-dynamic.js...āˆž  Building core.js...āˆž  Building reflect.js...āˆž  Building zone.js...āˆž  Building .postcssrc...āˆž  Building colors.scss...āˆž  Building root.content.treatment.scss...āˆž  Building scroll.bars.scss...āˆž  Building es7.reflect.delete-metadata.js...āˆž  Building es7.reflect.define-metadata.js...āˆž  Building es7.reflect.get-metadata.js...āˆž  Building es7.reflect.get-own-metadata.js...āˆž  Building es7.reflect.get-metadata-keys.js...āˆž  Building es7.reflect.get-own-metadata-keys.js...āˆž  Building es7.reflect.has-metadata.js...āˆž  Building es7.reflect.has-own-metadata.js...āˆž  Building es7.reflect.metadata.js...āˆž  Building _core.js...āˆž  Building airConnectText.png...āˆž  Building angular-font-awesome.es5.js...āˆž  Building index.js...āˆž  Building css-loader.js...āˆž  Building airSupply-s.png...āˆž  Building airSupply.png...āˆž  Building responsive.design.scss...āˆž  Building favicon.ico...āˆž  Building _metadata.js...āˆž  Building _an-object.js...āˆž  Building _object-gpo.js...āˆž  Building _array-from-iterable.js...āˆž  Building es6.set.js...āˆž  Building _a-function.js...āˆž  Building ion-range-slider.module.js...āˆž  Building ion-range-slider.component.js...āˆž  Building router.animations.ts...āˆž  Building _export.js...āˆž  Building es6.weak-map.js...āˆž  Building es6.map.js...āˆž  Building _shared.js...āˆž  Building _to-object.js...āˆž  Building _has.js...āˆž  Building _shared-key.js...āˆž  Building _collection-strong.js...āˆž  Building _validate-collection.js...āˆž  Building _collection.js...āˆž  Building _is-object.js...āˆž  Building _for-of.js...āˆž  Building _global.js...āˆž  Building _hide.js...āˆž  Building _redefine.js...āˆž  Building _ctx.js...āˆž  Building bundle-url.js...āˆž  Building style.for.menu.containing.table.scss...āˆž  Building table.style.scss...āˆž  Building _array-methods.js...āˆž  Building _meta.js...āˆž  Building _collection-weak.js...āˆž  Building _object-assign.js...āˆž  Building _fails.js...āˆž  Building _defined.js...āˆž  Building _uid.js...āˆž  Building _object-dp.js...āˆž  Building _object-create.js...āˆž  Building _redefine-all.js...āˆž  Building _an-instance.js...āˆž  Building _iter-step.js...āˆž  Building _iter-define.js...āˆž  Building _set-species.js...āˆž  Building _descriptors.js...āˆž  Building _iter-detect.js...āˆž  Building _inherit-if-required.js...āˆž  Building _set-to-string-tag.js...āˆž  Building _iter-call.js...āˆž  Building _is-array-iter.js...āˆž  Building _to-length.js...āˆž  Building core.get-iterator-method.js...āˆž  Building _property-desc.js...āˆž  Building _iobject.js...āˆž  Building _array-species-create.js...āˆž  Building _object-keys.js...āˆž  Building _object-gops.js...āˆž  Building _object-pie.js...āˆž  Building _ie8-dom-define.js...āˆž  Building _to-primitive.js...āˆž  Building _object-dps.js...āˆž  Building _enum-bug-keys.js...āˆž  Building _dom-create.js...āˆž  Building _html.js...āˆž  Building _iterators.js...āˆž  Building _library.js...āˆž  Building _iter-create.js...āˆž  Building _wks.js...āˆž  Building _set-proto.js...āˆž  Building _to-integer.js...āˆž  Building _classof.js...āˆž  Building _cof.js...āˆž  Building _array-species-constructor.js...āˆž  Building _object-keys-internal.js...āˆž  Building _object-gopd.js...āˆž  Building _is-array.js...āˆž  Building _to-iobject.js...āˆž  Building _array-includes.js...āˆž  Building _to-absolute-index.js...āˆž  Building platform-browser.js...āˆž  Building http.js...āˆž  Building animations.js...āˆž  Building ion.rangeSlider.js...āˆž  Building jquery.js...āˆž  Building tslib.es6.js...āˆž  Building Observable.js...āˆž  Building Subject.js...āˆž  Building router.js...āˆž  Building toSubscriber.js...āˆž  Building observable.js...āˆž  Building root.js...āˆž  Building Subscriber.js...āˆž  Building Subscription.js...āˆž  Building SubjectSubscription.js...āˆž  Building pipe.js...āˆž  Building rxSubscriber.js...āˆž  Building ObjectUnsubscribedError.js...āˆž  Building isFunction.js...āˆž  Building isObject.js...āˆž  Building isArray.js...āˆž  Building tryCatch.js...āˆž  Building errorObject.js...āˆž  Building UnsubscriptionError.js...āˆž  Building Observer.js...āˆž  Building noop.js...āˆž  Building browser.js...āˆž  Building common.js...āˆž  Building compiler.js...āˆž  Building animations.js...āˆž  Building merge.js...āˆž  Building share.js...āˆž  Building catch.js...āˆž  Building retry.js...āˆž  Building do.js...āˆž  Building map.js...āˆž  Building share.js...āˆž  Building catch.js...āˆž  Building retry.js...āˆž  Building do.js...āˆž  Building map.js...āˆž  Building mergeAll.js...āˆž  Building ArrayObservable.js...āˆž  Building isScheduler.js...āˆž  Building multicast.js...āˆž  Building refCount.js...āˆž  Building catchError.js...āˆž  Building retry.js...āˆž  Building tap.js...āˆž  Building map.js...āˆž  Building EmptyObservable.js...āˆž  Building mergeMap.js...āˆž  Building ScalarObservable.js...āˆž  Building identity.js...āˆž  Building ConnectableObservable.js...āˆž  Building OuterSubscriber.js...āˆž  Building subscribeToResult.js...āˆž  Building InnerSubscriber.js...āˆž  Building isArrayLike.js...āˆž  Building isPromise.js...āˆž  Building iterator.js...āˆž  Building of.js...āˆž  Building filter.js...āˆž  Building concatMap.js...āˆž  Building filter.js...āˆž  Building concatMap.js...āˆž  Building browser.js...āˆž  Building BehaviorSubject.js...āˆž  Building bufferCount.js...āˆž  Building filter.js...āˆž  Building from.js...āˆž  Building last.js...āˆž  Building concatAll.js...āˆž  Building fromPromise.js...āˆž  Building every.js...āˆž  Building mergeMap.js...āˆž  Building EmptyError.js...āˆž  Building reduce.js...āˆž  Building PromiseObservable.js...āˆž  Building last.js...āˆž  Building FromObservable.js...āˆž  Building reduce.js...āˆž  Building concatAll.js...āˆž  Building bufferCount.js...āˆž  Building every.js...āˆž  Building mergeAll.js...āˆž  Building first.js...āˆž  Building IteratorObservable.js...āˆž  Building ArrayLikeObservable.js...āˆž  Building observeOn.js...āˆž  Building takeLast.js...āˆž  Building scan.js...āˆž  Building defaultIfEmpty.js...āˆž  Building bufferCount.js...āˆž  Building first.js...āˆž  Building Notification.js...āˆž  Building ArgumentOutOfRangeError.js...āˆž  Building hmr-runtime.js...āˆš  Built in 31.37s.

for build :

PS C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui> parcel build ./src/index.html -d /distribution --no-cache
Ɨ  C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\polyfills.ts: Error: Error: Path should be absolute
    at FileStore.readFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\compiler\store.js:25:19)
    at FileStore.readSource (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\compiler\store.js:55:27)
    at AngularCompilerHost.getSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\compiler\host.js:13:31)
    at TsCompilerAotCompilerTypeCheckHostAdapter.getOriginalSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\@angular\compiler-cli\src\transformers\compiler_host.js:237:31)
    at TsCompilerAotCompilerTypeCheckHostAdapter.getSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\@angular\compiler-cli\src\transformers\compiler_host.js:335:23)
    at findSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:75050:29)
    at args (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:74987:85)
    at getSourceFileFromReferenceWorker (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:74960:34)
    at processSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:74987:13)
    at processRootFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:74841:13)
    at AngularWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at FileStore.readFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\compiler\store.js:25:19)
    at FileStore.readSource (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\compiler\store.js:55:27)
    at AngularCompilerHost.getSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\backend\compiler\host.js:13:31)
    at TsCompilerAotCompilerTypeCheckHostAdapter.getOriginalSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\@angular\compiler-cli\src\transformers\compiler_host.js:237:31)
    at TsCompilerAotCompilerTypeCheckHostAdapter.getSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\@angular\compiler-cli\src\transformers\compiler_host.js:335:23)
    at findSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:75050:29)
    at args (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:74987:85)
    at getSourceFileFromReferenceWorker (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:74960:34)
    at processSourceFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:74987:13)
    at processRootFile (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\typescript\lib\typescript.js:74841:13)
    at AngularWorker.<anonymous> (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\worker\index.js:27:19)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\tslib\tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at IncomingMessage.res.setEncoding.on (C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\node_modules\parcel-plugin-typescript\build\ipc\client.js:31:32)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1055:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
PS C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui>

in webbrowser console :

Uncaught TypeError: (0 , _core.Component) is not a function
    at 0f55d50ffb2d0e97dec680cddd53f535.js:98458
    at Object.require.35.@angular/core (0f55d50ffb2d0e97dec680cddd53f535.js:98464)
    at newRequire (0f55d50ffb2d0e97dec680cddd53f535.js:42)
    at localRequire (0f55d50ffb2d0e97dec680cddd53f535.js:48)
    at Object.require.4.@angular/core (0f55d50ffb2d0e97dec680cddd53f535.js:111895)
    at newRequire (0f55d50ffb2d0e97dec680cddd53f535.js:42)
    at require.146 (0f55d50ffb2d0e97dec680cddd53f535.js:69)
    at 0f55d50ffb2d0e97dec680cddd53f535.js:74
fathyb commented 6 years ago

@tatsujb I updated parcel-plugin-typescript to 0.7.0 with bug fixes in Windows. Could you try it with parcel-plugin-angular@0.5.1-next.13?

tatsujb commented 6 years ago

not looking so hot :

> parcel ./src/index.html --no-cache

Server running at http://localhost:1234 
āˆž  Building...
āˆž  Building index.html...āˆž  Building main.ts...āˆž  Building polyfills.ts...āˆž  Building favicon.ico...āˆž  Building environment.ts...āˆž  Building app.module.ts...āˆž  Building web-animations.min.js...āˆž  Building app.component.ts...āˆž  Building login.component.ts...āˆž  Building logged.in.component.ts...āˆž  Building four.o.four.component.ts...āˆž  Building api.connect.service.ts...āˆž  Building is.top.bar.opened.service.ts...āˆž  Building purchase.orders.filter.service.ts...āˆž  Building app.routing.ts...āˆž  Building top.bar.component.ts...āˆž  Building content.component.ts...āˆž  Building purchase.orders.table.service.ts...āˆž  Building routing.component.ts...āˆž  Building double.slider.component.ts...āˆž  Building page.selector.component.ts...āˆž  Building items.component.ts...āˆž  Building purchase.orders.component.ts...āˆž  Building review.table.component.ts...āˆž  Building filters.component.ts...Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\3b8c4960-1d32-11e8-b90a-9b6d9aaf187d
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
āˆž  Building core.js...āˆž  Building platform-browser-dynamic.js...āˆž  Building object.js...āˆž  Building symbol.js...āˆž  Building function.js...āˆž  Building string.js...āˆž  Building parse-int.js...āˆž  Building date.js...āˆž  Building array.js...āˆž  Building map.js...āˆž  Building weak-map.js...āˆž  Building set.js...āˆž  Building zone.js...āˆž  Building number.js...āˆž  Building parse-float.js...āˆž  Building reflect.js...āˆž  Building regexp.js...āˆž  Building 

then it just infinitely waits hogging lots of CPU in a loop.

no webpage.

I've updated the git repo.

I'm ever persuaded it might be something wrong I'm doing.

fathyb commented 6 years ago

What version of Windows are you using? I think (not sure at all) named pipes are only Windows 8+.

tatsujb commented 6 years ago

I'm using window 10 pro 64bit 1709 OS NĀ°: 16299.248

tatsujb commented 6 years ago

Hey. sorry to pester. šŸ‘¶ Is there any progress?

tatsujb commented 6 years ago

hey recently parcel-bundler got an upgrade (1.6.2) and all of angular is now up to (5.2.8)

could this have helped?

fathyb commented 6 years ago

Apologies for the lateness, did not see the notifications. Does it work now? I don't know it worked with a fresh Windows install for me, perhaps it was something else on your environment?

Updating Angular may have helped though, I did not ran per-version compatibility tests.

tatsujb commented 6 years ago

no it doesn't not work for me.

perhaps it's still the firewall? I doubt it but that's the only real influencing/differing factor I see.

lemme try again. with what repo/push are you having success?

fathyb commented 6 years ago

Your repo with the last next version of the Angular plugin and the last version of the TypeScript plugin

tatsujb commented 6 years ago

that doesn't work for me šŸ˜¢

I get :

āˆž  Building web-animations.min.js...
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\ParcelAngularScss\bf00f040-278a-11e8-a6cf-1591cd10c4b6
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\ParcelAngularScss\bf00f040-278a-11e8-a6cf-1591cd10c4b6
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
Ɨ  C:\Users\j_bard\WebstormProjects\ParcelAngularScss\src\app\app.module.ts:30:38: Cannot resolve dependency './logged.i  28 | import {FourOFour} from './four.o.four/four.o.four.component';ularScss\src\app\logged.in\logged.in.component'
  29 | import {ReviewTable} from './logged.in/content/routing/purchase.orders/review.table/review.table.component';
> 30 | import {DoubleSlider} from './assets/components/double.slider/double.slider.component';
     |                                       ^
  31 | import {PageSelector} from './assets/components/page.selector/page.selector.component';
  32 | import {FiltersComponent} from './logged.in/content/routing/purchase.orders/filters/filters.component';
  33 | import {PurchaseOrdersTableService} from './assets/services/purchase.orders.table.service';
  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(17,43)
Cannot find module './assets/services/purchase.orders.filter.service'.
    16 | import {IsTopBarOpenedService} from './assets/services/is.top.bar.opened.service';
  > 17 | import {PurchaseOrdersFilterService} from './assets/services/purchase.orders.filter.service';
       |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    18 |

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(22,33)
Cannot find module './logged.in/logged.in.component'.
    21 | import {LoginComponent} from './login/login.component';
  > 22 | import {LoggedInComponent} from './logged.in/logged.in.component';
       |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    23 | import {TopBarComponent} from './logged.in/top.bar/top.bar.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(23,31)
Cannot find module './logged.in/top.bar/top.bar.component'.
    22 | import {LoggedInComponent} from './logged.in/logged.in.component';
  > 23 | import {TopBarComponent} from './logged.in/top.bar/top.bar.component';
       |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    24 | import {ContentComponent} from './logged.in/content/content.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(24,32)
Cannot find module './logged.in/content/content.component'.
    23 | import {TopBarComponent} from './logged.in/top.bar/top.bar.component';
  > 24 | import {ContentComponent} from './logged.in/content/content.component';
       |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    25 | import {RoutingComponent} from './logged.in/content/routing/routing.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(25,32)
Cannot find module './logged.in/content/routing/routing.component'.
    24 | import {ContentComponent} from './logged.in/content/content.component';
  > 25 | import {RoutingComponent} from './logged.in/content/routing/routing.component';
       |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    26 | import {Items} from './logged.in/content/routing/items/items.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(26,21)
Cannot find module './logged.in/content/routing/items/items.component'.
    25 | import {RoutingComponent} from './logged.in/content/routing/routing.component';
  > 26 | import {Items} from './logged.in/content/routing/items/items.component';
       |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    27 | import {PurchaseOrders} from './logged.in/content/routing/purchase.orders/purchase.orders.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(27,30)
Cannot find module './logged.in/content/routing/purchase.orders/purchase.orders.component'.
    26 | import {Items} from './logged.in/content/routing/items/items.component';
  > 27 | import {PurchaseOrders} from './logged.in/content/routing/purchase.orders/purchase.orders.component';
       |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    28 | import {FourOFour} from './four.o.four/four.o.four.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(29,27)
Cannot find module './logged.in/content/routing/purchase.orders/review.table/review.table.component'.
    28 | import {FourOFour} from './four.o.four/four.o.four.component';
  > 29 | import {ReviewTable} from './logged.in/content/routing/purchase.orders/review.table/review.table.component';
       |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    30 | import {DoubleSlider} from './assets/components/double.slider/double.slider.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(30,28)
Cannot find module './assets/components/double.slider/double.slider.component'.
    29 | import {ReviewTable} from './logged.in/content/routing/purchase.orders/review.table/review.table.component';
  > 30 | import {DoubleSlider} from './assets/components/double.slider/double.slider.component';
       |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    31 | import {PageSelector} from './assets/components/page.selector/page.selector.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(31,28)
Cannot find module './assets/components/page.selector/page.selector.component'.
    30 | import {DoubleSlider} from './assets/components/double.slider/double.slider.component';
  > 31 | import {PageSelector} from './assets/components/page.selector/page.selector.component';
       |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    32 | import {FiltersComponent} from './logged.in/content/routing/purchase.orders/filters/filters.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(32,32)
Cannot find module './logged.in/content/routing/purchase.orders/filters/filters.component'.
    31 | import {PageSelector} from './assets/components/page.selector/page.selector.component';
  > 32 | import {FiltersComponent} from './logged.in/content/routing/purchase.orders/filters/filters.component';
       |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    33 | import {PurchaseOrdersTableService} from './assets/services/purchase.orders.table.service';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(33,42)
Cannot find module './assets/services/purchase.orders.table.service'.
    32 | import {FiltersComponent} from './logged.in/content/routing/purchase.orders/filters/filters.component';
  > 33 | import {PurchaseOrdersTableService} from './assets/services/purchase.orders.table.service';
       |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    34 |

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(17,43)
Cannot find module './assets/services/purchase.orders.filter.service'.
    16 | import {IsTopBarOpenedService} from './assets/services/is.top.bar.opened.service';
  > 17 | import {PurchaseOrdersFilterService} from './assets/services/purchase.orders.filter.service';
       |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    18 |

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(22,33)
Cannot find module './logged.in/logged.in.component'.
    21 | import {LoginComponent} from './login/login.component';
  > 22 | import {LoggedInComponent} from './logged.in/logged.in.component';
       |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    23 | import {TopBarComponent} from './logged.in/top.bar/top.bar.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(23,31)
Cannot find module './logged.in/top.bar/top.bar.component'.
    22 | import {LoggedInComponent} from './logged.in/logged.in.component';
  > 23 | import {TopBarComponent} from './logged.in/top.bar/top.bar.component';
       |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    24 | import {ContentComponent} from './logged.in/content/content.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(24,32)
Cannot find module './logged.in/content/content.component'.
    23 | import {TopBarComponent} from './logged.in/top.bar/top.bar.component';
  > 24 | import {ContentComponent} from './logged.in/content/content.component';
       |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    25 | import {RoutingComponent} from './logged.in/content/routing/routing.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(25,32)
Cannot find module './logged.in/content/routing/routing.component'.
    24 | import {ContentComponent} from './logged.in/content/content.component';
  > 25 | import {RoutingComponent} from './logged.in/content/routing/routing.component';
       |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    26 | import {Items} from './logged.in/content/routing/items/items.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(26,21)
Cannot find module './logged.in/content/routing/items/items.component'.
    25 | import {RoutingComponent} from './logged.in/content/routing/routing.component';
  > 26 | import {Items} from './logged.in/content/routing/items/items.component';
       |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    27 | import {PurchaseOrders} from './logged.in/content/routing/purchase.orders/purchase.orders.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(27,30)
Cannot find module './logged.in/content/routing/purchase.orders/purchase.orders.component'.
    26 | import {Items} from './logged.in/content/routing/items/items.component';
  > 27 | import {PurchaseOrders} from './logged.in/content/routing/purchase.orders/purchase.orders.component';
       |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    28 | import {FourOFour} from './four.o.four/four.o.four.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(29,27)
Cannot find module './logged.in/content/routing/purchase.orders/review.table/review.table.component'.
    28 | import {FourOFour} from './four.o.four/four.o.four.component';
  > 29 | import {ReviewTable} from './logged.in/content/routing/purchase.orders/review.table/review.table.component';
       |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    30 | import {DoubleSlider} from './assets/components/double.slider/double.slider.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(30,28)
Cannot find module './assets/components/double.slider/double.slider.component'.
    29 | import {ReviewTable} from './logged.in/content/routing/purchase.orders/review.table/review.table.component';
  > 30 | import {DoubleSlider} from './assets/components/double.slider/double.slider.component';
       |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    31 | import {PageSelector} from './assets/components/page.selector/page.selector.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(31,28)
Cannot find module './assets/components/page.selector/page.selector.component'.
    30 | import {DoubleSlider} from './assets/components/double.slider/double.slider.component';
  > 31 | import {PageSelector} from './assets/components/page.selector/page.selector.component';
       |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    32 | import {FiltersComponent} from './logged.in/content/routing/purchase.orders/filters/filters.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(32,32)
Cannot find module './logged.in/content/routing/purchase.orders/filters/filters.component'.
    31 | import {PageSelector} from './assets/components/page.selector/page.selector.component';
  > 32 | import {FiltersComponent} from './logged.in/content/routing/purchase.orders/filters/filters.component';
       |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    33 | import {PurchaseOrdersTableService} from './assets/services/purchase.orders.table.service';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/app.module.ts(33,42)
Cannot find module './assets/services/purchase.orders.table.service'.
    32 | import {FiltersComponent} from './logged.in/content/routing/purchase.orders/filters/filters.component';
  > 33 | import {PurchaseOrdersTableService} from './assets/services/purchase.orders.table.service';
       |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    34 |

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/assets/routes/app.routing.ts(2,23)
Cannot find module '../../logged.in/content/routing/items/items.component'.
    1 | import { RouterModule } from '@angular/router';
  > 2 | import { Items } from '../../logged.in/content/routing/items/items.component';
      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    3 | import { PurchaseOrders } from '../../logged.in/content/routing/purchase.orders/purchase.orders.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/assets/routes/app.routing.ts(3,32)
Cannot find module '../../logged.in/content/routing/purchase.orders/purchase.orders.component'.
    2 | import { Items } from '../../logged.in/content/routing/items/items.component';
  > 3 | import { PurchaseOrders } from '../../logged.in/content/routing/purchase.orders/purchase.orders.component';
      |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    4 | import { FourOFour } from '../../four.o.four/four.o.four.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/assets/routes/app.routing.ts(2,23)
Cannot find module '../../logged.in/content/routing/items/items.component'.
    1 | import { RouterModule } from '@angular/router';
  > 2 | import { Items } from '../../logged.in/content/routing/items/items.component';
      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    3 | import { PurchaseOrders } from '../../logged.in/content/routing/purchase.orders/purchase.orders.component';

  C:/Users/j_bard/WebstormProjects/ParcelAngularScss/src/app/assets/routes/app.routing.ts(3,32)
Cannot find module '../../logged.in/content/routing/purchase.orders/purchase.orders.component'.
    2 | import { Items } from '../../logged.in/content/routing/items/items.component';
  > 3 | import { PurchaseOrders } from '../../logged.in/content/routing/purchase.orders/purchase.orders.component';
      |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    4 | import { FourOFour } from '../../four.o.four/four.o.four.component';

with my latest version I get :

"C:\Users\j_bard\AppData\Roaming\JetBrains\WebStorm 181.3986.8\bin\runnerw.exe" "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" start

> web.ui@0.0.0 start C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui
> parcel ./src/index.html --no-cache

Server running at http://localhost:1234 
āˆž  Building...
āˆž  Building index.html...āˆž  Building main.ts...āˆž  Building polyfills.ts...āˆž  Building favicon.ico...āˆž  Building environment.ts...āˆž  Building app.module.ts...āˆž  Building web-animations.min.js...āˆž  Building app.component.ts...āˆž  Building login.component.ts...āˆž  Building logged.in.component.ts...āˆž  Building four.o.four.component.ts...āˆž  Building api.connect.service.ts...āˆž  Building animations.service.ts...āˆž  Building purchase.orders.filter.service.ts...āˆž  Building app.routing.ts...āˆž  Building top.bar.component.ts...āˆž  Building content.component.ts...āˆž  Building purchase.orders.table.service.ts...āˆž  Building routing.component.ts...āˆž  Building page.selector.component.ts...āˆž  Building double.slider.component.ts...āˆž  Building items.component.ts...āˆž  Building purchase.orders.component.ts...āˆž  Building review.table.component.ts...āˆž  Building details.component.ts...āˆž  Building filters.component.ts...Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
Unhandled promise rejection: Error: connect ENOENT \\?\pipe\C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\ebf3f010-278b-11e8-a88e-7f305efcfde7
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
āˆž  Building platform-browser-dynamic.js...āˆž  Building core.js...āˆž  Building object.js...āˆž  Building function.js...āˆž  Building parse-int.js...āˆž  Building symbol.js...āˆž  Building parse-float.js...āˆž  Building math.js...āˆž  Building number.js...āˆž  Building string.js...āˆž  Building array.js...āˆž  Building map.js...āˆž  Building weak-map.js...āˆž  Building regexp.js...āˆž  Building reflect.js...āˆž  Building zone.js...āˆž  Building date.js...āˆž  Building set.js...
tatsujb commented 6 years ago

we are talking about this repo right : https://github.com/tatsujb/ParcelAngularScss ?

tatsujb commented 6 years ago

https://stackoverflow.com/questions/44404834/polymer-cli-promise-rejection-error-enoent-no-such-file-or-directory-open

https://stackoverflow.com/questions/43625615/npm-start-shows-unhandled-promise-rejection-error

could one of these issues be the cause?

I AM using material and I AM using promises/observables.

I've pushed to the repo again.

fathyb commented 6 years ago

I don't think so, I'm at work right now, I'll re-check at home :)

tatsujb commented 6 years ago

hey! :) sorry it's been awhile my project has been on hiatus (and still is) in the meantime I'm on other angular projects where I don't have a hand on the stack but I want to keep on top of this topic so that you know that I'm not abandoning you and that if there is a fix I know about it.