https://github.com/jgroman/babel_win10_dir_symlink
Simple config to test Babel Windows 10 symlinked directory problem
https://github.com/jgroman/babel_win10_dir_symlink
Last synced: 2 months ago
JSON representation
Simple config to test Babel Windows 10 symlinked directory problem
- Host: GitHub
- URL: https://github.com/jgroman/babel_win10_dir_symlink
- Owner: jgroman
- License: mit
- Created: 2019-05-05T07:27:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-05T08:09:02.000Z (about 6 years ago)
- Last Synced: 2025-01-20T05:37:37.351Z (4 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# babel_win10_dir_symlink
Simple config to test Babel Windows 10 symlinked directory problem## Steps to reproduce problem
1. Clone repo
1. `npm i`
1. Run `gulp`## Results
**Standard Win10 directory**
c:\Users\jgroman\Documents\Project\babeltest>gulp
[09:36:51] Requiring external module @babel/register
[09:36:52] Using gulpfile c:\Users\jgroman\Documents\Project\test\gulpfile.babel.js
[09:36:52] Task never defined: default
[09:36:52] To list available tasks, try running: gulp --tasks**Symlinked Win10 directory**
Created either using `mklink /D` or `mklink /J`c:\junctest>gulp
[09:39:37] Requiring external module @babel/register
c:\users\jgroman\documents\junctest\gulpfile.babel.js:1
(function (exports, require, module, __filename, __dirname) { import gulp from 'gulp';
^^^^
SyntaxError: Unexpected identifier
at new Script (vm.js:80:7)
at createScript (vm.js:274:10)
at Object.runInThisContext (vm.js:326:10)
at Module._compile (internal/modules/cjs/loader.js:664:28)
at Module._compile (c:\users\jgroman\documents\junctest\node_modules\pirates\lib\index.js:99:24)
at Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Object.newLoader [as .js] (c:\users\jgroman\documents\junctest\node_modules\pirates\lib\index.js:104:7)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)