-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vue.js 2.0 alpha error on start on windows 10 x64 #2771
Comments
Sorry, the build script currently doesn't run on windows (due to env variables). This is intentional and we will fix it as we get closer to an official release. If you really want to try, you can use cross-env. |
You can modify your // --------------------------- add code ----------------------------
// This file: node_modules/rollup-plugin-alias/dist/rollup-plugin-alias.js
if (!/js$/.test(updatedId)) {
console.log(updatedId + ' ----> ' + updatedId + '.js');
updatedId += '.js';
}
// --------------------------- add code ----------------------------
// You can see how i export a single file from vue: gist exportSingleFile.js What's important thing is that it can works on my Windows 10. Here is my console stdout:
|
I just ran into this. Can the issue be reopened, or is Win10 not going to be supported? Edit: I can also confirm that the workaround from @zhoukekestar works. 👍 Scott |
process.env.TARGET 参数在win10上可以正常传值 |
@zhoukekestar thanks,your way is right. The reason is as follow which make this error : // ------------ modify line 13 ------------
const VOLUME = /^([A-Z]:)/i; // ignore case
const IS_WINDOWS = os.platform() === 'win32'; |
666 |
when i run on my local pc vuejs 2.0 i have some error:
instruction on start vude.js 2.0 alpha
npm install
npm run build
what does that mean?
my cfg:
windows 10 pro x64
npm - v3.8.3
node - v5.10.1
The text was updated successfully, but these errors were encountered: