I have successfully installed NodeJitsu using NPM. However, anytime I attempt to run it I get the following error:
TypeError: Arguments to path.join must be strings.
It happens at line 204 in path.js
Any ideas?
We are working on release our toolset with node 0.10.0 support, you can use it with the last 0.8.x branch (0.8.22). We will publish a new version as soon as possible.
This issue is fixed internally but we are working on all the possible points of failure in node 0.10.0.
Stay tunned for updates!
If you need support you can join #nodejitsu on Freenode ;)
Related
I'm Having an issue that ruins my entire development plans, And I don't think I'm even the problem!
There is an headless CMS program (open source) called Strapi, If you know the program then good, If not, Your more than welcome to try and tell me if you can help me with this problem.
I'm having trouble creating a Strapi app in VSCode.
The error that I'm receiving is:
You are running Node.js 18.4.0
Strapi requires Node.js >=14.19.1 <=16.x.x
Please make sure to use the right version of Node.
But, The fault isn't on me, I have 16.17.0 version of node installed, and without a trace of the 18.4 version specified on the error code.
I tried uninstalling node, Changing the dependencies in the launch.json file, Nothing worked!
So I Found the solution, the problem was with the version, the recommended 16.17.0 version of node not working with strapi, the 16.15.0 works actually.
So I recently tried upgrading my node from 13 to 14, but afterwards I was having issues with graphql.
What happened was that I was forever "pending" whenever I sent a request to the server. The problem is, there's no errors being thrown.
I'm wondering if anyone has had any issues with graphql when upgrading from 13 to 14.
Packages used:
express-graphql
graphql
graphql-iso-date
graphql-query-builder-v2
graphql-type-json
graphql-upload
If you don't have any problems with node 14 and these two graphql packages, please let me know, as it's then other packages that are causing the issue. Thanks.
My current solution is to downgrade node (I'm currently on node 12 since brew doesn't seem to have node 13 yet).
There is a known issue in the pg module and NodeJS 14. Since pg-promise also uses this module - I suspect this is the problem.
The proposed solution is to make sure you have pg>=8.0.3 installed.
This can be done by
updating to pg-promise>=10.5.2 which already has the updated pg module as a dependency and/or
updating to pg>=8.0.3 in the dependencies if explicitly specified.
Also make sure that any other library depending on pg is up to date.
I sometimes get an error when trying to install any cordova plugin ionic (usually after around 6pm GMT+0).
These are with plugins from both npm and GitHub, and the error I get is:
Error: Text data outside of root node.
Line: 155
Column: 1
Char: "
The install command will be something along the lines of
ionic cordova plugin add cordova-plugin-network-information#1.3.1
It really does not matter what plugin it is, because as mentioned it happens for a number of them, they all get the same error. It will work perfectly ok in the morning, and then suddenly it shuts down.
I have tried on multiple computers, on multiple separate internet connections (from the UK), and I even have a script that reruns the commands if they fail, so it will attempt to install around 20 plugins continuously until they get installed for however long I run my script. I ran it for an hour constantly, and not a single one was installed.
I also checked the status of npm and GitHub if they were perhaps down, but they seemed to be up and running as usual...
Any ideas would be greatly appreciated
* Based on my comment which helped the asker, and which I was asked to publish as an answer:*
I don't know ionic at all, but I do have some experience with Cordova and never had any issues installing plugins, even on a corporate network.
Try to install the plugin without ionic.
cordova plugin add my.plugin.name
This error can be caused by an invalid AndroidManifest.xml file. After installing a plugin using ionic corvoda, my AndroidManifest.xml got a syntax error and I had this issue when building the APK.
After fixing the syntax error, the build finished successfully.
I am trying to get stencil set up on a trial store. I have a stencil theme set as default, installed node 4.4.0 as recommended, everything goes fine. Stencil start goes fine. but when I access the site through the browser I get the following error:
Debug: internal, implementation, error
TypeError: Uncaught error: self.assembler.getTranslations is not a function
at Paper.loadTranslations (/Users/oliverharoun/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/node_modules/#bigcommerce/stencil-paper/index.js:137:20)
at /Users/oliverharoun/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/node_modules/#bigcommerce/stencil-paper/index.js:62:18
at /Users/oliverharoun/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/node_modules/async/lib/async.js:718:13
at async.forEachOf.async.eachOf (/Users/oliverharoun/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/node_modules/async/lib/async.js:233:13)
at _parallel (/Users/oliverharoun/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/node_modules/async/lib/async.js:717:9)
at Object.async.parallel (/Users/oliverharoun/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/node_modules/async/lib/async.js:731:9)
at Paper.loadTheme (/Users/oliverharoun/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/node_modules/#bigcommerce/stencil-paper/index.js:60:11)
at respond (/Users/oliverharoun/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/server/plugins/renderer/responses/pencil-response.js:29:15)
at /Users/oliverharoun/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/server/plugins/renderer/renderer.module.js:49:18
at /Users/oliverharoun/.nvm/versions/node/v4.4.0/lib/node_modules/#bigcommerce/stencil-cli/server/plugins/renderer/renderer.module.js:246:24
All is working well for me in Node 4.4.5, but I have encountered these errors in the past. Deleting the node_modules folder and running npm i to do a fresh reinstall usually fixes the problem for me. If trouble persists, you may want to uninstall the global #bigcommerce/stencil-cli package and reinstall.
If you pull down the latest version of Stencil (just deployed in the last couple hours), you should have a fix for this. It was an issue introduced in a previous (recent) release.
I'm trying to compile 0.4.7 for Heroku support, but I can't seem to get ssl support working, which express requires.
I've installed libssl-dev, and even tried to install openssl by hand, but nothing seems to get this working. What do I need to do to get node running?
Waf: Leaving directory `/home/skendall/node/node-v0.4.7/build'
Build failed: -> task failed (err #1):
{task: cxx node_crypto.cc -> node_crypto_4.o}
Use v0.4.9 will resolve this issue.
To get node-v0.4.7, or any other version before node-v0.4.12, working with ubuntu 11.10 will involve modifying the source code of node.
Specifically src/node_crypto.cc, which requires the removal of checks for any ssl methods other than sslv1. this section is roughly located around line 100 in the file.
Once done, follow the usual: ./configure; make; make install
This change was tested and worked with express lib, on ubuntu 11.10 with openssl compiled without sslv2.