Code Monkey home page Code Monkey logo

Comments (10)

odahcam avatar odahcam commented on August 10, 2024

Angular version?

from ngx-scanner.

praveenrengarajan avatar praveenrengarajan commented on August 10, 2024

Angular CLI: 1.6.3
Node: 6.11.0
OS: win32 x64
Angular: 5.1.3

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024

Please update the library: @zxing/ngx-scanner": "^1.0.0-dev.1.0.0-dev.ec70451 is the latest version, production build with ng build --target=production --environment=prod works fine for me

from ngx-scanner.

praveenrengarajan avatar praveenrengarajan commented on August 10, 2024

Still facing the same problem, uninstalled the old version and installed ec70451
image

package.json
image

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024
  • did you use yarn or npm?
  • any linked dependencies?
  • can you maybe update CLI to 1.7.x just to be sure..?
  • anything special in tsconfig.json?
  • you probably saw already..? angular/angular-cli#3854 (comment)

from ngx-scanner.

praveenrengarajan avatar praveenrengarajan commented on August 10, 2024
  • using npm
  • no dependencies in that particular module
  • tsconfig

{
"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"
]
}
}
will try update CLI to 1.7x : nothing difference

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024

I created a new Angular Project with CLI 1.7.3 that gives me this package.json
package.json.txt
running npm run build works fine.. poking in the dark here 😕

from ngx-scanner.

praveenrengarajan avatar praveenrengarajan commented on August 10, 2024

angular/angular-cli#3854 (comment) this one helped.

from ngx-scanner.

werthdavid avatar werthdavid commented on August 10, 2024

Awesome! 🎉

from ngx-scanner.

lock avatar lock commented on August 10, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from ngx-scanner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.