WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-59fc83-17.MAI' (Errcode: 28 "No space left on device")]SELECT p.* FROM wp_mdb_forum_posts AS p LEFT JOIN wp_mdb_forum_posts AS q ON( q.Id = p.ParentId AND p.Id = q.AcceptedAnswerId ) WHERE p.PostTypeId = 2 AND p.ParentId = 102180 GROUP BY p.Id ORDER BY CASE WHEN q.Id IS NOT NULL THEN 1 ELSE 0 END DESC, p.UpvoteCount DESC, p.CreationDate ASC
Topic: MDB Pro Js via NPM CSS error
Cyprien Aubry
pro asked 6 years ago
Hello, I am running a Symfony 3 project and I am using Webpack Encore.
Expected behavior
Running yarn encore dev should just compile my JS files using Webpack Encore.
Actual behavior
*/
^
Invalid CSS after "...ue, d: duration": expected 1 selector or at-rule, was "jQuery.easing['jswi"
in E:\wamp64\www\fidzee\node_modules\mdbootstrap-pro\js\mdb.js (line 102, column 3)
Resources (screenshots, code snippets etc.)
webpack.config.js:
const Encore = require('@symfony/webpack-encore');
const TerserPlugin = require('terser-webpack-plugin');
if (!Encore.isRuntimeEnvironmentConfigured()) {
Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');
}
Encore
.setOutputPath('web/build/')
.setPublicPath('/build')
.addEntry('app', './assets/js/app.js')
.splitEntryChunks()
.enableSingleRuntimeChunk()
.cleanupOutputBeforeBuild()
.enableBuildNotifications()
.enableSourceMaps(!Encore.isProduction())
.enableVersioning(Encore.isProduction())
/*.configureBabel(() => {}, {
useBuiltIns: 'usage',
corejs: 3
})*/
.enableSassLoader()
.enableIntegrityHashes(Encore.isProduction())
.autoProvidejQuery()
.addPlugin(new TerserPlugin({
parallel: true,
sourceMap: !Encore.isProduction()
}))
;
module.exports = Encore.getWebpackConfig();
My app.js:
const $ = require('jquery');
import '../scss/app.scss'
My app.scss:
@import "~mdbootstrap-pro";
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.9
- Device: PC
- Browser: Chrome
- OS: Window 10 Pro
- Provided sample code: No
- Provided link: No