Skip to content

Build Warning #2

@jacodv

Description

@jacodv

Hi @olee ,

I have stumbled upon your NPM package, and I am trying to implement DI in React for the first time. Are you aware of the build warning that your package introduces. If so, how do I ignore it?

> template-with-di@0.1.0 build
> react-scripts build

Creating an optimized production build...
Compiled with warnings.

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\EventEmitter.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\EventEmitter.ts'

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\Injector.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\Injector.ts'

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\binding.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\binding.ts'

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\createToken.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\createToken.ts'

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\devtoolsFormatters.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\devtoolsFormatters.ts'

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\errors.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\errors.ts'

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\index.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\index.ts'

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\provider\AsyncClassProvider.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\provider\AsyncClassProvider.ts'

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\provider\AsyncFactoryProvider.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\provider\AsyncFactoryProvider.ts'

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\provider\ClassProvider.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\provider\ClassProvider.ts'

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\provider\FactoryProvider.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\provider\FactoryProvider.ts'

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\provider\LazyClassProvider.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\provider\LazyClassProvider.ts'

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\provider\ValueProvider.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\provider\ValueProvider.ts'

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\provider\index.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\provider\index.ts'

Failed to parse source map from 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\types.ts' file: Error: ENOENT: no such file or directory, open 'C:\Git\ifs-gitlab\labyrinth\ui\poc\template-with-di\node_modules\tpendency\src\types.ts'

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

File sizes after gzip:

  52.71 kB  build\static\js\main.0d2817f3.js
  2.26 kB   build\static\js\17.46dcb037.chunk.js
  411 B     build\static\js\943.0ea93303.chunk.js
  344 B     build\static\css\943.44f94735.chunk.css
  263 B     build\static\css\main.e6c13ad2.css

The project was built assuming it is hosted at /.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions