hussainweb / drupal-bootstrap-webpack Goto Github PK
View Code? Open in Web Editor NEWA webpack based setup for Drupal Bootstrap theme's sass starterkit
License: GNU General Public License v2.0
A webpack based setup for Drupal Bootstrap theme's sass starterkit
License: GNU General Public License v2.0
After running yarn install
:
yarn install v1.13.0
info No lockfile found.
[1/4] π Resolving packages...
[2/4] π Fetching packages...
[3/4] π Linking dependencies...
[4/4] π¨ Building fresh packages...
success Saved lockfile.
β¨ Done in 32.45s.
Then running yarn run dev
:
yarn run v1.13.0
$ NODE_ENV=dev webpack
β ο½’configο½£: An error occurred while trying to find a config file
Did you forget to specify a --require?
/drupal/themes/custom/my_custom_theme/node_modules/@webpack-contrib/config-loader/lib/load.js:85
throw new LoadConfigError(e, configPath);
^
LoadConfigError: Cannot find module 'uglifyjs-webpack-plugin'
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Module.require (module.js:597:17)
at require (/drupal/themes/custom/my_custom_theme/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at Object.<anonymous> (/drupal/themes/custom/my_custom_theme/webpack.config.js:9:24)
at Module._compile (/drupal/themes/custom/my_custom_theme/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (/drupal/themes/custom/my_custom_theme/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at module.exports.moduleId (/drupal/themes/custom/my_custom_theme/node_modules/import-fresh/index.js:28:9)
at loadJs (/drupal/themes/custom/my_custom_theme/node_modules/cosmiconfig/dist/loaders.js:9:18)
at Explorer.loadFileContent (/drupal/themes/custom/my_custom_theme/node_modules/cosmiconfig/dist/createExplorer.js:226:12)
at Explorer.createCosmiconfigResultSync (/drupal/themes/custom/my_custom_theme/node_modules/cosmiconfig/dist/createExplorer.js:259:31)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
In the THEMENAME.starterkit.yml
file there is a reference to THEMENAME,
libraries-extend:
bootstrap/framework:
- THEMENAME/framework
It would be great if the set-theme-name.sh
script could also change that along with the file names.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.