Comments (3)
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.
Added support for both Angular 8 and Angular 9 in PR #14
from angular-page-visibility.
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)
- Add the page visibility state to the success callback arg of observable $onPageVisibilityChange
- Angular 7 support HOT 1
- Angular Universal Support HOT 4
- @OnPageHidden doesn't work in iOS when mobile browser is minimized (Chrome on iOS, Safari).
- Add decorators to use in components HOT 1
- Ivy support? HOT 1
- AoT compatibility HOT 3
- ISUUE WHEN FULLSCRENN IN FIREFOX
- @OnPageVisible() doesnt work with class instances HOT 3
- Angular 6 Compatibility HOT 2
- Build error with aot support HOT 1
- Decorators doesnt work with Injectables HOT 1
- rxjs error HOT 4
- typo in readme
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-page-visibility.