question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Several errors on start task

See original GitHub issue

Please fill below information if issuing a bug report.

Expected behaviour

Following guidelines for contributing results in some build error

Actual behaviour

I’ve just cloned the repository master branch, then after launching yarn start:

` [413] ./node_modules/zone.js/dist/long-stack-trace-zone.js 6.22 kB {1} [built] + 399 hidden modules

ERROR in [at-loader] ./demo/app/app.component.ts:12:15 TS2304: Cannot find name ‘require’.

ERROR in [at-loader] ./demo/app/layout/header.component.ts:2:22 TS2304: Cannot find name ‘require’.

ERROR in [at-loader] ./demo/app/layout/header.component.ts:3:23 TS2304: Cannot find name ‘require’.

ERROR in [at-loader] ./demo/polyfills.ts:4:1 TS2304: Cannot find name ‘require’.

ERROR in [at-loader] ./demo/polyfills.ts:8:5 TS2304: Cannot find name ‘process’.

ERROR in [at-loader] ./demo/polyfills.ts:15:5 TS2304: Cannot find name ‘require’.

ERROR in [at-loader] ./src/ng-select/ng-select.component.ts:49:15 TS2304: Cannot find name ‘require’.

ERROR in [at-loader] ./src/ng-select/ng-select.component.ts:50:14 TS2304: Cannot find name ‘require’. Child html-webpack-plugin for “index.html”: Asset Size Chunks Chunk Names index.html 1.46 MB 0 [0] ./node_modules/html-webpack-plugin/lib/loader.js!./demo/index.ejs 1.58 kB {0} [built] [1] ./node_modules/lodash/lodash.js 540 kB {0} [built] [2] (webpack)/buildin/global.js 488 bytes {0} [built] [3] (webpack)/buildin/module.js 495 bytes {0} [built] webpack: Failed to compile. `

More Info

ng-select version: latest master version clone

browser: -

reproducible in demo page: -

Maybe I am missing something, but I can’t figure out what.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
andrea-spotsoftwarecommented, Feb 13, 2018

Uhm, I tried reinstalling all from fresh but no way. Anyway I resolved inserting in demo/tsconfig.json file these rows: "types": [ "node" ], "typeRoots": [ "../node_modules/@types" ]

1reaction
anjmaocommented, Feb 26, 2018

@andrea-spotsoftware I pushed missing typeRoots, it should work fine now on Windows 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple error messages - Microsoft Community
When I attempt to run a backup I receive error message i.e. System ... You can open Task Scheduler and poke around in...
Read more >
c# - Getting error on foo.Start() when using Task.WhenAll for ...
If multiple tasks fail, an AggregateException is raised. It is not the same as 3 consecutive await . With consecutive await, if the...
Read more >
DAQmx Start Task.vi:7220004 Error in multi-sub - NI Community
The middle channel is creating the error. Essentially, I am trying to turn on two photodiodes and a signal generator simultaneously. I am ......
Read more >
Errors by opening Task Scheduler Solved - Windows 10 Forums
When I open the Task Scheduler, I get many error messages, which mostly resemble to 'Task Name: The task object version is either...
Read more >
4 Ways to Fix the Windows 10 Task Scheduler When It ...
The Windows Task Scheduler is a quite handy tool if you like automating tasks on your PC. This tool helps you automatically run...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found