Skip to content

generator-angular-fullstack@alpha, start with SASS although choice is LESS #2421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dhruvaprajapati opened this issue Dec 22, 2016 · 1 comment
Labels
Milestone

Comments

@dhruvaprajapati
Copy link

Below were my choice

Item Version
generator-angular-fullstack alpha (for angular 2)
Node 7.2.0
npm 4.0.3
Operating System Windows 10
etc etc
Item Answer
Transpiler Babel
Markup HTML
CSS LESS
Router ui-router
Client Tests Mocha
DB MongoDB / SQL
Auth Y / N
etc etc

I selected Less for css, after npm install it starts with the sass
below is the error

Module not found: Error: Cannot resolve module 'sass' in C:\projects\af-a2\client\app
 @ ./client/app/app.js 8:0-38

ERROR in ./client/components/footer/footer.component.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./footer.scss in C:\projects\af-a2\client\components\footer
 @ ./client/components/footer/footer.component.js 21:11-35

ERROR in ./client/app/main/main.less
Module parse failed: C:\projects\af-a2\client\app\main\main.less Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (1:0)
    at Parser.pp$4.raise (C:\projects\af-a2\node_modules\acorn\dist\acorn.js:2221:15)
    at Parser.pp.unexpected (C:\projects\af-a2\node_modules\acorn\dist\acorn.js:603:10)
    at Parser.pp$3.parseExprAtom (C:\projects\af-a2\node_modules\acorn\dist\acorn.js:1822:12)
    at Parser.pp$3.parseExprSubscripts (C:\projects\af-a2\node_modules\acorn\dist\acorn.js:1715:21)
    at Parser.pp$3.parseMaybeUnary (C:\projects\af-a2\node_modules\acorn\dist\acorn.js:1692:19)
    at Parser.pp$3.parseExprOps (C:\projects\af-a2\node_modules\acorn\dist\acorn.js:1637:21)
    at Parser.pp$3.parseMaybeConditional (C:\projects\af-a2\node_modules\acorn\dist\acorn.js:1620:21)
    at Parser.pp$3.parseMaybeAssign (C:\projects\af-a2\node_modules\acorn\dist\acorn.js:1597:21)
    at Parser.pp$3.parseExpression (C:\projects\af-a2\node_modules\acorn\dist\acorn.js:1573:21)
    at Parser.pp$1.parseStatement (C:\projects\af-a2\node_modules\acorn\dist\acorn.js:727:47)
    at Parser.pp$1.parseTopLevel (C:\projects\af-a2\node_modules\acorn\dist\acorn.js:638:25)
    at Parser.parse (C:\projects\af-a2\node_modules\acorn\dist\acorn.js:516:17)
    at Object.parse (C:\projects\af-a2\node_modules\acorn\dist\acorn.js:3098:39)
    at Parser.parse (C:\projects\af-a2\node_modules\webpack\lib\Parser.js:902:15)
    at NormalModule.<anonymous> (C:\projects\af-a2\node_modules\webpack\lib\NormalModule.js:104:16)
    at NormalModule.onModuleBuild (C:\projects\af-a2\node_modules\webpack-core\lib\NormalModuleMixin.js:310:10)
    at nextLoader (C:\projects\af-a2\node_modules\webpack-core\lib\NormalModuleMixin.js:275:25)
    at C:\projects\af-a2\node_modules\webpack-core\lib\NormalModuleMixin.js:259:5
    at Storage.finished (C:\projects\af-a2\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:38:16)
    at C:\projects\af-a2\node_modules\graceful-fs\graceful-fs.js:78:16
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:415:3)
 @ ./client/app/main/main.component.js 33:11-33
Child html-webpack-plugin for "..\client\index.html":
                   Asset     Size  Chunks       Chunk Names
    ../client/index.html  21.7 kB       0
webpack: bundle is now VALID.
@Awk34 Awk34 added the V5 label Dec 22, 2016
@Awk34 Awk34 modified the milestone: 5.0.0 May 18, 2017
@Awk34
Copy link
Member

Awk34 commented Aug 17, 2017

Can this be closed?

@Awk34 Awk34 closed this as completed in c638fb6 Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants