I am getting this an error when I build my project even though is an empty project
> TypeError: Arguments to path.join must be strings
> at f (path.js:204:15)
> at Object.filter (native)
> at Object.exports.join (path.js:209:40)
> at possiblyFetch (C:\Users\user\AppData\Roaming\npm\node_modules\cordova\node_modules\plugman\src\install.js:49:27)
> at C:\Users\user\AppData\Roaming\npm\node_modules\cordova\node_modules\plugman\src\install.js:298:17
> at Array.forEach (native)
> at runInstall (C:\Users\user\AppData\Roaming\npm\node_modules\cordova\node_modules\plugman\src\install.js:229:22)
> at possiblyFetch (C:\Users\user\AppData\Roaming\npm\node_modules\cordova\node_modules\plugman\src\install.js:64:9)
> at Object.installPlugin [as install] (C:\Users\user\AppData\Roaming\npm\node_modules\cordova\node_modules\plugman\src\install.js:44:5)
> at doInstall (C:\Users\user\AppData\Roaming\npm\node_modules\cordova\src\plugin.js:153:45)
I have follow some advise at google , but non of them is working .
Related
SSH from VSCode (Mac) to a remote host (Raspberry Pi) stopped working a while ago.
I have searched the web for solutions, but whatever I did - I was unable to solve the issue.
I tried rm -rf ~/.vscode-server and then connect again - It did not work.
Also, I tried setting "remote.SSH.useLocalServer": false which also did not help.
Another thing I've tried is to install an older version of the SSH extension in VSCode - it did not help.
Not sure if related, but I have Fig (https://fig.io/) installed on my Mac.
Here's the log from VSCode:
> Server did not start successfully. Full server log at /home/pi/.vscode-server/.8dfae7a5cd50421d10cd99cb873990460525a898.log >>>
> /home/pi/.vscode-server/bin/8dfae7a5cd50421d10cd99cb873990460525a898/bin/code-server: 12: /home/pi/.vscode-server/bin/8dfae7a5cd50421d10cd99cb873990460525a898/bin/code-server: /home/pi/.vscode-server/bin/8dfae7a5cd50421d10cd99cb873990460525a898/node: not found
> <<< End of server log
> 911ac96db1fc: start
> exitCode==32==
> listeningOn====
> osReleaseId==raspbian==
> arch==aarch64==
> tmpDir==/run/user/1000==
> platform==linux==
> unpackResult==success==
> didLocalDownload==0==
> downloadTime==5371==
> installTime==3172==
> extInstallTime====
> serverStartTime==7728==
> 911ac96db1fc: end
[09:55:56.941] Received install output:
exitCode==32==
listeningOn====
osReleaseId==raspbian==
arch==aarch64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult==success==
didLocalDownload==0==
downloadTime==5371==
installTime==3172==
extInstallTime====
serverStartTime==7728==
Checking the log I see "node: not found", so I checked the directory and confirmed that indeed the file exists there.
Can someone please assist with troubleshooting steps for this?
Thanks ahead.
EDIT: I was able to solve that following https://github.com/microsoft/vscode-remote-release/issues/6388#issuecomment-1050923254 which mentioned to change the arm_64bit to 0.
Hope that helps whoever might encounter this.
I'm a mac user while I am setting JDK environment variable on bash_profile following various blogs & articles I have done a big mistake plz help me to fix it.
> Dhirajs-MacBook-Air:spiritualGuru thedkn$ ionic -v Error: EACCES:
> permission denied, mkdir
> '/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/.ionic'
>
> at Object.mkdirSync (fs.js:757:3)
> at Object.mkdirpSync (/Users/thedkn/node_modules/#ionic/utils-fs/dist/index.js:125:16)
> at Config.set c [as c] (/Users/thedkn/node_modules/#ionic/cli-framework/lib/config.js:37:20)
> at Config.set (/Users/thedkn/node_modules/#ionic/cli-framework/lib/config.js:50:16)
> at Object.<anonymous> (/Users/thedkn/node_modules/ionic/dist/index.js:72:29)
> at Generator.next (<anonymous>)
> at fulfilled (/Users/thedkn/node_modules/tslib/tslib.js:104:62) Dhirajs-MacBook-Air:spiritualGuru thedkn$
I faced the same error on MAC pc. I changed file system auth only read to write read and edit auths.Also you can try add sudo in front of the ionic serve command.
I am setting up three build and release pipelines in VSTS. My first two for QA and Staging are working fine. My production build though seems to be looking for an F: drive to publish my website to, which does not exist. The other two pipelines publish successfully to the E: drives. I'm deploying the same branch to each server.
I cannot for the life of me work out why this is so. Any ideas anybody?
log is below:
> 2018-09-07T10:39:12.9818031Z ##[section]Starting: Deploy IIS
> Website/App: 2018-09-07T10:39:12.9824407Z
> ============================================================================== 2018-09-07T10:39:12.9824537Z Task : IIS Web App Deploy
> 2018-09-07T10:39:12.9824635Z Description : Deploy a Website or Web
> Application using WebDeploy 2018-09-07T10:39:12.9824748Z Version
> : 0.0.42 2018-09-07T10:39:12.9824833Z Author : Microsoft
> Corporation 2018-09-07T10:39:12.9824934Z Help : [More
> Information](https://go.microsoft.com/fwlink/?linkid=866789)
> 2018-09-07T10:39:12.9825405Z
> ============================================================================== 2018-09-07T10:39:15.0081829Z [command]"C:\Program Files\IIS\Microsoft
> Web Deploy V3\msdeploy.exe" -verb:sync
> -source:package='C:\vstsagent\A1\_work\r1\a\Production Build - Azure\drop\ThisIsMyWebsiteName.Mvc.zip' -dest:auto -setParam:name='IIS
> Web Application Name',value='www.ThisIsMyWebsiteName.org.uk'
> 2018-09-07T10:39:16.2102044Z Info: Adding sitemanifest (sitemanifest).
> 2018-09-07T10:39:16.2957835Z Info: Adding virtual path
> (www.ThisIsMyWebsiteName.org.uk) 2018-09-07T10:39:16.3117823Z Info:
> Adding directory (www.ThisIsMyWebsiteName.org.uk).
> 2018-09-07T10:39:16.3666499Z Error: C:\Program Files\IIS\Microsoft Web
> Deploy V3\msdeploy.exe failed with return code: 4294967295
> 2018-09-07T10:39:16.3666959Z at ChildProcess.<anonymous>
> (C:\vstsagent\A1\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.0.42\node_modules\vsts-task-lib\toolrunner.js:569:30)
> 2018-09-07T10:39:16.3667253Z at emitTwo (events.js:106:13)
> 2018-09-07T10:39:16.3667459Z at ChildProcess.emit
> (events.js:191:7) 2018-09-07T10:39:16.3667643Z at maybeClose
> (internal/child_process.js:886:16) 2018-09-07T10:39:16.3667842Z at
> Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
> 2018-09-07T10:39:16.3744137Z ##[warning]Can\'t find loc string for
> key: RetryToDeploy 2018-09-07T10:39:16.3756406Z RetryToDeploy
> 2018-09-07T10:39:16.3758339Z [command]"C:\Program Files\IIS\Microsoft
> Web Deploy V3\msdeploy.exe" -verb:sync
> -source:package='C:\vstsagent\A1\_work\r1\a\Production Build - Azure\drop\ThisIsMyWebsiteName.Mvc.zip' -dest:auto -setParam:name='IIS
> Web Application Name',value='www.ThisIsMyWebsiteName.org.uk'
> 2018-09-07T10:39:16.9979596Z Info: Adding sitemanifest (sitemanifest).
> 2018-09-07T10:39:17.0833918Z Info: Adding virtual path
> (www.ThisIsMyWebsiteName.org.uk) 2018-09-07T10:39:17.1024603Z Info:
> Adding directory (www.ThisIsMyWebsiteName.org.uk).
> 2018-09-07T10:39:17.1479924Z Error: C:\Program Files\IIS\Microsoft Web
> Deploy V3\msdeploy.exe failed with return code: 4294967295
> 2018-09-07T10:39:17.1480586Z at ChildProcess.<anonymous>
> (C:\vstsagent\A1\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.0.42\node_modules\vsts-task-lib\toolrunner.js:569:30)
> 2018-09-07T10:39:17.1480827Z at emitTwo (events.js:106:13)
> 2018-09-07T10:39:17.1481001Z at ChildProcess.emit
> (events.js:191:7) 2018-09-07T10:39:17.1481193Z at maybeClose
> (internal/child_process.js:886:16) 2018-09-07T10:39:17.1481404Z at
> Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
> 2018-09-07T10:39:17.1482037Z ##[warning]Can\'t find loc string for
> key: RetryToDeploy 2018-09-07T10:39:17.1482506Z RetryToDeploy
> 2018-09-07T10:39:17.1486722Z [command]"C:\Program Files\IIS\Microsoft
> Web Deploy V3\msdeploy.exe" -verb:sync
> -source:package='C:\vstsagent\A1\_work\r1\a\Production Build - Azure\drop\ThisIsMyWebsiteName.Mvc.zip' -dest:auto -setParam:name='IIS
> Web Application Name',value='www.ThisIsMyWebsiteName.org.uk'
> 2018-09-07T10:39:17.7446787Z Info: Adding sitemanifest (sitemanifest).
> 2018-09-07T10:39:17.8281962Z Info: Adding virtual path
> (www.ThisIsMyWebsiteName.org.uk) 2018-09-07T10:39:17.8451236Z Info:
> Adding directory (www.ThisIsMyWebsiteName.org.uk).
> 2018-09-07T10:39:17.8859246Z ##[error]Failed to deploy web package to
> IIS website. 2018-09-07T10:39:17.8873159Z ##[error]Error: An error was
> encountered when processing operation 'Create Directory' on
> 'F:\Websites\www.ThisIsMyWebsiteName.org.uk\wwwroot'. Error: The error
> code was 0x80070002. Error: Could not find file '\\?\F:'. Error count:
> 1.
>
> 2018-09-07T10:39:17.8884343Z ##[error]Error: C:\Program
> Files\IIS\Microsoft Web Deploy V3\msdeploy.exe failed with return
> code: 4294967295 2018-09-07T10:39:17.9217040Z ##[section]Finishing:
> Deploy IIS Website/App:
While generating a pipe file using ionic cli by
ionic g pipe example
results in the following error:
Error: ENOENT: no such file or directory, open '<PROJECT_PATH>/src/PIPES/example.module.ts'
at Object.fs.openSync (fs.js:652:18)
at Object.fs.writeFileSync (fs.js:1299:33)
at createCommonModule (/home/future/Projects/SmartUpCode/smartupcrm-mobile/node_modules/#ionic/app-scripts/dist/generators/util.js:77:10)
at Object.<anonymous> (<PROJECT_PATH>/node_modules/#ionic/app-scripts/dist/generators/util.js:238:29)
at step (<PROJECT_PATH>e/node_modules/#ionic/app-scripts/dist/generators/util.js:32:23)
at Object.next (<PROJECT_PATH>/node_modules/#ionic/app-scripts/dist/generators/util.js:13:53)
at fulfilled (<PROJECT_PATH>/node_modules/#ionic/app-scripts/dist/generators/util.js:4:58)
at <anonymous>
This "Error: ENOENT: no such file or directory," error while generating pipes occurs because of using wrong usage of directory path in native ionic config.js file.
node_modules > #ionic > app-scripts > dist > util > config.js file
The problem can be solved by changing the UPPERCASE 'PIPES' name to LOWERCASE 'pipes' in the path for generating the example.module.ts file as given below;
context.pipesNgModulePath = path_1.resolve(getConfigValue(context, '--pipesNgModulePath', null, Constants.ENV_PIPES_NG_MODULE_PATH, Constants.ENV_PIPES_NG_MODULE_PATH.toLowerCase(), path_1.join(context.srcDir, 'PIPES', 'pipes.module.ts')));
(context.srcDir, 'pipes', 'pipes.module.ts')
Then it works well...
I'm trying to get the program "Sketch" (https://github.com/vydd/sketch) working. It "relies on SDL2 Image and SDL2 TTF", but I can't get them to load with quicklisp. I'm on OSX El Capitan 10.11.6 using CCL 1.11
Press ENTER or type command to continue
To load "sdl2":
Load 1 ASDF system:
sdl2
; Loading "sdl2"
To load "sdl2-ttf":
Load 1 ASDF system:
sdl2-ttf
; Loading "sdl2-ttf"
> Error: Unable to load any of the alternatives:
> ((:FRAMEWORK "SDL2_ttf") (:DEFAULT "libSDL2_ttf"))
> While executing: CFFI::FL-ERROR, in process listener(1).
> Type :GO to continue, :POP to abort, :R for a list of available restarts.
> If continued: Skip loading "sketch_scratch/scratch.lisp"
> type :? for other options
1 > cffi:*darwin-framework-directories*
((CFFI::EXPLODE-PATH-ENVIRONMENT-VARIABLE "DYLD_FRAMEWORK_PATH") (CFFI::FALLBACK-DARWIN-FRAMEWORK-DIRECTORIES))
1 >
Here are some screenshots showing the error, the source code, and that I have copies of the .framework files in both the project directory and my hard_drive/Library/Frameworks:
http://imgur.com/a/YatKw