Skip to content
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

Install build dependencies fails in Windows. #65

Closed
frandiox opened this issue Jul 11, 2016 · 1 comment
Closed

Install build dependencies fails in Windows. #65

frandiox opened this issue Jul 11, 2016 · 1 comment

Comments

@frandiox
Copy link
Contributor

npm ERR! gentlyRm C:\Users\Fran\.cordova\node_modules\.bin\tsc.cmd is outside C:\Users\Fran\.babun\cygwin\home\Fran\workspace\monaca-cli and not a link
npm ERR! gentlyRm C:\Users\Fran\.cordova\node_modules\.bin\tsserver.cmd is outside C:\Users\Fran\.babun\cygwin\home\Fran\workspace\monaca-cli and not a link

When trying to download a React template it also installs TypeScript and fails.

@frandiox
Copy link
Contributor Author

This is fixed by removing the whole node_modules

yong-asial added a commit that referenced this issue Sep 18, 2018
* Transpile function changed.

* Received message from Webpack.

* Changed transpile function to execute npm commands.

* Added upgrade function to upgrade old project into 3.0.0 version. Added a function to check if it is an old project, and modified the install build dependencies and npm install functions.

* Removed installBuildDependencies and generateBuildConfigs from downloadTemplate. Deleted generateBuildConfigs functions from Monaca Lib.

* Added function to get latest cordova version supports by Monaca.

* Moved upgrade function out to a new file.

* Allowed to execute monaca preview into Cloud IDE.

* Refactored upgrade function.

* Refactored upgrade functions.

* Got rid of inquirer. Added new parameter in upgrade to overwrite scripts commands.

* Formatted migration file.

* Updated jasmine.

* Reverted wrong change.

* Renamed installBuildDependencies function. Added new condition to isTranspilable.

* Removed additionalDependencies from package.json. Modified installDevDependencies to get the dev dependencies from variables.

* Added init function. Refactored code.

* change version to 3.0.0

* change wording

* Added new condition in isOldProject to be able to check projects without package.json.

* add information when watching

* Renamed confusing function.

* Removed 'after-emit' event from transpile. Refactored code.

* Fixed bug with package.json.

* don't write asset to webpack dev since monaca preview will also run webpack prod as the watch

* EventEmitter memory leak. Fixed (temporal).

* Got rid of Ctrl + C handling

* Allowed upgrade function ro receive a object with the options.

* Added exception when executing getCordovaVersion.

* Refactored Upgrade function. Fixed package.backup.json path bug.

* Minor changes.

* Add Minimun Package Json if it is required.

* Minor change.

* Added default command running on cloud.

* Minor changes.

* Change isTranpile logical in init.

* Commands to be injected into package.json changed to optional.

* Added new condition to isMonacaProject.

* Setted default port.

* Created new file with common info. Added doc url after finishing init process.

* minor fix: return Promise.reject from inner throws function

* Wrong definition for PORT parameter.

* Added check function to skip installed dependencies.

* don't show audit result after installing package and show detail error when fail to install package

* Added new function to check if a project needs to be transpiled. Got rid of transpile options (project_info.json) in new projects. Removed isTranspileEnabled function.

* add hasDebugScript and add more condition to transpile function to check for debugScript if --watch option is supplied

* 3.0.0

* refine log (for localkit)

* solve cache problem by using readFile instead of require

* Remove 'cloud_ide' tag from 'project_info.json'

* bind to blank template branch: dev_build_dependencies

* Changed function description.

* Added port to monaca_preview.js

* Changed deprecated function.

* Fixed bug (wrong variable name).

* revert 4fe7676 due to proxy changes - remove port from cloud IDE host

* Refactored getWebpackConfig.

* Removed useless files.

* Added CHANGELOG.

* wording

* fix typo

* don open browser in cloud IDE and insert try catch

* install cordova@4 for lower cordova version 1 to 3

* version 3.0.0-beta.2

* change default name for generated package.json to monaca-project

* replace mobi.monaca.plugins.Monaca and mobi.monaca.plugins.MonacaBackend with new plugin (monaca update)

* fix invalid package.json's name (if any) for update process

* version 3.0.0-beta.3

* fix handling error catch

* fix installing validate-npm-package-name package

* version 3.0.0-beta.5

* add --ui-port to browser-sync

* (monaca update) do not (re)install packages if it is existed in dependencies, devDependencies, or node_modules folder

* bind submodule

* version 3.0.0-beta.6

* create backup package.json for update and init process

* add open package to dev Dependencies for monaca update

* version 3.0.0-beta.7

* add error message

* fix transpile functio for localkit

* install fix-path for fixing localkit executable path and bump version up

* fix transpile function for localkit and windows

* wording

* fix migration url

* show error if project is not available in the cloud (#65)

* show more error when 401 status code is returned as it might due to subscription plan (#327)

* update changelog

* remote unused function

* security fixes - remove jasmine-node and customed minmatch

* add doc url for update project

* add doc to update result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant