Comments (7)
@ashish173
Getting the following error in the console.
SCRIPT5007: Unable to get property 'apply' of undefined or null reference
vendor.886af24f0be20ee2cae3.bundle.js (1,440154)
from angularspree.
@phuhien92 Thanks for reporting it, @arjun289 Thanks for helping us narrow it down with the error log. We'll fix this asap.
from angularspree.
Hey, i tried to run this app locally but getting Webpack exception.
Steps i Did : Downloaded Zip file, unzipped in a folder on windows 10, Open folder in VS Code, Run "npm install", It created node_module folder, Ran "ng serve" command, and then it threw below webpack not found exception:
C:\XXXX\angularspree-master> ng serve
Cannot find module 'webpack'
Error: Cannot find module 'webpack'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
I added "webpack": "2.5.1", in package.json, ran "npm install" again and then "ng serve" ,but then it gave another exception like :
ng serve
Cannot destructure property createHash
of 'undefined' or 'null'.
TypeError: Cannot destructure property createHash
of 'undefined' or 'null'.
at Object.
Can you please suggest if i am doing something wrong or missed any step?
from angularspree.
Try these steps
- git clone
- yarn install
- yarn start:dev-ng-spree
To start default theme
from angularspree.
Hey @pkrawat1 , Thank you so much for providing me the steps to run it locally.
Today i tried running these and it ran good till the step 2.
but when i ran 3rd step i.e. "yarn start:dev-ng-spree" , it started on port 4200 but on loading it on browser, it resulted in following custom module exception. Please suggest.
ERROR in src/environments/environment.dev-custom.ts(1,31): error TS2307: Cannot find module './../config/custom'.
src/environments/environment.prod-custom.ts(1,31): error TS2307: Cannot find module '../config/custom'.
Error detail:
PS C:\RnD\AngularSpree-Git\angularspree> yarn start:dev-ng-spree
yarn run v1.7.0
$ ng serve --configuration=dev-ng-spree
** Angular Live Development Server is listening on localhost: 4200, open your browser on http://localhost:4200/ **
Date: 2018-07-02T19:25:04.682Z
Hash: 3e469ef88baaa30c8e73
Time: 13161ms
chunk {main} main.js, main.js.map (main) 1.95 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 693 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.4 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 268 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 325 kB [initial] [rendered]
ERROR in src/environments/environment.dev-custom.ts(1,31): error TS2307: Cannot find module './../config/custom'.
src/environments/environment.prod-custom.ts(1,31): error TS2307: Cannot find module '../config/custom'.
from angularspree.
Hey @pkrawat1 , It is working fine now. Apologies, i should have looked on the error detail more carefully, i commented content in environment.dev-custom.ts and environment.prod-custom.ts to make it compile properly and then it came up on browser. I understand these file are for customizing it. thanks for the project.
from angularspree.
@phuhien92 we have done recent UI related changes. Feel free to comment if it still breaking in IE.
from angularspree.
Related Issues (20)
- Cannot add new address on firebaseapp HOT 1
- Unable to run project HOT 5
- ngu-carousel code update HOT 5
- Question on API calls
- Issue while running project HOT 2
- Error while serving the application HOT 4
- Issue while running the application HOT 4
- Unable to run the project HOT 3
- @ngrx/entity HOT 1
- @NgCarousel HOT 1
- CONTRIBUTING.md states that developers should create PR's against master branch HOT 1
- docker-compose up HOT 6
- how to run the project and is there any database file in it
- User deleted by admin cannot sign in again. HOT 1
- error on "scripts" > "start"
- Integrate storybook : storybook.js.org
- The mock data in the project doesn't seem to work
- Not able to singup in the demo url,always throws error
- fibers package is causing compilation failure on node >=16.x
- [Migrate] : Bootstrap to TailwindCSS HOT 3
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 angularspree.