Cannot read property 'search' of null
See original GitHub issue🐞 Bug report
Description
ng add @scullyio/init
finished with the error Cannot read property 'search' of null
and scully.<projectName>.config.ts
file is not created in the project
🔬 Minimal Reproduction
- ng add @scullyio/init
💻Your Environment
Angular Version:
Angular CLI: 9.1.12
Node: 14.15.1
OS: win32 x64
Angular: 9.0.4
... common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
------------------------------------------------------------
@angular-devkit/architect 0.901.12
@angular-devkit/build-angular 0.901.9
@angular-devkit/build-optimizer 0.901.9
@angular-devkit/build-webpack 0.901.9
@angular-devkit/core 9.0.4
@angular-devkit/schematics 9.0.4
@angular/animations 9.1.12
@angular/cdk 9.2.4
@angular/cli 9.1.12
@angular/fire 5.4.2
@angular/flex-layout 9.0.0-beta.31
@angular/http 4.4.6
@angular/material 9.2.4
@angular/material-moment-adapter 7.3.7
@angular/youtube-player 11.0.0
@ngtools/webpack 9.1.9
@nguniversal/express-engine 7.0.2
@schematics/angular 9.0.4
@schematics/update 0.901.12
rxjs 6.5.4
typescript 3.7.5
webpack 4.42.0
Scully Version:
"@scullyio/init": "^1.0.1"
🔥 Exception or Error
Installing packages for tooling via npm.
Installed packages for tooling via npm.
Cannot read property 'search' of null
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Cannot read property of null - iDiallo
This error occurs when you read a property or call a method on a null object . That's because the DOM API returns...
Read more >TypeError: Cannot read property 'value' of Null in JS
To solve the "Cannot read property 'value' of null" error, make sure that the JS script tag is placed at the bottom of...
Read more >Uncaught TypeError: Cannot read property 'value' of null
I'm getting error in this code, I'm trying to do an event where in when the page is load, it will do the...
Read more >How to deal with TypeError: cannot read properties of null
Firstly, while programming it is a good practice to properly declare and assign the variable to a value. The “TypeError: null is not...
Read more >TypeError: Cannot read property 'getEditedPostAttribute' of null
TypeError : Cannot read property 'getEditedPostAttribute' of null ... I run into a problem today that prevents the new widgets page to display....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My two cents: as per what I found while dealing with this analoguous issue (#1402) , it may be due to a couple of Scully’s implicit requirements:
Iḿ closing this, as I believe this problem is solved now. If I’m mistaken, let m know and I will reopen it