You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "ralf0131 (GitHub)" <gi...@apache.org> on 2019/04/11 01:35:14 UTC
[GitHub] [incubator-dubbo-website] ralf0131 opened issue #354: Could
you run docsite start
When I am running `docsite start` and `docsite build`, I got the following error:
```
module.js:550
throw err;
^
Error: Cannot find module 'optimize-css-assets-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 (internal/module.js:11:18)
at Object.<anonymous> (~/work/apache-dubbo/incubator-dubbo-website/gulpfile.js:7:33)
at Module._compile (module.js:653: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)
^C
```
[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/354 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-website] purple-force commented on issue
#354: Could you run docsite start
Posted by "purple-force (GitHub)" <gi...@apache.org>.
run `rm -rf node_modules && npm i` in the root and try again
[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/354 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-website] ralf0131 closed issue #354: Could
not run docsite start
Posted by "ralf0131 (GitHub)" <gi...@apache.org>.
[ issue closed by ralf0131 ]
[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/354 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-website] ralf0131 commented on issue #354:
Could not run docsite start
Posted by "ralf0131 (GitHub)" <gi...@apache.org>.
Thanks @kezhenxu94 @purple-force That works for me!
[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/354 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-website] kezhenxu94 commented on issue
#354: Could you run docsite start
Posted by "kezhenxu94 (GitHub)" <gi...@apache.org>.
> When I am running `docsite start` and `docsite build`, I got the following error:
>
> ```
> module.js:550
> throw err;
> ^
>
> Error: Cannot find module 'optimize-css-assets-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 (internal/module.js:11:18)
> at Object.<anonymous> (~/work/apache-dubbo/incubator-dubbo-website/gulpfile.js:7:33)
> at Module._compile (module.js:653: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)
> ^C
> ```
maybe new dependencies are added after your last build, did you run `npm install` again?
[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/354 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
[GitHub] [incubator-dubbo-website] kezhenxu94 commented on issue
#354: Could you run docsite start
Posted by "kezhenxu94 (GitHub)" <gi...@apache.org>.
> When I am running `docsite start` and `docsite build`, I got the following error:
>
> ```
> module.js:550
> throw err;
> ^
>
> Error: Cannot find module 'optimize-css-assets-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 (internal/module.js:11:18)
> at Object.<anonymous> (~/work/apache-dubbo/incubator-dubbo-website/gulpfile.js:7:33)
> at Module._compile (module.js:653: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)
> ^C
> ```
maybe new dependencies are added after your last build, did you run `npm install` again?
> I have the same issue, after re-run `npm i`, it works
[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/354 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org