Coder Social home page Coder Social logo

Comments (3)

nerdophile avatar nerdophile commented on July 4, 2024 1

ERROR in ./src/app/app.module.ngfactory.js
Module not found: Error: Can't resolve 'angular-page-visibility' in '/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/src/app'
resolve 'angular-page-visibility' in '/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/src/app'
Parsed request is a module
using description file: /Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/package.json (relative path: ./src/app)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
looking for modules in /Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/
using description file: /Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/package.json (relative path: .)
Field 'browser' doesn't contain a valid alias configuration
using description file: /Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/package.json (relative path: ./angular-page-visibility)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/angular-page-visibility doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/angular-page-visibility.ts doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/angular-page-visibility.tsx doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/angular-page-visibility.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/angular-page-visibility.js doesn't exist
as directory
/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/angular-page-visibility doesn't exist
/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/src/app/node_modules doesn't exist or is not a directory
/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/src/node_modules doesn't exist or is not a directory
/Users/venkatpoojari/Documents/dev/Angular/node_modules doesn't exist or is not a directory
/Users/venkatpoojari/Documents/dev/node_modules doesn't exist or is not a directory
/Users/venkatpoojari/Documents/node_modules doesn't exist or is not a directory
/Users/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
looking for modules in /Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/node_modules
using description file: /Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
looking for modules in /Users/venkatpoojari/node_modules
using description file: /Users/venkatpoojari/package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
using description file: /Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/package.json (relative path: ./node_modules/angular-page-visibility)
no extension
Field 'browser' doesn't contain a valid alias configuration
using description file: /Users/venkatpoojari/package.json (relative path: ./node_modules/angular-page-visibility)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/node_modules/angular-page-visibility doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/venkatpoojari/node_modules/angular-page-visibility doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/node_modules/angular-page-visibility.ts doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/Users/venkatpoojari/node_modules/angular-page-visibility.ts doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/node_modules/angular-page-visibility.tsx doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/Users/venkatpoojari/node_modules/angular-page-visibility.tsx doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/node_modules/angular-page-visibility.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/venkatpoojari/node_modules/angular-page-visibility.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/node_modules/angular-page-visibility.js doesn't exist
as directory
/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/node_modules/angular-page-visibility doesn't exist
/Users/venkatpoojari/node_modules/angular-page-visibility.js doesn't exist
as directory
/Users/venkatpoojari/node_modules/angular-page-visibility doesn't exist
[/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/angular-page-visibility]
[/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/angular-page-visibility.ts]
[/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/angular-page-visibility.tsx]
[/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/angular-page-visibility.mjs]
[/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/angular-page-visibility.js]
[/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/src/app/node_modules]
[/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/src/node_modules]
[/Users/venkatpoojari/Documents/dev/Angular/node_modules]
[/Users/venkatpoojari/Documents/dev/node_modules]
[/Users/venkatpoojari/Documents/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/node_modules/angular-page-visibility]
[/Users/venkatpoojari/node_modules/angular-page-visibility]
[/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/node_modules/angular-page-visibility.ts]
[/Users/venkatpoojari/node_modules/angular-page-visibility.ts]
[/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/node_modules/angular-page-visibility.tsx]
[/Users/venkatpoojari/node_modules/angular-page-visibility.tsx]
[/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/node_modules/angular-page-visibility.mjs]
[/Users/venkatpoojari/node_modules/angular-page-visibility.mjs]
[/Users/venkatpoojari/Documents/dev/Angular/x-billion-skills-lab/node_modules/angular-page-visibility.js]
[/Users/venkatpoojari/node_modules/angular-page-visibility.js]
@ ./src/app/app.module.ngfactory.js 68:0-47 114:6521-6553 114:6555-6587 114:14603-14634 114:14636-14667
@ ./src/main.ts
@ multi ./src/main.ts

I m getting this error while building the app using ng build --prod

from angular-page-visibility.

AndersTornkvist avatar AndersTornkvist commented on July 4, 2024 1

Added support for both Angular 8 and Angular 9 in PR #14

from angular-page-visibility.

Lauriy avatar Lauriy commented on July 4, 2024

I don't know if or how I got it to work in my fork, archived/unpublished to avoid further confusion.

from angular-page-visibility.

Related Issues (15)

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.