Attacler/Bart
Explore posts from serversMove an instance + volume from dev -> prod
I (by accident) migrated a database into dev instead of production.
Everything is already connected (altho a few secs downtime is no issue)
Can i somehow move the DB instance + volume into production?
Or do i have to recreate it?
3 replies
WARN Duplicated imports "uuid", the one from "ProjectPath/server/utils/generate
I get this error alot for a project of mine.
Basicly every export seems to be marked as duplicated imports.
Does anyone got an idea about why this happends and how i can avoid it?
4 replies
Can i make components SSR only?
I saw the AstroJS framework where they only sent the JS code that actually needes to the client
They allow for attributes for components like:
- client:idle (only load when the client has loaded everything else)
- client:visible (only load when the component is visual)
Can this be done with Nuxt?
Basicly to eliminate any JS thats not required for the client side.
Example: the footer has some components inside of it but after rendering on the server, it wont the JS anymore
4 replies
Does anyone know how to select a nodejs version?
I have the following issue while building my app:
5.215 [error] Error: error:0308010C:digital envelope routines::unsupported
Dec 21 17:18:03.158 #13 5.215 at new Hash (node:internal/crypto/hash:71:19)
Dec 21 17:18:03.158 #13 5.215 at Object.createHash (node:crypto:130:10)
Dec 21 17:18:03.158 #13 5.215 at module.exports (/app/node_modules/webpack/lib/util/createHash.js:135:53)
Dec 21 17:18:03.158 #13 5.215 at NormalModule._initBuildHash (/app/node_modules/webpack/lib/NormalModule.js:417:16)
Dec 21 17:18:03.158 #13 5.215 at handleParseError (/app/node_modules/webpack/lib/NormalModule.js:471:10)
Dec 21 17:18:03.158 #13 5.215 at /app/node_modules/webpack/lib/NormalModule.js:503:5
Dec 21 17:18:03.158 #13 5.215 at /app/node_modules/webpack/lib/NormalModule.js:358:12
Dec 21 17:18:03.158 #13 5.215 at /app/node_modules/webpack/node_modules/loader-runner/lib/LoaderRunner.js:373:3
Dec 21 17:18:03.158 #13 5.215 at iterateNormalLoaders (/app/node_modules/webpack/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
Dec 21 17:18:03.158 #13 5.215 at Array.<anonymous> (/app/node_modules/webpack/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
Dec 21 17:18:03.158 #13 5.215 at Storage.finished (/app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
Dec 21 17:18:03.158 #13 5.215 at /app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
Dec 21 17:18:03.158
Dec 21 17:18:03.158 #13 5.215 at /app/node_modules/graceful-fs/graceful-fs.js:123:16
Dec 21 17:18:03.159 #13 5.215 at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
Its based on Nuxt 2 and google says that i should select another NodeJS version.
However i dont know if that is the right solution because its using the same version as previous builds.
19 replies