You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scss is compiled on both ng serve and parcel ./src/index.html
馃槸 Current Behavior
ng serve creates project with compiled scss. no errors, parcel ./src/index.html ignores scss files entirely and outputs this error :
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:104: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: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\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:104: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: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: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:104: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: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: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:104: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: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: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:104: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: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\logged-in\logged-in.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:104: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: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\login\login.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:104: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: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\logged-in\top-bar\top-bar.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:104: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: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\logged-in\left-bar\left-bar.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:104: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: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\logged-in\content\content.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:104: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: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)
馃拋 Possible Solution
path into angular-cli's usage of scss compilation and use it for parcel or make sure parcel continues to use node-sass as it does with React.
also my stack shows this bug : PatrickJS/PatrickJS-starter#1555 : if any scss files that are present are empty the rather than serving the app without loading any style (as I have right now) it fails to compile at all. with : Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\polyfills.ts'.
The text was updated successfully, but these errors were encountered:
@tatsujb Parcel isn't responsible for the Angular CSS support, the plugin is. It works with React projects because they mostly use the standard import/require. I'm closing this as it's a bug of the Angular plugin, please open an issue on the plugin tracker.
Choose one: is this a 馃悰
馃帥 Configuration (.babelrc, package.json, cli command)
馃 Expected Behavior
scss is compiled on both
ng serve
andparcel ./src/index.html
馃槸 Current Behavior
ng serve
creates project with compiled scss.no errors, parcel ./src/index.html
ignores scss files entirely and outputs this error :馃拋 Possible Solution
path into angular-cli's usage of scss compilation and use it for parcel or make sure parcel continues to use node-sass as it does with React.
馃敠 Context
馃捇 Code Sample
ts.config.json :
index.html :
馃實 Your Environment
also my stack shows this bug : PatrickJS/PatrickJS-starter#1555 : if any scss files that are present are empty the rather than serving the app without loading any style (as I have right now) it fails to compile at all. with :
Unhandled promise rejection: Error: Error: Error: Could not find file: 'C:\Users\j_bard\WebstormProjects\AirConnect\web\web.ui\src\polyfills.ts'.
The text was updated successfully, but these errors were encountered: