Skip to content

npm run styleguide broken #3753

Description

@raimund-schluessler

Running npm run styleguide on latest master gives this error at the moment:

 FAIL  Failed to compile

Module not found: Error: Can't resolve 'process/browser' in '/home/raimund/nextcloud/apps2/nextcloud-vue/node_modules/@nextcloud/dialogs/dist'
Did you mean 'browser.js'?
BREAKING CHANGE: The request 'process/browser' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
Cannot read properties of undefined (reading 'module')

I suspect this is related to the update of @nextcloud/dialogs from 3.2.0 to 4.0.0 in #3746.
@skjnldsv @Pytal @susnux Does one of you have an idea what causes this (and ideally how to fix it 😉 )?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeature: documentationRelated to the documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions