-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Description
Version
3.2.2
Environment info
Environment Info:
System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
Binaries:
Node: 10.13.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.10.1 - C:\Users\cepharum\AppData\Roaming\npm\yarn.CMD
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 42.17134.1.0
npmPackages:
@vue/babel-preset-app: 3.2.2
@vue/cli-overlay: 3.2.0
@vue/cli-plugin-babel: ^3.2.2 => 3.2.2
@vue/cli-plugin-e2e-nightwatch: ^3.2.2 => 3.2.2
@vue/cli-plugin-eslint: ^3.2.2 => 3.2.2
@vue/cli-plugin-unit-mocha: ^3.2.2 => 3.2.2
@vue/cli-service: ^3.2.2 => 3.2.2
@vue/cli-shared-utils: 3.2.2
@vue/component-compiler-utils: 2.3.1
@vue/preload-webpack-plugin: 1.1.0
@vue/test-utils: ^1.0.0-beta.28 => 1.0.0-beta.28
@vue/web-component-wrapper: 1.2.0
babel-helper-vue-jsx-merge-props: 2.0.3
babel-plugin-transform-vue-jsx: 4.0.1
eslint-plugin-vue: ^5.0.0-0 => 5.0.0
vue: ^2.5.17 => 2.5.21
vue-eslint-parser: 2.0.3
vue-hot-reload-api: 2.3.1
vue-loader: 15.4.2
vue-router: ^3.0.1 => 3.0.2
vue-style-loader: 4.1.2
vue-template-compiler: ^2.5.17 => 2.5.21
vue-template-es2015-compiler: 1.6.0
vuex: ^3.0.1 => 3.0.1
npmGlobalPackages:
@vue/cli: Not Found
Steps to reproduce
- Have some module using CommonJS module.exports for exporting symbols. In my case this module is scoped, but public, FWIW. And it is published via npm, already.
- Have some vue/cli based project listing that module as a dependency.
- Run server. See everything is working.
- Start development on module in 1., thus use "npm link" and "npm link " to integrate live version.
- Re-Run server. See blank page (or whatever was visible when using now linked module.) See console in browser showing "TypeError: exports is readonly".
What is expected?
I'd expect application being compiled the same way when using linked dependencies while developing those rather than having to publish every single fix on npm.
What is actually happening?
Have to re-publish dependency on npm and update in project to see any modification work with my project.
Metadata
Metadata
Assignees
Labels
No labels