Global Env Setup as defined by project maintainer and staff:
- node -v: 8.9.4
- npm -v: 6.10.2
- Tests build in jest
- Vue project
Scenario:
- I was attempting to implement eslintinto a project.
- Unexpected token importerrors from- npm teston all branches; Believed to be a babel error, and did attempt at a- parser: "babel-eslint" option in.eslintrc`. Furthermore, attempted fix with "transform-es2015-modules-commonjs" option
- Found a way for project to work again: - rm -rf proj git clone http://proj mv proj foo && cd foo npm install npm test #tests pass
- FAILS (with the installation and process as setup in 3):
mv foo proj && cd proj npm test
I went as far as removing all installations of node, npm, and eslint (as well as all of my node_modules globals and reinstalling to versions mentioned above. I also looked into clearing npm cache. which npm and brew uninstall as well as brew doctor were used in the uninstalling process. I also checked for node and npm per steps defined in this SO answer
I still cannot let my project live in its correct named directory without continuing to have errors.
Obvious solution to keep working is to just rename the directory structure, but I am hoping someone has an idea as to WHY this is happening...
 
    