Skip to content
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

Unable to get the new FAQ app setup in VS Code... #3

Open
jeremy-farrance opened this issue Dec 31, 2019 · 0 comments
Open

Unable to get the new FAQ app setup in VS Code... #3

jeremy-farrance opened this issue Dec 31, 2019 · 0 comments

Comments

@jeremy-farrance
Copy link
Sponsor Contributor

jeremy-farrance commented Dec 31, 2019

I have Typescript, Webpack, Webpack-cli, and other usual stuff npm installed globally. Getting various errors about missing files (webpack.dev.js, sass-comments.scss (line 11 of bs4.scss), etc.)

What are the requirements/dependencies?

Once you've imported the FAQ app in to a project, what is the correct process to get it working as expected in VS Code? cd to the folder, then... npm build? npm install?

Here is where I got to after figuring out most of the dependencies...

PS C:\GitHubLocal\FCAI2020\Portals\0\2sxc\FAQ> npm run build

> 2sic-faq-app@2.3.0 build C:\GitHubLocal\FCAI2020\Portals\0\2sxc\FAQ
> webpack --config webpack.config.js


webpack is watching the files…

Hash: 1389f6af129f2d27240e
Version: webpack 4.41.4
Time: 666ms
Built at: 12/31/2019 11:27:05 AM
            Asset      Size  Chunks             Chunk Names
app-bundle.min.js  17.7 KiB       0  [emitted]  main
Entrypoint main = app-bundle.min.js
[0] multi ./src/scss/bs4.scss ./src/ts/main.ts 40 bytes {0} [built]
[1] ./src/scss/bs4.scss 1.2 KiB {0} [built]
[2] ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/lib/loader.js!./src/scss/bs4.scss 
301 bytes {0} [built] [failed] [1 error]
    + 2 hidden modules

ERROR in ./src/scss/bs4.scss (./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/lib/loader.js!./src/scss/bs4.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):

@import "sass-comments.scss";
^
      File to import not found or unreadable: sass-comments.scss.
      in C:\GitHubLocal\FCAI2020\Portals\0\2sxc\FAQ\src\scss\bs4.scss (line 11, column 1)
 @ ./src/scss/bs4.scss 2:14-124
 @ multi ./src/scss/bs4.scss ./src/ts/main.ts

ERROR in multi ./src/scss/bs4.scss ./src/ts/main.ts
Module not found: Error: Can't resolve './src/ts/main.ts' in 'C:\GitHubLocal\FCAI2020\Portals\0\2sxc\FAQ'
 @ multi ./src/scss/bs4.scss ./src/ts/main.ts main[1]
@jeremy-farrance jeremy-farrance changed the title Trying the new FAQ app and unable to get setup... Trying the new FAQ app and unable to get setup in VS Code... Dec 31, 2019
@jeremy-farrance jeremy-farrance changed the title Trying the new FAQ app and unable to get setup in VS Code... Unable to get the new FAQ app setup in VS Code... Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant