Giter VIP home page Giter VIP logo

Comments (7)

arjun289 avatar arjun289 commented on May 18, 2024

@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.

ashish173 avatar ashish173 commented on May 18, 2024

@phuhien92 Thanks for reporting it, @arjun289 Thanks for helping us narrow it down with the error log. We'll fix this asap.

from angularspree.

gaurav848 avatar gaurav848 commented on May 18, 2024

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.

pkrawat1 avatar pkrawat1 commented on May 18, 2024

@gaurav848

Try these steps

  • git clone
  • yarn install
  • yarn start:dev-ng-spree To start default theme

from angularspree.

gaurav848 avatar gaurav848 commented on May 18, 2024

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.

gaurav848 avatar gaurav848 commented on May 18, 2024

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.

pkrawat1 avatar pkrawat1 commented on May 18, 2024

@phuhien92 we have done recent UI related changes. Feel free to comment if it still breaking in IE.

from angularspree.

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.