Giter VIP home page Giter VIP logo

Comments (4)

eladh avatar eladh commented on July 29, 2024 1

me too.

the main.ts is just checked from Master : https://github.com/jelbourn/material2-app/blob/master/src/main.ts

from material2-app.

pmizuno avatar pmizuno commented on July 29, 2024

What's in your main.ts?

from material2-app.

micke-a avatar micke-a commented on July 29, 2024

I get the same error on a after trying to start a clone just now


mailm@DESKTOP-E4BRND9 MINGW64 /c/dev/checkouts/material2-app (master)
$ ng serve
Your global Angular CLI version (1.0.0-beta.26) is greater than your local version (1.0.0-beta.28.3). The local Angular CLI version is used.
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
Tried to find bootstrap code, but could not. Specify either statically analyzable bootstrap code or pass in an entryModule to the plugins options.
Error: Tried to find bootstrap code, but could not. Specify either statically analyzable bootstrap code or pass in an entryModule to the plugins options.
    at Object.resolveEntryModuleFromMain (C:\dev\checkouts\material2-app\node_modules\@ngtools\webpack\src\entry_resolver.js:131:11)
    at AotPlugin._setupOptions (C:\dev\checkouts\material2-app\node_modules\@ngtools\webpack\src\plugin.js:174:50)
    at new AotPlugin (C:\dev\checkouts\material2-app\node_modules\@ngtools\webpack\src\plugin.js:21:14)
    at Object.exports.getNonAotConfig (C:\dev\checkouts\material2-app\node_modules\angular-cli\models\webpack-configs\typescript.js:26:13)
    at new NgCliWebpackConfig (C:\dev\checkouts\material2-app\node_modules\angular-cli\models\webpack-config.js:24:37)
    at Class.run (C:\dev\checkouts\material2-app\node_modules\angular-cli\tasks\serve.js:31:29)
    at C:\dev\checkouts\material2-app\node_modules\angular-cli\commands\serve.run.js:22:22
    at process._tickCallback (internal/process/next_tick.js:103:7)

mailm@DESKTOP-E4BRND9 MINGW64 /c/dev/checkouts/material2-app (master)
$ node --version
v6.5.0

mailm@DESKTOP-E4BRND9 MINGW64 /c/dev/checkouts/material2-app (master)
$ npm --version
3.10.3


from material2-app.

Newbieee avatar Newbieee commented on July 29, 2024

I faced the same error. It seems there is the another thread running on the same issue. I found the resolution HERE

from material2-app.

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.