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